Return-Path: Delivered-To: apmail-hadoop-common-issues-archive@minotaur.apache.org Received: (qmail 69750 invoked from network); 28 Jan 2011 22:03:07 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 28 Jan 2011 22:03:07 -0000 Received: (qmail 75741 invoked by uid 500); 28 Jan 2011 22:03:06 -0000 Delivered-To: apmail-hadoop-common-issues-archive@hadoop.apache.org Received: (qmail 75618 invoked by uid 500); 28 Jan 2011 22:03:06 -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 75610 invoked by uid 99); 28 Jan 2011 22:03:06 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 28 Jan 2011 22:03:06 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.22] (HELO thor.apache.org) (140.211.11.22) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 28 Jan 2011 22:03:05 +0000 Received: from thor (localhost [127.0.0.1]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id p0SM2jV1027628 for ; Fri, 28 Jan 2011 22:02:45 GMT Message-ID: <2423440.275911296252165383.JavaMail.jira@thor> Date: Fri, 28 Jan 2011 17:02:45 -0500 (EST) From: "Todd Lipcon (JIRA)" To: common-issues@hadoop.apache.org Subject: [jira] Commented: (HADOOP-7126) TestDFSShell fails in trunk In-Reply-To: <16836957.274921296250963786.JavaMail.jira@thor> 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=12988265#action_12988265 ] Todd Lipcon commented on HADOOP-7126: ------------------------------------- I'm not sure why we did getCanonicalPath in the first place, but if there was a good reason for it, shouldn't we do FileUtil.makeShellPath(f.getCanonicalPath()) or something? > 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. - You can reply to this email to add a comment to the issue online.