You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-issues@hadoop.apache.org by "Todd Lipcon (JIRA)" <ji...@apache.org> on 2013/06/05 02:26:20 UTC

[jira] [Commented] (HADOOP-9619) Mark stability of .proto files

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

Todd Lipcon commented on HADOOP-9619:
-------------------------------------

One thing I think we should clarify: I don't think the .proto files themselves should be stable. Rather, the field IDs and types are stable -- ie we should not make any changes to the proto files which cause wire incompatibility. But we should feel free to rename the .proto files themselves, or change the annotations that affect code generation.

If a downstream project wants to use the Hadoop wire protocol, they should be making a _copy_ of the proto files for their use case, not assuming that we'll never rename a protobuf field (which is wire-compatible).
                
> Mark stability of .proto files
> ------------------------------
>
>                 Key: HADOOP-9619
>                 URL: https://issues.apache.org/jira/browse/HADOOP-9619
>             Project: Hadoop Common
>          Issue Type: Sub-task
>          Components: documentation
>            Reporter: Sanjay Radia
>            Assignee: Sanjay Radia
>


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira