You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-dev@hadoop.apache.org by "Yang Yun (Jira)" <ji...@apache.org> on 2020/06/03 10:40:00 UTC

[jira] [Created] (HDFS-15384) Method getLocatedBlocks(String src, long start) of DFSClient only return partial blocks

Yang Yun created HDFS-15384:
-------------------------------

             Summary: 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


 
 

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 return part of block. 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-dev-unsubscribe@hadoop.apache.org
For additional commands, e-mail: hdfs-dev-help@hadoop.apache.org