[ 
https://issues.apache.org/jira/browse/HDFS-6059?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Akira AJISAKA updated HDFS-6059:
--------------------------------

    Attachment: HDFS-6059.patch

Attaching a patch.

> TestBlockReaderLocal fails if native library is not available
> -------------------------------------------------------------
>
>                 Key: HDFS-6059
>                 URL: https://issues.apache.org/jira/browse/HDFS-6059
>             Project: Hadoop HDFS
>          Issue Type: Bug
>    Affects Versions: 3.0.0
>            Reporter: Akira AJISAKA
>            Assignee: Akira AJISAKA
>              Labels: newbie
>         Attachments: HDFS-6059.patch
>
>
> I ran TestBlockReaderLocal locally and it failed.
> {code}
> -------------------------------------------------------
>  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)
> {code}



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to