Return-Path: Delivered-To: apmail-hadoop-common-issues-archive@minotaur.apache.org Received: (qmail 67814 invoked from network); 1 Feb 2011 01:34:51 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 1 Feb 2011 01:34:51 -0000 Received: (qmail 51986 invoked by uid 500); 1 Feb 2011 01:34:51 -0000 Delivered-To: apmail-hadoop-common-issues-archive@hadoop.apache.org Received: (qmail 51878 invoked by uid 500); 1 Feb 2011 01:34:50 -0000 Mailing-List: contact common-issues-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: common-issues@hadoop.apache.org Delivered-To: mailing list common-issues@hadoop.apache.org Received: (qmail 51870 invoked by uid 99); 1 Feb 2011 01:34:50 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 01 Feb 2011 01:34:50 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 01 Feb 2011 01:34:49 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 4A013184B2B for ; Tue, 1 Feb 2011 01:34:29 +0000 (UTC) Date: Tue, 1 Feb 2011 01:34:28 +0000 (UTC) From: "Konstantin Shvachko (JIRA)" To: common-issues@hadoop.apache.org Message-ID: <1681309928.1178.1296524069000.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <16836957.274921296250963786.JavaMail.jira@thor> Subject: [jira] Commented: (HADOOP-7126) TestDFSShell fails in trunk 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/HADOOP-7126?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12988988#comment-12988988 ] Konstantin Shvachko commented on HADOOP-7126: --------------------------------------------- > FileUtil.makeShellPath(f.getCanonicalPath()) or something? Yes makeShellPath(f, true) does exactly that. +1 Looks good to me. > TestDFSShell fails in trunk > --------------------------- > > Key: HADOOP-7126 > URL: https://issues.apache.org/jira/browse/HADOOP-7126 > Project: Hadoop Common > Issue Type: Bug > Affects Versions: 0.22.0 > Environment: Windows > Reporter: Po Cheung > Assignee: Po Cheung > Fix For: 0.22.0 > > Attachments: common-7126-trunk.patch > > > TestDFSShell.testFilePermissions() fails on an assert in Windows. This originated from HDFS-1084 but the fix is in Common. > {noformat} > junit.framework.ComparisonFailure: null expected: but was: > at junit.framework.Assert.assertEquals(Assert.java:81) > at junit.framework.Assert.assertEquals(Assert.java:87) > at org.apache.hadoop.hdfs.TestDFSShell.confirmPermissionChange(TestDFSShell.java:836) > at org.apache.hadoop.hdfs.TestDFSShell.testChmod(TestDFSShell.java:777) > at org.apache.hadoop.hdfs.TestDFSShell.testFilePermissions(TestDFSShell.java:856) > {noformat} -- This message is automatically generated by JIRA. - For more information on JIRA, see: http://www.atlassian.com/software/jira