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

Hudson commented on HDFS-9844:
------------------------------

FAILURE: Integrated in Hadoop-trunk-Commit #9356 (See 
[https://builds.apache.org/job/Hadoop-trunk-Commit/9356/])
HDFS-9844. Correct path creation in getTrashRoot to handle root dir. (zhz: rev 
647a35e996d33d8df898891760305222446b68f5)
* 
hadoop-hdfs-project/hadoop-hdfs-client/src/main/java/org/apache/hadoop/hdfs/DistributedFileSystem.java
* 
hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/TestEncryptionZones.java
* hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt


> Correct path creation in getTrashRoot to handle root dir
> --------------------------------------------------------
>
>                 Key: HDFS-9844
>                 URL: https://issues.apache.org/jira/browse/HDFS-9844
>             Project: Hadoop HDFS
>          Issue Type: Bug
>          Components: encryption
>    Affects Versions: 2.8.0
>            Reporter: Zhe Zhang
>            Assignee: Zhe Zhang
>            Priority: Blocker
>             Fix For: 2.8.0
>
>         Attachments: HDFS-9844.00.patch
>
>
> {code}
>       if ((ez != null)) {
>         return this.makeQualified(
>             new Path(ez.getPath() + "/" + FileSystem.TRASH_PREFIX +
>                 dfs.ugi.getShortUserName()));
> {code}
> This doesn't handle root dir correctly. The unit test {{testRootDirEZTrash}} 
> in the attached patch can reproduce the error.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to