[
https://issues.apache.org/jira/browse/HDFS-11190?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Virajith Jalaparti updated HDFS-11190:
--------------------------------------
Attachment: HDFS-11190-HDFS-9806.001.patch
Posting a patch that enables this functionality on the NN. The main changes
include:
a) Adding a {{LocatedBlockBuilder}} that is used to build {{LocatedBlocks}}.
b) Adding a {{ProvidedBlocksBuilder}} as a subclass of {{LocatedBlockBuilder}},
which is used to build {{LocatedBlocks}} for provided blocks -- the
{{ProvidedBlocksBuilder}} assigns a randomly chosen Datanode (which reports as
provided volume) as the location of the provided blocks.
c) Adding a {{ProvidedStorageMap}} which is used to keep track of datanodes
with provided volumes
d) Modifications to the {{BlockManager}} to use {{LocatedBlockBuilder}} to
build {{LocatedBlocks}} and use {{ProvidedStorageMap}} while processing reports
from datanodes.
> Namenode support for data stored in external stores.
> ----------------------------------------------------
>
> Key: HDFS-11190
> URL: https://issues.apache.org/jira/browse/HDFS-11190
> Project: Hadoop HDFS
> Issue Type: Sub-task
> Reporter: Virajith Jalaparti
> Attachments: HDFS-11190-HDFS-9806.001.patch
>
>
> The goal of this JIRA is to enable the Namenode to know about blocks that are
> in {{PROVIDED}} stores and are not necessarily stored on any Datanodes.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]