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

Todd Lipcon commented on HADOOP-7284:
-------------------------------------

bq. I don't recall saying that.

I understood this part of the patch to indicate that:

{code}
+  static class TestLFS extends LocalFileSystem {
+    Path home;
+    TestLFS() throws IOException {
+      this(new Path(FileSystemTestHelper.TEST_ROOT_DIR));
+    }
+    TestLFS(Path home) throws IOException {
+      super();
+      this.home = home;
+    }
+    public Path getHomeDirectory() {
+      return home;
+    }
+  }
{code}

bq. The homedir needs to be set for ViewFs anyway - my patch sets it up via set 
of rules. 

right -- but the inclusion of /homes/ and not /home is very Yahoo-centric. The 
standard linux/bsd heirarchy puts home dirs in /home, not /homes.

> Trash and shell's rm does not work for viewfs
> ---------------------------------------------
>
>                 Key: HADOOP-7284
>                 URL: https://issues.apache.org/jira/browse/HADOOP-7284
>             Project: Hadoop Common
>          Issue Type: Bug
>            Reporter: Sanjay Radia
>            Assignee: Sanjay Radia
>             Fix For: 0.23.0
>
>         Attachments: trash1.patch, trash2.patch, trash3.patch, trash4.patch, 
> trash5.patch, trash6.patch, trash7.patch
>
>


--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to