[ https://issues.apache.org/jira/browse/HADOOP-8746?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Mit Desai resolved HADOOP-8746. ------------------------------- Resolution: Not a Problem Target Version/s: 2.0.2-alpha, 0.23.3, 3.0.0 (was: 0.23.3, 3.0.0, 2.0.2-alpha) > 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)