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

Todd Lipcon commented on HDFS-2618:
-----------------------------------

{code}
-  required BlockProto block = 1;            // Block
-  repeated DatanodeIDProto datanodeIDs = 2; // Datanodes with replicas of the 
block
+  required BlockProto block = 1;   // Block
+  repeated string datanodeIDs = 2; // Datanodes with replicas of the block
{code}
What's the reason for this change? Encapsulating the DNIDs has the nice 
property that if we want to add extra flags about each location, it would be a 
simple non-breaking change.
                
> Implement protobuf service for NamenodeProtocol
> -----------------------------------------------
>
>                 Key: HDFS-2618
>                 URL: https://issues.apache.org/jira/browse/HDFS-2618
>             Project: Hadoop HDFS
>          Issue Type: New Feature
>          Components: name-node
>            Reporter: Suresh Srinivas
>            Assignee: Suresh Srinivas
>             Fix For: 0.24.0
>
>         Attachments: HDFS-2618.txt, HDFS-2618.txt
>
>
> This jira adds implementation for NamenodeProtocol protobuf service along the 
> same lines as HDFS-2181

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to