Uploaded image for project: 'Hadoop HDFS'
  1. Hadoop HDFS
  2. HDFS-5679

TestCacheDirectives should handle the case where native code is not available

    Details

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

      Description

      TestCacheDirectives fails on trunk due to:

      testBasicPoolOperations(org.apache.hadoop.hdfs.server.namenode.TestCacheDirectives)  Time elapsed: 1.618 sec  <<< ERROR!
      java.lang.RuntimeException: Cannot start datanode because the configured max locked memory size (dfs.datanode.max.locked.memory) is greater than zero and native code is not available.
      

      Configuration of max locked memory size should be dependent on whether native code is available.

        Attachments

          Activity

            People

            • Assignee:
              andrew.wang Andrew Wang
              Reporter:
              yuzhihong@gmail.com Ted Yu
            • Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: