hadoop-common-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "dhruba borthakur (JIRA)" <j...@apache.org>
Subject [jira] Commented: (HADOOP-1226) makeQualified should return an instance of a DfsPath when passed a DfsPath
Date Fri, 18 May 2007 22:41:16 GMT

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

dhruba borthakur commented on HADOOP-1226:
------------------------------------------

Path.makeQualified() has the following piece of code:

    if (scheme != null &&
        (authority != null || fsUri.getAuthority() == null))
      return path;

This means that if the path object already has the scheme and authority, then it returns "this".
This should work, isn't it?

> makeQualified should return an instance of a DfsPath when passed  a DfsPath 
> ----------------------------------------------------------------------------
>
>                 Key: HADOOP-1226
>                 URL: https://issues.apache.org/jira/browse/HADOOP-1226
>             Project: Hadoop
>          Issue Type: Bug
>          Components: dfs
>            Reporter: Koji Noguchi
>         Assigned To: dhruba borthakur
>             Fix For: 0.14.0
>
>         Attachments: makeQualified.patch
>
>
> Currently, it returns a instance of a Path.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message