Haohui Mai created HDFS-8227: -------------------------------- Summary: BlockCollection should return Block instead of BlockInfoContiguous in the interfaces Key: HDFS-8227 URL: https://issues.apache.org/jira/browse/HDFS-8227 Project: Hadoop HDFS Issue Type: Improvement Reporter: Haohui Mai Assignee: Haohui Mai
Currently the {{BlockCollection}} interface returns {{BlockInfoContiguous}} objects in multiple calls. In order to decouple block manager and the namespace, the interface should return the {{Block}} instead of {{BlockInfoContiguous}} objects, where the latter contain information like the locations of DN. This jira proposes to clean up the interface and to return the {{Block}} objects directly. -- This message was sent by Atlassian JIRA (v6.3.4#6332)