[ 
https://issues.apache.org/jira/browse/HDFS-15384?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Xiaoqiao He updated HDFS-15384:
-------------------------------
    Fix Version/s: 3.4.0
     Hadoop Flags: Reviewed
       Resolution: Fixed
           Status: Resolved  (was: Patch Available)

Committed to trunk. Thanks [~hadoop_yangyun] for your contributions and Thanks 
[~ayushtkn] for your reviews. 
Please let me know if you want to backport to other active branches. 
cc[~hadoop_yangyun]

> Document 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
>             Fix For: 3.4.0
>
>         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-unsubscr...@hadoop.apache.org
For additional commands, e-mail: hdfs-issues-h...@hadoop.apache.org

Reply via email to