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

TestBlockReaderLocal fails if native library is not available

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 3.0.0-alpha1
    • 2.4.0
    • None

    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)
      

      Attachments

        1. HDFS-6059.2.patch
          1 kB
          Akira Ajisaka
        2. HDFS-6059.patch
          1 kB
          Akira Ajisaka

        Issue Links

          Activity

            People

              aajisaka Akira Ajisaka
              aajisaka Akira Ajisaka
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: