hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Konstantin Shvachko (JIRA)" <j...@apache.org>
Subject [jira] Commented: (HADOOP-7126) TestDFSShell fails in trunk
Date Tue, 01 Feb 2011 01:34:28 GMT

    [ 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:<rwxr[w----]> but was:<rwxr[-xr-x]>
> 	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

        

Mime
View raw message