[ 
https://issues.apache.org/jira/browse/HADOOP-8746?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13966471#comment-13966471
 ] 

Thomas Graves commented on HADOOP-8746:
---------------------------------------

If you are seeing the failure on 2.5 go ahead and move it.  Otherwise go ahead 
and close it.

> TestNativeIO fails when run with jdk7
> -------------------------------------
>
>                 Key: HADOOP-8746
>                 URL: https://issues.apache.org/jira/browse/HADOOP-8746
>             Project: Hadoop Common
>          Issue Type: Bug
>    Affects Versions: 0.23.3, 2.0.2-alpha
>            Reporter: Thomas Graves
>            Assignee: Thomas Graves
>              Labels: java7
>
> TestNativeIo fails when run with jdk7.
> Test set: org.apache.hadoop.io.nativeio.TestNativeIO
> -------------------------------------------------------------------------------
> Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.232 sec <<< 
> FAILURE!
> testSyncFileRange(org.apache.hadoop.io.nativeio.TestNativeIO)  Time elapsed: 
> 0.166 sec  <<< ERROR!
> EINVAL: Invalid argument
>         at org.apache.hadoop.io.nativeio.NativeIO.sync_file_range(Native 
> Method)
>         at 
> org.apache.hadoop.io.nativeio.TestNativeIO.testSyncFileRange(TestNativeIO.java:254)
>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>         at 
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
>         at 
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>         at java.lang.reflect.Method.invoke(Method.java:601)



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

Reply via email to