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 "Steve Loughran (JIRA)" <ji...@apache.org> on 2017/03/19 15:20:41 UTC

[jira] [Commented] (HADOOP-14199) TestFsShellList.testList fails on windows: illegal filenames

    [ https://issues.apache.org/jira/browse/HADOOP-14199?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15931736#comment-15931736 ] 

Steve Loughran commented on HADOOP-14199:
-----------------------------------------

Stack trace. This is on the line 
{code}
    createFile(new Path(testRootDir, "abc\bd\tef"));
{code}
; we'll have to assume that the names in the path are not valid on NTFS.


{code}
TestFsShellListtestList(org.apache.hadoop.fs.TestFsShellList)  Time elapsed: 0.095 sec  <<< ERROR!org.apache.hadoop.io.nativeio.NativeIOException: The filename, directory name, or volume label syntax is incorrect.
        at org.apache.hadoop.io.nativeio.NativeIO$Windows.createFileWithMode0(Native Method)
        at org.apache.hadoop.io.nativeio.NativeIO$Windows.createFileOutputStreamWithMode(NativeIO.java:556)
        at org.apache.hadoop.fs.RawLocalFileSystem$LocalFSFileOutputStream.<init>(RawLocalFileSystem.java:231)
        at org.apache.hadoop.fs.RawLocalFileSystem$LocalFSFileOutputStream.<init>(RawLocalFileSystem.java:221)
        at org.apache.hadoop.fs.RawLocalFileSystem.createOutputStreamWithMode(RawLocalFileSystem.java:319)
        at org.apache.hadoop.fs.RawLocalFileSystem.create(RawLocalFileSystem.java:308)
        at org.apache.hadoop.fs.RawLocalFileSystem.create(RawLocalFileSystem.java:339)
        at org.apache.hadoop.fs.ChecksumFileSystem$ChecksumFSOutputSummer.<init>(ChecksumFileSystem.java:399)
        at org.apache.hadoop.fs.ChecksumFileSystem.create(ChecksumFileSystem.java:462)
        at org.apache.hadoop.fs.ChecksumFileSystem.create(ChecksumFileSystem.java:441)
        at org.apache.hadoop.fs.FileSystem.create(FileSystem.java:928)
        at org.apache.hadoop.fs.FileSystem.create(FileSystem.java:909)
        at org.apache.hadoop.fs.FileSystem.create(FileSystem.java:806)
        at org.apache.hadoop.fs.FileSystem.create(FileSystem.java:795)
        at org.apache.hadoop.fs.TestFsShellList.createFile(TestFsShellList.java:57)
        at org.apache.hadoop.fs.TestFsShellList.testList(TestFsShellList.java:69)
{code}



> TestFsShellList.testList fails on windows: illegal filenames
> ------------------------------------------------------------
>
>                 Key: HADOOP-14199
>                 URL: https://issues.apache.org/jira/browse/HADOOP-14199
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: test
>    Affects Versions: 2.8.0
>         Environment: win64
>            Reporter: Steve Loughran
>            Priority: Minor
>
> {{TestFsShellList.testList}} fails setting up the files to test against
> {code}
> org.apache.hadoop.io.nativeio.NativeIOException: The filename, directory name, or volume label syntax is incorrect.
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

---------------------------------------------------------------------
To unsubscribe, e-mail: common-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-issues-help@hadoop.apache.org