[ 
https://issues.apache.org/jira/browse/HDFS-1084?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12987897#action_12987897
 ] 

Konstantin Shvachko commented on HDFS-1084:
-------------------------------------------

We can fix it by using {{FileUtil.makeShellPath(File file, boolean 
makeCanonicalPath)}} here instead of {{getCanonicalPath()}}.
A side note - the entire {{RawLocalFileSystem}} should probably invoke FileUtil 
methods rather than Shell. This would be a larger code cleanup, not for 0.22.

> TestDFSShell fails in trunk.
> ----------------------------
>
>                 Key: HDFS-1084
>                 URL: https://issues.apache.org/jira/browse/HDFS-1084
>             Project: Hadoop HDFS
>          Issue Type: Bug
>          Components: test
>    Affects Versions: 0.22.0
>            Reporter: Konstantin Shvachko
>            Assignee: Po Cheung
>            Priority: Blocker
>             Fix For: 0.22.0
>
>
> {{TestDFSShell.testFilePermissions()}} fails on an assert attached below. I 
> see it on my Linux box. Don't see it failing with Hudson, and the same test 
> runs fine in 0.21 branch.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to