[
https://issues.apache.org/jira/browse/HDFS-8023?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14483699#comment-14483699
]
Jing Zhao commented on HDFS-8023:
---------------------------------
Thanks [~vinayrpet] for the work and [~drankye] for the review! Some comments
and questions:
# Maybe we can move ECInfo to the o.a.h.hdfs.protocol package?
# The name "ECInfo" looks better to me compared with "ECZoneInfo" because it is
used to tell the information of individual files/directories. We can make it
independent with our design/implementation about how to specify the EC schema
for files/directories.
# getErasureCondingInfo --> getErasureCodingInfo
# Do we need to provide
{{DatanodeProtocol#getErasureCodingInfo(ExtendedBlock)}}? Currently a DataNode
cannot distinguish a contiguous block and a block that belongs to a striped
block group. And for recovery, I guess we only need to include the ECSchema
information in the corresponding recovery command?
> Erasure Coding: retrieve eraure coding policy and schema for a block or file
> from NameNode
> ------------------------------------------------------------------------------------------
>
> Key: HDFS-8023
> URL: https://issues.apache.org/jira/browse/HDFS-8023
> Project: Hadoop HDFS
> Issue Type: Sub-task
> Reporter: Kai Zheng
> Assignee: Vinayakumar B
> Attachments: HDFS-8023-01.patch
>
>
> NameNode needs to provide RPC call for client, tool, or DataNode to retrieve
> eraure coding policy and schema for a block or file from NameNode.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)