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 "Kitti Nanasi (JIRA)" <ji...@apache.org> on 2018/12/14 09:13:00 UTC

[jira] [Comment Edited] (HDFS-14132) Add BlockLocation.isStriped() to determine if block is replicated or Striped

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

Kitti Nanasi edited comment on HDFS-14132 at 12/14/18 9:12 AM:
---------------------------------------------------------------

Thanks [~shwetayakkali] for the patch! Looks good to me and the test failures do not seem related.

+1 (non-binding)


was (Author: knanasi):
Thanks [~shwetayakkali] for the patch! Looks good to me.

+1 (non-binding)

> Add BlockLocation.isStriped() to determine if block is replicated or Striped
> ----------------------------------------------------------------------------
>
>                 Key: HDFS-14132
>                 URL: https://issues.apache.org/jira/browse/HDFS-14132
>             Project: Hadoop HDFS
>          Issue Type: Bug
>          Components: hdfs
>            Reporter: Shweta
>            Assignee: Shweta
>            Priority: Major
>         Attachments: HDFS-14132.001.patch
>
>
> Impala uses FileSystem#getBlockLocation to get block locations. We can add isStriped() method for it to easier determine the block is belonged to replicated file or striped file.
> In HDFS, this isStriped information is already in HdfsBlockLocation#LocatedBlock#isStriped(), adding this method to BlockLocation does not introduce space overhead.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: hdfs-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: hdfs-issues-help@hadoop.apache.org