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

Ravi Prakash commented on HADOOP-7257:
--------------------------------------

@Sanjay: ViewFs.java:624
{noformat}
    static private void checkPathIsSlash(final Path f) throws IOException {
      if (f != InodeTree.SlashPath) {
        throw new IOException (
        "Internal implementation error: expected file name to be /" );
      }
    }
{noformat}

Should the condition be 
{noformat}
if (f.equals(Inode.SlashPath)
{noformat}

My small program
{noformat}
        Path p = new Path("/");
        Path q = new Path("/");
        System.out.println("Equals? " + (p == q) );
{noformat}
Prints "Equals? false"
                
> A client side mount table to give per-application/per-job file system view
> --------------------------------------------------------------------------
>
>                 Key: HADOOP-7257
>                 URL: https://issues.apache.org/jira/browse/HADOOP-7257
>             Project: Hadoop Common
>          Issue Type: New Feature
>    Affects Versions: 0.23.0
>            Reporter: Sanjay Radia
>            Assignee: Sanjay Radia
>             Fix For: 0.23.0
>
>         Attachments: ViewFs - javdoc2.pdf, ViewFsJavaDoc.pdf, viewFs2.patch, 
> viewFs3.patch, viewFs4.patch, viewFs5.patch, viewfs1.patch
>
>
> This jira proposes a client side mount table to allow application-centric (or 
> job-centric) filesystem views. 

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to