[ 
https://issues.apache.org/jira/browse/HDFS-8023?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14483169#comment-14483169
 ] 

Kai Zheng commented on HDFS-8023:
---------------------------------

Thanks [~vinayrpet] for working on this. I read the patch, it looks great ! 
Just some comments to connect this with others.
1. Ref. the discussion [ECZone or XStoragePolicy | 
https://issues.apache.org/jira/browse/HDFS-7839?focusedCommentId=14392423&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-14392423]
 in HDFS-7839, we decided to use {{ECZone}}. So I guess we could have something 
like {{ECZoneInfo}} as you used {{ECInfo}}. Make sense?
2. To make the TODOs easy, I just opened HDFS-8074 so that you will just return 
the default schema. HDFS-8062 will further fill the left gaps. OK?

A minor. How about {{getEcInfo}} => {{getECInfo}} like you used 
{{convertECInfo}}?

> 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)

Reply via email to