[jira] [Updated] (HDFS-10883) `getTrashRoot`'s behavior is not consistent in DFS after enabling EZ.
[ https://issues.apache.org/jira/browse/HDFS-10883?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Xiao Chen updated HDFS-10883: - Hadoop Flags: Reviewed > `getTrashRoot`'s behavior is not consistent in DFS after enabling EZ. > - > > Key: HDFS-10883 > URL: https://issues.apache.org/jira/browse/HDFS-10883 > Project: Hadoop HDFS > Issue Type: Bug >Reporter: Yuanbo Liu >Assignee: Yuanbo Liu > Fix For: 2.8.0, 3.0.0-alpha2 > > Attachments: HDFS-10883-test-case.txt, HDFS-10883.001.patch, > HDFS-10883.002.patch, HDFS-10883.003.patch, HDFS-10883.004.patch > > > Let's say root path ("/") is the encryption zone, and there is a file called > "/test" in root path. > {code} > dfs.getTrashRoot(new Path("/")) > {code} > returns "/user/$USER/.Trash", > while > {code} > dfs.getTrashRoot(new Path("/test")) > {code} > returns "/.Trash/$USER". > The first behavior is not correct. Since root path is the encryption zone, > it's more reasonable to return "/.Trash/$USER" no matter what the path is. -- This message was sent by Atlassian JIRA (v6.3.4#6332) - To unsubscribe, e-mail: hdfs-issues-unsubscr...@hadoop.apache.org For additional commands, e-mail: hdfs-issues-h...@hadoop.apache.org
[jira] [Updated] (HDFS-10883) `getTrashRoot`'s behavior is not consistent in DFS after enabling EZ.
[ https://issues.apache.org/jira/browse/HDFS-10883?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Yuanbo Liu updated HDFS-10883: -- Release Note: If root path / is an encryption zone, the old DistributedFileSystem#getTrashRoot(new Path("/")) returns /user/$USER/.Trash which is a wrong behavior. The correct value should be /.Trash/$USER was: If root path **/** is an encryption zone, the old **DistributedFileSystem#getTrashRoot(new Path("/"))** returns ``` /user/$USER/.Trash ``` which is a wrong behavior. The correct value should be ``` /.Trash/$USER ``` > `getTrashRoot`'s behavior is not consistent in DFS after enabling EZ. > - > > Key: HDFS-10883 > URL: https://issues.apache.org/jira/browse/HDFS-10883 > Project: Hadoop HDFS > Issue Type: Bug >Reporter: Yuanbo Liu >Assignee: Yuanbo Liu > Fix For: 2.8.0, 3.0.0-alpha2 > > Attachments: HDFS-10883-test-case.txt, HDFS-10883.001.patch, > HDFS-10883.002.patch, HDFS-10883.003.patch, HDFS-10883.004.patch > > > Let's say root path ("/") is the encryption zone, and there is a file called > "/test" in root path. > {code} > dfs.getTrashRoot(new Path("/")) > {code} > returns "/user/$USER/.Trash", > while > {code} > dfs.getTrashRoot(new Path("/test")) > {code} > returns "/.Trash/$USER". > The first behavior is not correct. Since root path is the encryption zone, > it's more reasonable to return "/.Trash/$USER" no matter what the path is. -- This message was sent by Atlassian JIRA (v6.3.4#6332) - To unsubscribe, e-mail: hdfs-issues-unsubscr...@hadoop.apache.org For additional commands, e-mail: hdfs-issues-h...@hadoop.apache.org
[jira] [Updated] (HDFS-10883) `getTrashRoot`'s behavior is not consistent in DFS after enabling EZ.
[ https://issues.apache.org/jira/browse/HDFS-10883?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Yuanbo Liu updated HDFS-10883: -- Release Note: If root path **/** is an encryption zone, the old **DistributedFileSystem#getTrashRoot(new Path("/"))** returns ``` /user/$USER/.Trash ``` which is a wrong behavior. The correct value should be ``` /.Trash/$USER ``` was: If root path / is an encryption zone, the old DistributedFileSystem#getTrashRoot(new Path("/")) returns /user/$USER/.Trash which is a wrong behavior. The correct value should be /.Trash/$USER > `getTrashRoot`'s behavior is not consistent in DFS after enabling EZ. > - > > Key: HDFS-10883 > URL: https://issues.apache.org/jira/browse/HDFS-10883 > Project: Hadoop HDFS > Issue Type: Bug >Reporter: Yuanbo Liu >Assignee: Yuanbo Liu > Fix For: 2.8.0, 3.0.0-alpha2 > > Attachments: HDFS-10883-test-case.txt, HDFS-10883.001.patch, > HDFS-10883.002.patch, HDFS-10883.003.patch, HDFS-10883.004.patch > > > Let's say root path ("/") is the encryption zone, and there is a file called > "/test" in root path. > {code} > dfs.getTrashRoot(new Path("/")) > {code} > returns "/user/$USER/.Trash", > while > {code} > dfs.getTrashRoot(new Path("/test")) > {code} > returns "/.Trash/$USER". > The first behavior is not correct. Since root path is the encryption zone, > it's more reasonable to return "/.Trash/$USER" no matter what the path is. -- This message was sent by Atlassian JIRA (v6.3.4#6332) - To unsubscribe, e-mail: hdfs-issues-unsubscr...@hadoop.apache.org For additional commands, e-mail: hdfs-issues-h...@hadoop.apache.org
[jira] [Updated] (HDFS-10883) `getTrashRoot`'s behavior is not consistent in DFS after enabling EZ.
[ https://issues.apache.org/jira/browse/HDFS-10883?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Yuanbo Liu updated HDFS-10883: -- Description: Let's say root path ("/") is the encryption zone, and there is a file called "/test" in root path. {code} dfs.getTrashRoot(new Path("/")) {code} returns "/user/$USER/.Trash", while {code} dfs.getTrashRoot(new Path("/test")) {code} returns "/.Trash/$USER". The first behavior is not correct. Since root path is the encryption zone, it's more reasonable to return "/.Trash/$USER" no matter what the path is. was: Let's say root path ("/") is the encryption zone, and there is a file called "/test" in root path. {code} dfs.getTrashRoot(new Path("/")) {code} returns "/user/$USER/.Trash", while {code} dfs.getTrashRoot(new Path("/test")) {code} returns "/.Trash/$USER". The second behavior is not correct. Since root path is the encryption zone, which means all files/directories in DFS are encrypted, it's more reasonable to return "/.Trash/$USER" no matter what the path is. > `getTrashRoot`'s behavior is not consistent in DFS after enabling EZ. > - > > Key: HDFS-10883 > URL: https://issues.apache.org/jira/browse/HDFS-10883 > Project: Hadoop HDFS > Issue Type: Bug >Reporter: Yuanbo Liu >Assignee: Yuanbo Liu > Fix For: 2.8.0, 3.0.0-alpha2 > > Attachments: HDFS-10883-test-case.txt, HDFS-10883.001.patch, > HDFS-10883.002.patch, HDFS-10883.003.patch, HDFS-10883.004.patch > > > Let's say root path ("/") is the encryption zone, and there is a file called > "/test" in root path. > {code} > dfs.getTrashRoot(new Path("/")) > {code} > returns "/user/$USER/.Trash", > while > {code} > dfs.getTrashRoot(new Path("/test")) > {code} > returns "/.Trash/$USER". > The first behavior is not correct. Since root path is the encryption zone, > it's more reasonable to return "/.Trash/$USER" no matter what the path is. -- This message was sent by Atlassian JIRA (v6.3.4#6332) - To unsubscribe, e-mail: hdfs-issues-unsubscr...@hadoop.apache.org For additional commands, e-mail: hdfs-issues-h...@hadoop.apache.org
[jira] [Updated] (HDFS-10883) `getTrashRoot`'s behavior is not consistent in DFS after enabling EZ.
[ https://issues.apache.org/jira/browse/HDFS-10883?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Yuanbo Liu updated HDFS-10883: -- Release Note: If root path / is an encryption zone, the old DistributedFileSystem#getTrashRoot(new Path("/")) returns /user/$USER/.Trash which is a wrong behavior. The correct value should be /.Trash/$USER was: If root path {{/}} is an encryption zone, the old {{DistributedFileSystem#getTrashRoot(new Path("/"))}} returns {code} /user/$USER/.Trash {code} which is a wrong behavior. The correct value should be {code} /.Trash/$USER {code} > `getTrashRoot`'s behavior is not consistent in DFS after enabling EZ. > - > > Key: HDFS-10883 > URL: https://issues.apache.org/jira/browse/HDFS-10883 > Project: Hadoop HDFS > Issue Type: Bug >Reporter: Yuanbo Liu >Assignee: Yuanbo Liu > Fix For: 2.8.0, 3.0.0-alpha2 > > Attachments: HDFS-10883-test-case.txt, HDFS-10883.001.patch, > HDFS-10883.002.patch, HDFS-10883.003.patch, HDFS-10883.004.patch > > > Let's say root path ("/") is the encryption zone, and there is a file called > "/test" in root path. > {code} > dfs.getTrashRoot(new Path("/")) > {code} > returns "/user/$USER/.Trash", > while > {code} > dfs.getTrashRoot(new Path("/test")) > {code} > returns "/.Trash/$USER". > The second behavior is not correct. Since root path is the encryption zone, > which means all files/directories in DFS are encrypted, it's more reasonable > to return "/.Trash/$USER" no matter what the path is. -- This message was sent by Atlassian JIRA (v6.3.4#6332) - To unsubscribe, e-mail: hdfs-issues-unsubscr...@hadoop.apache.org For additional commands, e-mail: hdfs-issues-h...@hadoop.apache.org
[jira] [Updated] (HDFS-10883) `getTrashRoot`'s behavior is not consistent in DFS after enabling EZ.
[ https://issues.apache.org/jira/browse/HDFS-10883?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Yuanbo Liu updated HDFS-10883: -- Release Note: If root path {{/}} is an encryption zone, the old {{DistributedFileSystem#getTrashRoot(new Path("/"))}} returns {code} /user/$USER/.Trash {code} which is a wrong behavior. The correct value should be {code} /.Trash/$USER {code} Description: Let's say root path ("/") is the encryption zone, and there is a file called "/test" in root path. {code} dfs.getTrashRoot(new Path("/")) {code} returns "/user/$USER/.Trash", while {code} dfs.getTrashRoot(new Path("/test")) {code} returns "/.Trash/$USER". The second behavior is not correct. Since root path is the encryption zone, which means all files/directories in DFS are encrypted, it's more reasonable to return "/.Trash/$USER" no matter what the path is. was: release note: If root path {{/}} is an encryption zone, the old {{DistributedFileSystem#getTrashRoot}} returns {code} /user/$USER/.Trash {code} which is a wrong behavior. The correct value should be {code} /.Trash/$USER {code} > `getTrashRoot`'s behavior is not consistent in DFS after enabling EZ. > - > > Key: HDFS-10883 > URL: https://issues.apache.org/jira/browse/HDFS-10883 > Project: Hadoop HDFS > Issue Type: Bug >Reporter: Yuanbo Liu >Assignee: Yuanbo Liu > Fix For: 2.8.0, 3.0.0-alpha2 > > Attachments: HDFS-10883-test-case.txt, HDFS-10883.001.patch, > HDFS-10883.002.patch, HDFS-10883.003.patch, HDFS-10883.004.patch > > > Let's say root path ("/") is the encryption zone, and there is a file called > "/test" in root path. > {code} > dfs.getTrashRoot(new Path("/")) > {code} > returns "/user/$USER/.Trash", > while > {code} > dfs.getTrashRoot(new Path("/test")) > {code} > returns "/.Trash/$USER". > The second behavior is not correct. Since root path is the encryption zone, > which means all files/directories in DFS are encrypted, it's more reasonable > to return "/.Trash/$USER" no matter what the path is. -- This message was sent by Atlassian JIRA (v6.3.4#6332) - To unsubscribe, e-mail: hdfs-issues-unsubscr...@hadoop.apache.org For additional commands, e-mail: hdfs-issues-h...@hadoop.apache.org
[jira] [Updated] (HDFS-10883) `getTrashRoot`'s behavior is not consistent in DFS after enabling EZ.
[ https://issues.apache.org/jira/browse/HDFS-10883?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Yuanbo Liu updated HDFS-10883: -- Description: release note: If root path {{/}} is an encryption zone, the old {{DistributedFileSystem#getTrashRoot}} returns {code} /user/$USER/.Trash {code} which is a wrong behavior. The correct value should be {code} /.Trash/$USER {code} was: Let's say root path ("/") is the encryption zone, and there is a file called "/test" in root path. {code} dfs.getTrashRoot(new Path("/")) {code} returns "/user/$USER/.Trash", while {code} dfs.getTrashRoot(new Path("/test")) {code} returns "/.Trash/$USER". Please see the attachment to know how to reproduce this issue. release note: If root path {{/}} is an encryption zone, > `getTrashRoot`'s behavior is not consistent in DFS after enabling EZ. > - > > Key: HDFS-10883 > URL: https://issues.apache.org/jira/browse/HDFS-10883 > Project: Hadoop HDFS > Issue Type: Bug >Reporter: Yuanbo Liu >Assignee: Yuanbo Liu > Fix For: 2.8.0, 3.0.0-alpha2 > > Attachments: HDFS-10883-test-case.txt, HDFS-10883.001.patch, > HDFS-10883.002.patch, HDFS-10883.003.patch, HDFS-10883.004.patch > > > release note: > If root path {{/}} is an encryption zone, the old > {{DistributedFileSystem#getTrashRoot}} returns > {code} > /user/$USER/.Trash > {code} > which is a wrong behavior. > The correct value should be > {code} > /.Trash/$USER > {code} -- This message was sent by Atlassian JIRA (v6.3.4#6332) - To unsubscribe, e-mail: hdfs-issues-unsubscr...@hadoop.apache.org For additional commands, e-mail: hdfs-issues-h...@hadoop.apache.org
[jira] [Updated] (HDFS-10883) `getTrashRoot`'s behavior is not consistent in DFS after enabling EZ.
[ https://issues.apache.org/jira/browse/HDFS-10883?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Yuanbo Liu updated HDFS-10883: -- Description: Let's say root path ("/") is the encryption zone, and there is a file called "/test" in root path. {code} dfs.getTrashRoot(new Path("/")) {code} returns "/user/$USER/.Trash", while {code} dfs.getTrashRoot(new Path("/test")) {code} returns "/.Trash/$USER". Please see the attachment to know how to reproduce this issue. release note: If root path {{/}} is an encryption zone, was: Let's say root path ("/") is the encryption zone, and there is a file called "/test" in root path. {code} dfs.getTrashRoot(new Path("/")) {code} returns "/user/$USER/.Trash", while {code} dfs.getTrashRoot(new Path("/test")) {code} returns "/.Trash/$USER". Please see the attachment to know how to reproduce this issue. > `getTrashRoot`'s behavior is not consistent in DFS after enabling EZ. > - > > Key: HDFS-10883 > URL: https://issues.apache.org/jira/browse/HDFS-10883 > Project: Hadoop HDFS > Issue Type: Bug >Reporter: Yuanbo Liu >Assignee: Yuanbo Liu > Fix For: 2.8.0, 3.0.0-alpha2 > > Attachments: HDFS-10883-test-case.txt, HDFS-10883.001.patch, > HDFS-10883.002.patch, HDFS-10883.003.patch, HDFS-10883.004.patch > > > Let's say root path ("/") is the encryption zone, and there is a file called > "/test" in root path. > {code} > dfs.getTrashRoot(new Path("/")) > {code} > returns "/user/$USER/.Trash", > while > {code} > dfs.getTrashRoot(new Path("/test")) > {code} > returns "/.Trash/$USER". > Please see the attachment to know how to reproduce this issue. > release note: > If root path {{/}} is an encryption zone, -- This message was sent by Atlassian JIRA (v6.3.4#6332) - To unsubscribe, e-mail: hdfs-issues-unsubscr...@hadoop.apache.org For additional commands, e-mail: hdfs-issues-h...@hadoop.apache.org
[jira] [Updated] (HDFS-10883) `getTrashRoot`'s behavior is not consistent in DFS after enabling EZ.
[ https://issues.apache.org/jira/browse/HDFS-10883?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Andrew Wang updated HDFS-10883: --- Resolution: Fixed Fix Version/s: 3.0.0-alpha2 2.8.0 Status: Resolved (was: Patch Available) Thanks for working on this Yuanbo, I've committed the patch to trunk, branch-2, branch-2.8. Do you mind also editing the JIRA to add a release note? We should help end users understand both the old incorrect behavior and the new correct behavior. > `getTrashRoot`'s behavior is not consistent in DFS after enabling EZ. > - > > Key: HDFS-10883 > URL: https://issues.apache.org/jira/browse/HDFS-10883 > Project: Hadoop HDFS > Issue Type: Bug >Reporter: Yuanbo Liu >Assignee: Yuanbo Liu > Fix For: 2.8.0, 3.0.0-alpha2 > > Attachments: HDFS-10883-test-case.txt, HDFS-10883.001.patch, > HDFS-10883.002.patch, HDFS-10883.003.patch, HDFS-10883.004.patch > > > Let's say root path ("/") is the encryption zone, and there is a file called > "/test" in root path. > {code} > dfs.getTrashRoot(new Path("/")) > {code} > returns "/user/$USER/.Trash", > while > {code} > dfs.getTrashRoot(new Path("/test")) > {code} > returns "/.Trash/$USER". > Please see the attachment to know how to reproduce this issue. -- This message was sent by Atlassian JIRA (v6.3.4#6332) - To unsubscribe, e-mail: hdfs-issues-unsubscr...@hadoop.apache.org For additional commands, e-mail: hdfs-issues-h...@hadoop.apache.org
[jira] [Updated] (HDFS-10883) `getTrashRoot`'s behavior is not consistent in DFS after enabling EZ.
[ https://issues.apache.org/jira/browse/HDFS-10883?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Yuanbo Liu updated HDFS-10883: -- Status: Patch Available (was: In Progress) > `getTrashRoot`'s behavior is not consistent in DFS after enabling EZ. > - > > Key: HDFS-10883 > URL: https://issues.apache.org/jira/browse/HDFS-10883 > Project: Hadoop HDFS > Issue Type: Bug >Reporter: Yuanbo Liu >Assignee: Yuanbo Liu > Attachments: HDFS-10883-test-case.txt, HDFS-10883.001.patch, > HDFS-10883.002.patch, HDFS-10883.003.patch, HDFS-10883.004.patch > > > Let's say root path ("/") is the encryption zone, and there is a file called > "/test" in root path. > {code} > dfs.getTrashRoot(new Path("/")) > {code} > returns "/user/$USER/.Trash", > while > {code} > dfs.getTrashRoot(new Path("/test")) > {code} > returns "/.Trash/$USER". > Please see the attachment to know how to reproduce this issue. -- This message was sent by Atlassian JIRA (v6.3.4#6332) - To unsubscribe, e-mail: hdfs-issues-unsubscr...@hadoop.apache.org For additional commands, e-mail: hdfs-issues-h...@hadoop.apache.org
[jira] [Updated] (HDFS-10883) `getTrashRoot`'s behavior is not consistent in DFS after enabling EZ.
[ https://issues.apache.org/jira/browse/HDFS-10883?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Yuanbo Liu updated HDFS-10883: -- Status: In Progress (was: Patch Available) > `getTrashRoot`'s behavior is not consistent in DFS after enabling EZ. > - > > Key: HDFS-10883 > URL: https://issues.apache.org/jira/browse/HDFS-10883 > Project: Hadoop HDFS > Issue Type: Bug >Reporter: Yuanbo Liu >Assignee: Yuanbo Liu > Attachments: HDFS-10883-test-case.txt, HDFS-10883.001.patch, > HDFS-10883.002.patch, HDFS-10883.003.patch, HDFS-10883.004.patch > > > Let's say root path ("/") is the encryption zone, and there is a file called > "/test" in root path. > {code} > dfs.getTrashRoot(new Path("/")) > {code} > returns "/user/$USER/.Trash", > while > {code} > dfs.getTrashRoot(new Path("/test")) > {code} > returns "/.Trash/$USER". > Please see the attachment to know how to reproduce this issue. -- This message was sent by Atlassian JIRA (v6.3.4#6332) - To unsubscribe, e-mail: hdfs-issues-unsubscr...@hadoop.apache.org For additional commands, e-mail: hdfs-issues-h...@hadoop.apache.org
[jira] [Updated] (HDFS-10883) `getTrashRoot`'s behavior is not consistent in DFS after enabling EZ.
[ https://issues.apache.org/jira/browse/HDFS-10883?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Yuanbo Liu updated HDFS-10883: -- Status: Patch Available (was: In Progress) > `getTrashRoot`'s behavior is not consistent in DFS after enabling EZ. > - > > Key: HDFS-10883 > URL: https://issues.apache.org/jira/browse/HDFS-10883 > Project: Hadoop HDFS > Issue Type: Bug >Reporter: Yuanbo Liu >Assignee: Yuanbo Liu > Attachments: HDFS-10883-test-case.txt, HDFS-10883.001.patch, > HDFS-10883.002.patch, HDFS-10883.003.patch, HDFS-10883.004.patch > > > Let's say root path ("/") is the encryption zone, and there is a file called > "/test" in root path. > {code} > dfs.getTrashRoot(new Path("/")) > {code} > returns "/user/$USER/.Trash", > while > {code} > dfs.getTrashRoot(new Path("/test")) > {code} > returns "/.Trash/$USER". > Please see the attachment to know how to reproduce this issue. -- This message was sent by Atlassian JIRA (v6.3.4#6332) - To unsubscribe, e-mail: hdfs-issues-unsubscr...@hadoop.apache.org For additional commands, e-mail: hdfs-issues-h...@hadoop.apache.org
[jira] [Updated] (HDFS-10883) `getTrashRoot`'s behavior is not consistent in DFS after enabling EZ.
[ https://issues.apache.org/jira/browse/HDFS-10883?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Yuanbo Liu updated HDFS-10883: -- Status: In Progress (was: Patch Available) > `getTrashRoot`'s behavior is not consistent in DFS after enabling EZ. > - > > Key: HDFS-10883 > URL: https://issues.apache.org/jira/browse/HDFS-10883 > Project: Hadoop HDFS > Issue Type: Bug >Reporter: Yuanbo Liu >Assignee: Yuanbo Liu > Attachments: HDFS-10883-test-case.txt, HDFS-10883.001.patch, > HDFS-10883.002.patch, HDFS-10883.003.patch, HDFS-10883.004.patch > > > Let's say root path ("/") is the encryption zone, and there is a file called > "/test" in root path. > {code} > dfs.getTrashRoot(new Path("/")) > {code} > returns "/user/$USER/.Trash", > while > {code} > dfs.getTrashRoot(new Path("/test")) > {code} > returns "/.Trash/$USER". > Please see the attachment to know how to reproduce this issue. -- This message was sent by Atlassian JIRA (v6.3.4#6332) - To unsubscribe, e-mail: hdfs-issues-unsubscr...@hadoop.apache.org For additional commands, e-mail: hdfs-issues-h...@hadoop.apache.org
[jira] [Updated] (HDFS-10883) `getTrashRoot`'s behavior is not consistent in DFS after enabling EZ.
[ https://issues.apache.org/jira/browse/HDFS-10883?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Yuanbo Liu updated HDFS-10883: -- Attachment: HDFS-10883.004.patch > `getTrashRoot`'s behavior is not consistent in DFS after enabling EZ. > - > > Key: HDFS-10883 > URL: https://issues.apache.org/jira/browse/HDFS-10883 > Project: Hadoop HDFS > Issue Type: Bug >Reporter: Yuanbo Liu >Assignee: Yuanbo Liu > Attachments: HDFS-10883-test-case.txt, HDFS-10883.001.patch, > HDFS-10883.002.patch, HDFS-10883.003.patch, HDFS-10883.004.patch > > > Let's say root path ("/") is the encryption zone, and there is a file called > "/test" in root path. > {code} > dfs.getTrashRoot(new Path("/")) > {code} > returns "/user/$USER/.Trash", > while > {code} > dfs.getTrashRoot(new Path("/test")) > {code} > returns "/.Trash/$USER". > Please see the attachment to know how to reproduce this issue. -- This message was sent by Atlassian JIRA (v6.3.4#6332) - To unsubscribe, e-mail: hdfs-issues-unsubscr...@hadoop.apache.org For additional commands, e-mail: hdfs-issues-h...@hadoop.apache.org
[jira] [Updated] (HDFS-10883) `getTrashRoot`'s behavior is not consistent in DFS after enabling EZ.
[ https://issues.apache.org/jira/browse/HDFS-10883?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Yuanbo Liu updated HDFS-10883: -- Attachment: HDFS-10883.003.patch Upload v3 patch to address test failure. > `getTrashRoot`'s behavior is not consistent in DFS after enabling EZ. > - > > Key: HDFS-10883 > URL: https://issues.apache.org/jira/browse/HDFS-10883 > Project: Hadoop HDFS > Issue Type: Bug >Reporter: Yuanbo Liu >Assignee: Yuanbo Liu > Attachments: HDFS-10883-test-case.txt, HDFS-10883.001.patch, > HDFS-10883.002.patch, HDFS-10883.003.patch > > > Let's say root path ("/") is the encryption zone, and there is a file called > "/test" in root path. > {code} > dfs.getTrashRoot(new Path("/")) > {code} > returns "/user/$USER/.Trash", > while > {code} > dfs.getTrashRoot(new Path("/test")) > {code} > returns "/.Trash/$USER". > Please see the attachment to know how to reproduce this issue. -- This message was sent by Atlassian JIRA (v6.3.4#6332) - To unsubscribe, e-mail: hdfs-issues-unsubscr...@hadoop.apache.org For additional commands, e-mail: hdfs-issues-h...@hadoop.apache.org
[jira] [Updated] (HDFS-10883) `getTrashRoot`'s behavior is not consistent in DFS after enabling EZ.
[ https://issues.apache.org/jira/browse/HDFS-10883?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Yuanbo Liu updated HDFS-10883: -- Attachment: HDFS-10883.002.patch Uploaded v2 patch for this issue. [~andrew.wang]/[~xyao]/[~jojochuang], would you please take a look if you have time? Thanks in advance. > `getTrashRoot`'s behavior is not consistent in DFS after enabling EZ. > - > > Key: HDFS-10883 > URL: https://issues.apache.org/jira/browse/HDFS-10883 > Project: Hadoop HDFS > Issue Type: Bug >Reporter: Yuanbo Liu >Assignee: Yuanbo Liu > Attachments: HDFS-10883-test-case.txt, HDFS-10883.001.patch, > HDFS-10883.002.patch > > > Let's say root path ("/") is the encryption zone, and there is a file called > "/test" in root path. > {code} > dfs.getTrashRoot(new Path("/")) > {code} > returns "/user/$USER/.Trash", > while > {code} > dfs.getTrashRoot(new Path("/test")) > {code} > returns "/.Trash/$USER". > Please see the attachment to know how to reproduce this issue. -- This message was sent by Atlassian JIRA (v6.3.4#6332) - To unsubscribe, e-mail: hdfs-issues-unsubscr...@hadoop.apache.org For additional commands, e-mail: hdfs-issues-h...@hadoop.apache.org
[jira] [Updated] (HDFS-10883) `getTrashRoot`'s behavior is not consistent in DFS after enabling EZ.
[ https://issues.apache.org/jira/browse/HDFS-10883?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Yuanbo Liu updated HDFS-10883: -- Description: Let's say root path ("/") is the encryption zone, and there is a file called "/test" in root path. {code} dfs.getTrashRoot(new Path("/")) {code} returns "/user/$USER/.Trash", while {code} dfs.getTrashRoot(new Path("/test")) {code} returns "/.Trash/$USER". Please see the attachment to know how to reproduce this issue. was: Let's say root path ("/") is the encryption zone, and there is a file called "/test" in root path. {code} dfs.getTrashRoot(new Path("/")) {code} returns "/user/$USER/.Trash", while {code} dfs.getTrashRoot(new Path("/test")) {code} returns "/.Trash/$USER". The second behavior is not correct. Since root path is the encryption zone, which means all files/directories in DFS are encrypted, it's more reasonable to return "/user/$USER/.Trash" no matter what the path is. Please see the attachment to know how to reproduce this issue. > `getTrashRoot`'s behavior is not consistent in DFS after enabling EZ. > - > > Key: HDFS-10883 > URL: https://issues.apache.org/jira/browse/HDFS-10883 > Project: Hadoop HDFS > Issue Type: Bug >Reporter: Yuanbo Liu >Assignee: Yuanbo Liu > Attachments: HDFS-10883-test-case.txt, HDFS-10883.001.patch > > > Let's say root path ("/") is the encryption zone, and there is a file called > "/test" in root path. > {code} > dfs.getTrashRoot(new Path("/")) > {code} > returns "/user/$USER/.Trash", > while > {code} > dfs.getTrashRoot(new Path("/test")) > {code} > returns "/.Trash/$USER". > Please see the attachment to know how to reproduce this issue. -- This message was sent by Atlassian JIRA (v6.3.4#6332) - To unsubscribe, e-mail: hdfs-issues-unsubscr...@hadoop.apache.org For additional commands, e-mail: hdfs-issues-h...@hadoop.apache.org
[jira] [Updated] (HDFS-10883) `getTrashRoot`'s behavior is not consistent in DFS after enabling EZ.
[ https://issues.apache.org/jira/browse/HDFS-10883?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Yuanbo Liu updated HDFS-10883: -- Status: Patch Available (was: Open) > `getTrashRoot`'s behavior is not consistent in DFS after enabling EZ. > - > > Key: HDFS-10883 > URL: https://issues.apache.org/jira/browse/HDFS-10883 > Project: Hadoop HDFS > Issue Type: Bug >Reporter: Yuanbo Liu >Assignee: Yuanbo Liu > Attachments: HDFS-10883-test-case.txt, HDFS-10883.001.patch > > > Let's say root path ("/") is the encryption zone, and there is a file called > "/test" in root path. > {code} > dfs.getTrashRoot(new Path("/")) > {code} > returns "/user/$USER/.Trash", > while > {code} > dfs.getTrashRoot(new Path("/test")) > {code} > returns "/.Trash/$USER". > The second behavior is not correct. Since root path is the encryption zone, > which means all files/directories in DFS are encrypted, it's more reasonable > to return "/user/$USER/.Trash" no matter what the path is. > Please see the attachment to know how to reproduce this issue. -- This message was sent by Atlassian JIRA (v6.3.4#6332) - To unsubscribe, e-mail: hdfs-issues-unsubscr...@hadoop.apache.org For additional commands, e-mail: hdfs-issues-h...@hadoop.apache.org
[jira] [Updated] (HDFS-10883) `getTrashRoot`'s behavior is not consistent in DFS after enabling EZ.
[ https://issues.apache.org/jira/browse/HDFS-10883?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Yuanbo Liu updated HDFS-10883: -- Attachment: HDFS-10883.001.patch upload v1 patch for this issue. > `getTrashRoot`'s behavior is not consistent in DFS after enabling EZ. > - > > Key: HDFS-10883 > URL: https://issues.apache.org/jira/browse/HDFS-10883 > Project: Hadoop HDFS > Issue Type: Bug >Reporter: Yuanbo Liu >Assignee: Yuanbo Liu > Attachments: HDFS-10883-test-case.txt, HDFS-10883.001.patch > > > Let's say root path ("/") is the encryption zone, and there is a file called > "/test" in root path. > {code} > dfs.getTrashRoot(new Path("/")) > {code} > returns "/user/$USER/.Trash", > while > {code} > dfs.getTrashRoot(new Path("/test")) > {code} > returns "/.Trash/$USER". > The second behavior is not correct. Since root path is the encryption zone, > which means all files/directories in DFS are encrypted, it's more reasonable > to return "/user/$USER/.Trash" no matter what the path is. > Please see the attachment to know how to reproduce this issue. -- This message was sent by Atlassian JIRA (v6.3.4#6332) - To unsubscribe, e-mail: hdfs-issues-unsubscr...@hadoop.apache.org For additional commands, e-mail: hdfs-issues-h...@hadoop.apache.org
[jira] [Updated] (HDFS-10883) `getTrashRoot`'s behavior is not consistent in DFS after enabling EZ.
[ https://issues.apache.org/jira/browse/HDFS-10883?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Yuanbo Liu updated HDFS-10883: -- Description: Let's say root path ("/") is the encryption zone, and there is a file called "/test" in root path. {code} dfs.getTrashRoot(new Path("/")) {code} returns "/user/$USER/.Trash", while {code} dfs.getTrashRoot(new Path("/test")) {code} returns "/.Trash/$USER". The second behavior is not correct. Since root path is the encryption zone, which means all files/directories in DFS are encrypted, it's more reasonable to return "/user/$USER/.Trash" no matter what the path is. Please see the attachment to know how to reproduce this issue. was: Let's say root path ("/") is the encryption zone, and there is a file called "/test" in root path. {code} dfs.getTrashRoot(new Path("/")) {code} returns "/user/$USER/.Trash", while {code} dfs.getTrashRoot(new Path("/test")) {code} returns "/.Trash/$USER". The second behavior is not correct. Since root path is the encryption zone, which means all files/directories in DFS are encrypted, it's more reasonable to return "/user/$USER/.Trash" no matter what the path is. > `getTrashRoot`'s behavior is not consistent in DFS after enabling EZ. > - > > Key: HDFS-10883 > URL: https://issues.apache.org/jira/browse/HDFS-10883 > Project: Hadoop HDFS > Issue Type: Bug >Reporter: Yuanbo Liu >Assignee: Yuanbo Liu > Attachments: HDFS-10883-test-case.txt > > > Let's say root path ("/") is the encryption zone, and there is a file called > "/test" in root path. > {code} > dfs.getTrashRoot(new Path("/")) > {code} > returns "/user/$USER/.Trash", > while > {code} > dfs.getTrashRoot(new Path("/test")) > {code} > returns "/.Trash/$USER". > The second behavior is not correct. Since root path is the encryption zone, > which means all files/directories in DFS are encrypted, it's more reasonable > to return "/user/$USER/.Trash" no matter what the path is. > Please see the attachment to know how to reproduce this issue. -- This message was sent by Atlassian JIRA (v6.3.4#6332) - To unsubscribe, e-mail: hdfs-issues-unsubscr...@hadoop.apache.org For additional commands, e-mail: hdfs-issues-h...@hadoop.apache.org
[jira] [Updated] (HDFS-10883) `getTrashRoot`'s behavior is not consistent in DFS after enabling EZ.
[ https://issues.apache.org/jira/browse/HDFS-10883?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Yuanbo Liu updated HDFS-10883: -- Attachment: HDFS-10883-test-case.txt > `getTrashRoot`'s behavior is not consistent in DFS after enabling EZ. > - > > Key: HDFS-10883 > URL: https://issues.apache.org/jira/browse/HDFS-10883 > Project: Hadoop HDFS > Issue Type: Bug >Reporter: Yuanbo Liu >Assignee: Yuanbo Liu > Attachments: HDFS-10883-test-case.txt > > > Let's say root path ("/") is the encryption zone, and there is a file called > "/test" in root path. > {code} > dfs.getTrashRoot(new Path("/")) > {code} > returns "/user/$USER/.Trash", > while > {code} > dfs.getTrashRoot(new Path("/test")) > {code} > returns "/.Trash/$USER". > The second behavior is not correct. Since root path is the encryption zone, > which means all files/directories in DFS are encrypted, it's more reasonable > to return "/user/$USER/.Trash" no matter what the path is. -- This message was sent by Atlassian JIRA (v6.3.4#6332) - To unsubscribe, e-mail: hdfs-issues-unsubscr...@hadoop.apache.org For additional commands, e-mail: hdfs-issues-h...@hadoop.apache.org