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:19:48 UTC

[jira] [Updated] (HADOOP-9722) Branch-1-win TestNativeIO failed caused by Window incompatible test case

     [ https://issues.apache.org/jira/browse/HADOOP-9722?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Xi Fang updated HADOOP-9722:
----------------------------

    Attachment: HADOOP-9722.patch

A patch was attached. For Windows, we skip test "testPosixFadvise". 
                
> 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