Ewan Higgs created HDFS-12589: --------------------------------- Summary: [DISCUSS] Provided Storage BlockAlias Refactoring Key: HDFS-12589 URL: https://issues.apache.org/jira/browse/HDFS-12589 Project: Hadoop HDFS Issue Type: Sub-task Components: hdfs Reporter: Ewan Higgs Priority: Minor
A BlockAlias is an interface used by the Datanode to determine where to retrieve data from. It currently has a single implementation: {{FileRegion}} which contains the Block, BlockPoolID, Provided URL for the FileRegion (i.e. block); and length and offset of the FileRegion in the remote storage. The BlockAlias currently has a single method: {{getBlock}}. This is not particularly useful since we can't ask it meaningful questions like 'how do we retrieve the data from the external storage system?'. Or 'is the version of the block in the external storage system up to data?'. Either we can do away with the BlockAlias altogether and work with FileRegion, or the BlockAlias needs to be made more robust. -- This message was sent by Atlassian JIRA (v6.4.14#64029) --------------------------------------------------------------------- To unsubscribe, e-mail: hdfs-dev-unsubscr...@hadoop.apache.org For additional commands, e-mail: hdfs-dev-h...@hadoop.apache.org