hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HDFS-7948) TestDataNodeHotSwapVolumes#testAddVolumeFailures failed on Windows
Date Thu, 19 Mar 2015 11:35:40 GMT

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

Hudson commented on HDFS-7948:
------------------------------

FAILURE: Integrated in Hadoop-Yarn-trunk-Java8 #137 (See [https://builds.apache.org/job/Hadoop-Yarn-trunk-Java8/137/])
HDFS-7948. TestDataNodeHotSwapVolumes#testAddVolumeFailures failed on Windows. (Contributed
by Xiaoyu Yao) (arp: rev fdd58aa32f3e007b9e8bebe655b4c05e39b63110)
* hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt
* hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/server/datanode/TestDataNodeHotSwapVolumes.java


> TestDataNodeHotSwapVolumes#testAddVolumeFailures failed on Windows
> ------------------------------------------------------------------
>
>                 Key: HDFS-7948
>                 URL: https://issues.apache.org/jira/browse/HDFS-7948
>             Project: Hadoop HDFS
>          Issue Type: Sub-task
>          Components: test
>            Reporter: Xiaoyu Yao
>            Assignee: Xiaoyu Yao
>             Fix For: 2.7.0
>
>         Attachments: HDFS-7948.00.patch
>
>
> The failure below is due to File#getCanonicalPath() does not work with File object created
with URI format (file:/c:/users/xyz/test/data/dfs/data/new_vol1) on Windows. I will post a
fix shortly.
> {code}
> testAddVolumeFailures(org.apache.hadoop.hdfs.server.datanode.TestDataNodeHotSwapVolumes)
 Time elapsed: 5.746 sec  <<< ERROR!
> java.io.IOException: The filename, directory name, or volume label syntax is incorrect
> 	at java.io.WinNTFileSystem.canonicalize0(Native Method)
> 	at java.io.Win32FileSystem.canonicalize(Win32FileSystem.java:414)
> 	at java.io.File.getCanonicalPath(File.java:589)
> 	at org.apache.hadoop.hdfs.server.datanode.TestDataNodeHotSwapVolumes.testAddVolumeFailures(TestDataNodeHotSwapVolumes.java:525)
> {code}



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

Mime
View raw message