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 CC94D104E7 for ; Thu, 22 Aug 2013 08:35:53 +0000 (UTC) Received: (qmail 88104 invoked by uid 500); 22 Aug 2013 08:35:53 -0000 Delivered-To: apmail-hadoop-hdfs-issues-archive@hadoop.apache.org Received: (qmail 87897 invoked by uid 500); 22 Aug 2013 08:35:53 -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 87885 invoked by uid 99); 22 Aug 2013 08:35:52 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 22 Aug 2013 08:35:52 +0000 Date: Thu, 22 Aug 2013 08:35:51 +0000 (UTC) From: "Binglin Chang (JIRA)" To: hdfs-issues@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (HDFS-5125) TestCreateEditsLog#testCanLoadCreatedEditsLog fails on Windows in globStatus 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-5125?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13747364#comment-13747364 ] Binglin Chang commented on HDFS-5125: ------------------------------------- Sorry, after reading more related code, it looks like the convention is: "/C:" should be relative path and "/C:/" should be absolute. globStatus try each component using getFileLinks status without "/" suffix, which leads to the exception thrown. I think this behavior is really confusing in many ways: 1. if "/C:" is relative, which path is it relative to? If it is workingDir, what if working dir is at another drive? For example: "/D:/foo". 2. if "xxx/foo" is absolute, we can no longer assume "xxx" is absolute. Is any reason or benefit of making "/X:" relative? > TestCreateEditsLog#testCanLoadCreatedEditsLog fails on Windows in globStatus > ---------------------------------------------------------------------------- > > Key: HDFS-5125 > URL: https://issues.apache.org/jira/browse/HDFS-5125 > Project: Hadoop HDFS > Issue Type: Bug > Components: test > Affects Versions: 3.0.0, 2.1.1-beta > Reporter: Chris Nauroth > > This test calls the {{CreateEditsLog}} tool, then runs {{globStatus}} on the local file system to find the resulting files before moving them to a directory where a NameNode can start up and read them. The HADOOP-9877 patch has caused this test to start failing on Windows due to internal calls to {{FileContext#getFileLinkStatus}} rejecting the {{Path}} arguments. -- 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