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

        Vinod Kumar Vavilapalli made changes -
        Status Resolved [ 5 ] Closed [ 6 ]
        Allen Wittenauer made changes -
        Fix Version/s 2.3.0 [ 12325255 ]
        Fix Version/s 3.0.0 [ 12320356 ]
        Andrew Wang made changes -
        Status Patch Available [ 10002 ] Resolved [ 5 ]
        Fix Version/s 3.0.0 [ 12320356 ]
        Resolution Fixed [ 1 ]
        Andrew Wang made changes -
        Labels caching
        Andrew Wang made changes -
        Status Open [ 1 ] Patch Available [ 10002 ]
        Affects Version/s 3.0.0 [ 12320356 ]
        Andrew Wang made changes -
        Attachment hdfs-5679-1.patch [ 12619656 ]
        Andrew Wang made changes -
        Field Original Value New Value
        Assignee Andrew Wang [ andrew.wang ]
        Ted Yu created 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