hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Arpit Agarwal (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HDFS-7514) TestTextCommand fails on Windows
Date Fri, 12 Dec 2014 22:31:14 GMT

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

Arpit Agarwal updated HDFS-7514:
--------------------------------
          Resolution: Fixed
       Fix Version/s: 2.7.0
    Target Version/s:   (was: 2.6.1)
              Status: Resolved  (was: Patch Available)

Thank you for the review and verification Chris!

Committed to trunk and branch-2.

> TestTextCommand fails on Windows
> --------------------------------
>
>                 Key: HDFS-7514
>                 URL: https://issues.apache.org/jira/browse/HDFS-7514
>             Project: Hadoop HDFS
>          Issue Type: Bug
>          Components: test
>    Affects Versions: 2.6.0
>            Reporter: Arpit Agarwal
>            Assignee: Arpit Agarwal
>             Fix For: 2.7.0
>
>         Attachments: HDFS-7514.branch-2.01.patch, HDFS-7514.trunk.01.patch
>
>
> TestTextCommand fails on Windows
> *Error Message*
> {code}
> Pathname /D:/w/hbk/hadoop-hdfs-project/hadoop-hdfs/target/test/data/testText/weather.avro
from D:/w/hbk/hadoop-hdfs-project/hadoop-hdfs/target/test/data/testText/weather.avro is not
a valid DFS filename.
> {code}
> *Stacktrace*
> {code}
> java.lang.IllegalArgumentException: Pathname /D:/w/hbk/hadoop-hdfs-project/hadoop-hdfs/target/test/data/testText/weather.avro
from D:/w/hbk/hadoop-hdfs-project/hadoop-hdfs/target/test/data/testText/weather.avro is not
a valid DFS filename.
> 	at org.apache.hadoop.hdfs.DistributedFileSystem.getPathName(DistributedFileSystem.java:196)
> 	at org.apache.hadoop.hdfs.DistributedFileSystem.access$000(DistributedFileSystem.java:105)
> 	at org.apache.hadoop.hdfs.DistributedFileSystem$6.doCall(DistributedFileSystem.java:397)
> 	at org.apache.hadoop.hdfs.DistributedFileSystem$6.doCall(DistributedFileSystem.java:393)
> 	at org.apache.hadoop.fs.FileSystemLinkResolver.resolve(FileSystemLinkResolver.java:81)
> 	at org.apache.hadoop.hdfs.DistributedFileSystem.create(DistributedFileSystem.java:393)
> 	at org.apache.hadoop.hdfs.DistributedFileSystem.create(DistributedFileSystem.java:337)
> 	at org.apache.hadoop.fs.FileSystem.create(FileSystem.java:908)
> 	at org.apache.hadoop.fs.FileSystem.create(FileSystem.java:889)
> 	at org.apache.hadoop.fs.FileSystem.create(FileSystem.java:786)
> 	at org.apache.hadoop.fs.FileSystem.create(FileSystem.java:775)
> 	at org.apache.hadoop.fs.shell.TestTextCommand.createAvroFile(TestTextCommand.java:113)
> 	at org.apache.hadoop.fs.shell.TestTextCommand.testDisplayForAvroFiles(TestTextCommand.java:76)
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message