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 "Xiaoqiao He (Jira)" <ji...@apache.org> on 2021/03/07 09:44:00 UTC
[jira] [Comment Edited] (HDFS-15384) Method getLocatedBlocks(String
src, long start) of DFSClient only return partial blocks
[ https://issues.apache.org/jira/browse/HDFS-15384?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17296813#comment-17296813 ]
Xiaoqiao He edited comment on HDFS-15384 at 3/7/21, 9:43 AM:
-------------------------------------------------------------
[^HDFS-15384.004.patch] LGTM. +1 from my side. Pending [~ayushtkn] to double checks.
BTW, change this issue type from BUG to Improvement.
was (Author: hexiaoqiao):
[^HDFS-15384.004.patch] LGTM. +1 from my side. Pending [~ayushtkn] to double checks.
> Method getLocatedBlocks(String src, long start) of DFSClient only return partial blocks
> ---------------------------------------------------------------------------------------
>
> Key: HDFS-15384
> URL: https://issues.apache.org/jira/browse/HDFS-15384
> Project: Hadoop HDFS
> Issue Type: Improvement
> Reporter: Yang Yun
> Assignee: Yang Yun
> Priority: Minor
> Attachments: HDFS-15384.001.patch, HDFS-15384.002.patch, HDFS-15384.003.patch, HDFS-15384.004.patch
>
>
>
>
> Intuitively, the method getLocatedBlocks(String src, long start) of DFSClient will return all blocks after offset ‘start’. But actually it uses dfsClientConf.getPrefetchSize() as the length and only return part of blocks. I feel it's error-prone and open this Jira for discussion.
>
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: hdfs-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: hdfs-issues-help@hadoop.apache.org