Hadoop HDFS
  1. Hadoop HDFS
  2. HDFS-5679

TestCacheDirectives should handle the case where native code is not available

    Details

    • Type: Test Test
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 3.0.0
    • 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.

      1. hdfs-5679-1.patch
        0.7 kB
        Andrew Wang

        Activity

        No work has yet been logged on this issue.

          People

          • Assignee:
            Andrew Wang
            Reporter:
            Ted Yu
          • Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development