Hadoop HDFS
  1. Hadoop HDFS
  2. HDFS-6059

TestBlockReaderLocal fails if native library is not available

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 3.0.0
    • Fix Version/s: 2.4.0
    • Component/s: None
    • Labels:
    • Target Version/s:

      Description

      I ran TestBlockReaderLocal locally and it failed.

      -------------------------------------------------------
       T E S T S
      -------------------------------------------------------
      Running org.apache.hadoop.hdfs.TestBlockReaderLocal
      Tests run: 37, Failures: 0, Errors: 35, Skipped: 2, Time elapsed: 77.261 sec <<< FAILURE! - in org.apache.hadoop.hdfs.TestBlockReaderLocal
      testBlockReaderLocalImmediateClose(org.apache.hadoop.hdfs.TestBlockReaderLocal)  Time elapsed: 51.562 sec  <<< ERROR!
      java.lang.UnsupportedOperationException: NativeIO is not available.
              at org.apache.hadoop.hdfs.ShortCircuitShm.<init>(ShortCircuitShm.java:461)
              at org.apache.hadoop.hdfs.TestBlockReaderLocal.runBlockReaderLocalTest(TestBlockReaderLocal.java:181)
              at org.apache.hadoop.hdfs.TestBlockReaderLocal.testBlockReaderLocalImmediateClose(TestBlockReaderLocal.java:218)
      
      1. HDFS-6059.2.patch
        1 kB
        Akira AJISAKA
      2. HDFS-6059.patch
        1 kB
        Akira AJISAKA

        Issue Links

          Activity

            People

            • Assignee:
              Akira AJISAKA
              Reporter:
              Akira AJISAKA
            • Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development