hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Todd Lipcon (JIRA)" <j...@apache.org>
Subject [jira] Commented: (HADOOP-7126) TestDFSShell fails in trunk
Date Fri, 28 Jan 2011 22:02:45 GMT

    [ 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:<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.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message