You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-issues@hadoop.apache.org by "Xi Fang (JIRA)" <ji...@apache.org> on 2013/07/11 02:17:48 UTC
[jira] [Created] (HADOOP-9722) Branch-1-win TestNativeIO failed
caused by Window incompatible test case
Xi Fang created HADOOP-9722:
-------------------------------
Summary: 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
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