[ http://issues.apache.org/jira/browse/HADOOP-447?page=all ]

Raghu Angadi updated HADOOP-447:
--------------------------------

    Attachment: HADOOP-447.patch

patch for the fix mentioned above. Looks like using makeAbsolute(f) in place of 
'f' fixes it.


> DistributedFileSystem.getBlockSize(Path) does not resolve absolute path
> -----------------------------------------------------------------------
>
>                 Key: HADOOP-447
>                 URL: http://issues.apache.org/jira/browse/HADOOP-447
>             Project: Hadoop
>          Issue Type: Bug
>          Components: dfs
>            Reporter: Benjamin Reed
>         Assigned To: Raghu Angadi
>         Attachments: HADOOP-447.patch
>
>
> getBlockSize() does not check for an absolute path like the rest of the 
> DistributeFileSystem API does. Consequently getBlockSize(Path) does not work 
> with relative paths.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to