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

Hudson commented on HDFS-14132:
-------------------------------

SUCCESS: Integrated in Jenkins build Hadoop-trunk-Commit #15749 (See 
[https://builds.apache.org/job/Hadoop-trunk-Commit/15749/])
HDFS-14132. Add BlockLocation.isStriped() to determine if block is (templedf: 
rev 4ab5260b7e8d355a042f1533bc020868778b3231)
* (edit) 
hadoop-hdfs-project/hadoop-hdfs-client/src/main/java/org/apache/hadoop/fs/HdfsBlockLocation.java
* (edit) 
hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/fs/BlockLocation.java
* (edit) 
hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/server/namenode/TestAddStripedBlocks.java


> 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
>             Fix For: 3.3.0
>
>         Attachments: HDFS-14132.001.patch, HDFS-14132.002.patch, 
> HDFS-14132.003.patch, HDFS-14132.004.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-unsubscr...@hadoop.apache.org
For additional commands, e-mail: hdfs-issues-h...@hadoop.apache.org

Reply via email to