You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-issues@hadoop.apache.org by "Akira AJISAKA (JIRA)" <ji...@apache.org> on 2014/03/05 19:42:44 UTC

[jira] [Updated] (HDFS-6059) TestBlockReaderLocal fails if native library is not available

     [ 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)