[jira] [Updated] (HDFS-11145) Implement getTrashRoot() for ViewFileSystem
[ https://issues.apache.org/jira/browse/HDFS-11145?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Lei (Eddy) Xu updated HDFS-11145: - Resolution: Fixed Fix Version/s: 3.0.0-alpha2 Status: Resolved (was: Patch Available) +1. LGTM. Committed to trunk. Thanks [~manojg]. > Implement getTrashRoot() for ViewFileSystem > --- > > Key: HDFS-11145 > URL: https://issues.apache.org/jira/browse/HDFS-11145 > Project: Hadoop HDFS > Issue Type: Task >Affects Versions: 3.0.0-alpha1 >Reporter: Manoj Govindassamy >Assignee: Manoj Govindassamy > Labels: viewfs > Fix For: 3.0.0-alpha2 > > Attachments: HDFS-11145.01.patch > > > ViewFileSystem doesn't have the custom implementation of > FileSystem#getTrashRoot(Path) yet and hence irrespective of Paths passed in, > ViewFileSystem always returns the user specific .Trash directory. > ViewFileSystem should implement getTrashRoot(Path) and delegate the call to > the respective mounted file system which can then examine about EZ or other > criteria and return a proper Trash directory. -- 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-11145) Implement getTrashRoot() for ViewFileSystem
[ https://issues.apache.org/jira/browse/HDFS-11145?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Manoj Govindassamy updated HDFS-11145: -- Status: Patch Available (was: Open) > Implement getTrashRoot() for ViewFileSystem > --- > > Key: HDFS-11145 > URL: https://issues.apache.org/jira/browse/HDFS-11145 > Project: Hadoop HDFS > Issue Type: Task >Affects Versions: 3.0.0-alpha1 >Reporter: Manoj Govindassamy >Assignee: Manoj Govindassamy > Labels: viewfs > Attachments: HDFS-11145.01.patch > > > ViewFileSystem doesn't have the custom implementation of > FileSystem#getTrashRoot(Path) yet and hence irrespective of Paths passed in, > ViewFileSystem always returns the user specific .Trash directory. > ViewFileSystem should implement getTrashRoot(Path) and delegate the call to > the respective mounted file system which can then examine about EZ or other > criteria and return a proper Trash directory. -- 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-11145) Implement getTrashRoot() for ViewFileSystem
[ https://issues.apache.org/jira/browse/HDFS-11145?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Manoj Govindassamy updated HDFS-11145: -- Attachment: HDFS-11145.01.patch Attached v01 patch which takes care of the following * Implemented {{getTrashRoot(Path)}}, {{getTrashRoots(users)}} * Updated ViewFileSystemBaseTest base class test to verify {{getTrashRoot}} for all filesystem derived tests * Updated TestViewFileSystemHdfs to verify {{getTrashRoots}} under EZ settings. > Implement getTrashRoot() for ViewFileSystem > --- > > Key: HDFS-11145 > URL: https://issues.apache.org/jira/browse/HDFS-11145 > Project: Hadoop HDFS > Issue Type: Task >Affects Versions: 3.0.0-alpha1 >Reporter: Manoj Govindassamy >Assignee: Manoj Govindassamy > Labels: viewfs > Attachments: HDFS-11145.01.patch > > > ViewFileSystem doesn't have the custom implementation of > FileSystem#getTrashRoot(Path) yet and hence irrespective of Paths passed in, > ViewFileSystem always returns the user specific .Trash directory. > ViewFileSystem should implement getTrashRoot(Path) and delegate the call to > the respective mounted file system which can then examine about EZ or other > criteria and return a proper Trash directory. -- 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-11145) Implement getTrashRoot() for ViewFileSystem
[ https://issues.apache.org/jira/browse/HDFS-11145?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Manoj Govindassamy updated HDFS-11145: -- Labels: viewfs (was: ) Component/s: (was: federation) > Implement getTrashRoot() for ViewFileSystem > --- > > Key: HDFS-11145 > URL: https://issues.apache.org/jira/browse/HDFS-11145 > Project: Hadoop HDFS > Issue Type: Task >Affects Versions: 3.0.0-alpha1 >Reporter: Manoj Govindassamy >Assignee: Manoj Govindassamy > Labels: viewfs > > ViewFileSystem doesn't have the custom implementation of > FileSystem#getTrashRoot(Path) yet and hence irrespective of Paths passed in, > ViewFileSystem always returns the user specific .Trash directory. > ViewFileSystem should implement getTrashRoot(Path) and delegate the call to > the respective mounted file system which can then examine about EZ or other > criteria and return a proper Trash directory. -- 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