You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-issues@hadoop.apache.org by "Andrew Wang (JIRA)" <ji...@apache.org> on 2015/09/02 22:58:45 UTC

[jira] [Commented] (HDFS-8941) DistributedFileSystem listCorruptFileBlocks API should resolve relative path

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

Andrew Wang commented on HDFS-8941:
-----------------------------------

Hi Rakesh, thanks for picking up this issue. One question, why do we cast to DFS in next()? Symlinks can be cross-filesystem, and other filesystems could implement this API. Most of the time you want to leave this as just a FileSystem without casting.

Otherwise looks good though, thx again.

> DistributedFileSystem listCorruptFileBlocks API should resolve relative path
> ----------------------------------------------------------------------------
>
>                 Key: HDFS-8941
>                 URL: https://issues.apache.org/jira/browse/HDFS-8941
>             Project: Hadoop HDFS
>          Issue Type: Bug
>          Components: hdfs-client
>            Reporter: Rakesh R
>            Assignee: Rakesh R
>         Attachments: HDFS-8941-00.patch
>
>
> Presently {{DFS#listCorruptFileBlocks(path)}} API is not resolving the given path relative to the workingDir. This jira is to discuss and provide the implementation of the same.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)