[
https://issues.apache.org/jira/browse/HADOOP-8746?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13444446#comment-13444446
]
Todd Lipcon commented on HADOOP-8746:
-------------------------------------
You sure this is JDK-specific and not OS-specific? Can you take a look at
HADOOP-7824 and let me know if that fixes 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.2.0-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 is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira