Thomas Graves created HADOOP-8746:
-------------------------------------
Summary: 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
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