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

    • Type: Sub-task
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.0.0-alpha1
    • Fix Version/s: 2.3.0
    • Component/s: datanode
    • Labels:
      None
    • Target Version/s:

      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.001.patch
          24 kB
          Colin P. McCabe
        2. HDFS-5511.002.patch
          27 kB
          Colin P. McCabe

          Activity

            People

            • Assignee:
              cmccabe Colin P. McCabe
              Reporter:
              cmccabe Colin P. McCabe
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: