Return-Path: X-Original-To: apmail-hadoop-hdfs-issues-archive@minotaur.apache.org Delivered-To: apmail-hadoop-hdfs-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 0D9A817BC1 for ; Wed, 18 Mar 2015 19:27:39 +0000 (UTC) Received: (qmail 92204 invoked by uid 500); 18 Mar 2015 19:27:38 -0000 Delivered-To: apmail-hadoop-hdfs-issues-archive@hadoop.apache.org Received: (qmail 92147 invoked by uid 500); 18 Mar 2015 19:27:38 -0000 Mailing-List: contact hdfs-issues-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: hdfs-issues@hadoop.apache.org Delivered-To: mailing list hdfs-issues@hadoop.apache.org Received: (qmail 92134 invoked by uid 99); 18 Mar 2015 19:27:38 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 18 Mar 2015 19:27:38 +0000 Date: Wed, 18 Mar 2015 19:27:38 +0000 (UTC) From: "Arpit Agarwal (JIRA)" To: hdfs-issues@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (HDFS-7948) TestDataNodeHotSwapVolumes#testAddVolumeFailures failed on Windows MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/HDFS-7948?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Arpit Agarwal updated HDFS-7948: -------------------------------- Resolution: Fixed Fix Version/s: 2.7.0 Hadoop Flags: Reviewed Status: Resolved (was: Patch Available) Committed to trunk through branch-2.7. Thanks for the contribution [~xyao]. > 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)