[ https://issues.apache.org/jira/browse/HADOOP-9722?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Chris Nauroth resolved HADOOP-9722. ----------------------------------- Resolution: Fixed Target Version/s: 1-win Hadoop Flags: Reviewed +1 for the patch. I committed this to branch-1-win. Thank you for the contribution, Xi. > Branch-1-win TestNativeIO failed caused by Window incompatible test case > ------------------------------------------------------------------------ > > Key: HADOOP-9722 > URL: https://issues.apache.org/jira/browse/HADOOP-9722 > Project: Hadoop Common > Issue Type: Bug > Components: test > Affects Versions: 1-win > Environment: Windows > Reporter: Xi Fang > Assignee: Xi Fang > Priority: Minor > Fix For: 1-win > > Attachments: HADOOP-9722.patch > > > org.apache.hadoop.io.nativeio.TestNativeIO#testPosixFadvise() failed on > Windows. Here is the error information. > \dev\zero (The system cannot find the path specified) > java.io.FileNotFoundException: \dev\zero (The system cannot find the path > specified) > at java.io.FileInputStream.open(Native Method) > at java.io.FileInputStream.<init>(FileInputStream.java:120) > at java.io.FileInputStream.<init>(FileInputStream.java:79) > at > org.apache.hadoop.io.nativeio.TestNativeIO.testPosixFadvise(TestNativeIO.java:277) > The root cause of this is "/dev/zero" is used and Windows does not have > devices like the unix /dev/zero or /dev/random. -- 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