Uploaded image for project: 'Hadoop HDFS'
  1. Hadoop HDFS
  2. HDFS-4949 Centralized cache management in HDFS
  3. HDFS-5511

improve CacheManipulator interface to allow better unit testing

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 3.0.0-alpha1
    • 2.3.0
    • datanode
    • None

    Description

      The CacheManipulator interface has been helpful in allowing us to stub out mlock in cases where we don't want to test it. We should move the getMemlockLimit and getOperatingSystemPageSize functions into this interface as well so that we don't have to skip these tests on machines where these methods would ordinarily not work for us.

      Attachments

        1. HDFS-5511.002.patch
          27 kB
          Colin McCabe
        2. HDFS-5511.001.patch
          24 kB
          Colin McCabe

        Activity

          People

            cmccabe Colin McCabe
            cmccabe Colin McCabe
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: