[
https://issues.apache.org/jira/browse/HDFS-15384?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17296619#comment-17296619
]
Ayush Saxena commented on HDFS-15384:
-------------------------------------
Thanx [~hadoop_yangyun] for the patch.
{code:java}
get localed blocks with prefetch size (default is 10 * defaultBlockSize)
{code}
Typo. {{localed}} to {{located}}
Change to get to Get (G in capital)
Don't specify the default size, Anybody in future changing the default won't
update here
> 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: Bug
> Reporter: Yang Yun
> Assignee: Yang Yun
> Priority: Minor
> Attachments: HDFS-15384.001.patch, HDFS-15384.002.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: [email protected]
For additional commands, e-mail: [email protected]