Return-Path: Delivered-To: apmail-hadoop-core-dev-archive@www.apache.org Received: (qmail 254 invoked from network); 28 Mar 2008 18:06:40 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 28 Mar 2008 18:06:40 -0000 Received: (qmail 58026 invoked by uid 500); 28 Mar 2008 18:06:38 -0000 Delivered-To: apmail-hadoop-core-dev-archive@hadoop.apache.org Received: (qmail 58003 invoked by uid 500); 28 Mar 2008 18:06:38 -0000 Mailing-List: contact core-dev-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: core-dev@hadoop.apache.org Delivered-To: mailing list core-dev@hadoop.apache.org Received: (qmail 57993 invoked by uid 99); 28 Mar 2008 18:06:38 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 28 Mar 2008 11:06:38 -0700 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 28 Mar 2008 18:06:06 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id B9882234C0B1 for ; Fri, 28 Mar 2008 11:04:24 -0700 (PDT) Message-ID: <603347974.1206727464759.JavaMail.jira@brutus> Date: Fri, 28 Mar 2008 11:04:24 -0700 (PDT) From: "Chris Douglas (JIRA)" To: core-dev@hadoop.apache.org Subject: [jira] Updated: (HADOOP-3114) TestDFSShell fails on Windows. In-Reply-To: <95373779.1206660384273.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/HADOOP-3114?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Chris Douglas updated HADOOP-3114: ---------------------------------- Resolution: Fixed Assignee: lohit vijayarenu Status: Resolved (was: Patch Available) I just committed this. Thanks, Lohit! > TestDFSShell fails on Windows. > ------------------------------ > > Key: HADOOP-3114 > URL: https://issues.apache.org/jira/browse/HADOOP-3114 > Project: Hadoop Core > Issue Type: Bug > Components: dfs, fs > Affects Versions: 0.17.0 > Environment: Windows > Reporter: Konstantin Shvachko > Assignee: lohit vijayarenu > Fix For: 0.17.0 > > Attachments: HADOOP-3114-1.patch > > > TestDFSShell.testPut() fails with the following exception: > {code} > Pathname /C:/Hadoop/build/test/data/f1 from C:/Hadoop/build/test/data/f1 is not a valid DFS filename. > java.lang.IllegalArgumentException: Pathname /C:/Hadoop/build/test/data/f1 from C:/Hadoop/build/test/data/f1 is not a valid DFS filename. > at org.apache.hadoop.dfs.DistributedFileSystem.getPathName(DistributedFileSystem.java:112) > at org.apache.hadoop.dfs.DistributedFileSystem.exists(DistributedFileSystem.java:184) > at org.apache.hadoop.dfs.TestDFSShell.testPut(TestDFSShell.java:214) > {code} > Looks like that Path treats windows drive letter incorrectly. > Not sure which path introduced it, but needs to be fixed for 0.17 imo. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.