[
https://issues.apache.org/jira/browse/HDFS-2181?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13121673#comment-13121673
]
Sanjay Radia commented on HDFS-2181:
------------------------------------
There are two ways to support compatibility: (see the doc i posted in
HADOOP-7347)
# Maintain compatibility by simply adding new methods and new types (ie no
changes to signatures of existing methods)
# Have the server support multiple protocols and the client picking the right
one (we need to figure out a way for the
client to pick the right protocol based on what the server supports - i have
ideas on this but have not supplied a patch so far.)
I am proposing that we use #1 (within and across releases) till we move to PB
or Avro. Say we move to PB in release 25 (hypothetically) then release 24 can
continue to use R23.
When we move to PB or Avro we use approach 2 since customer will expect
compatibility across releases. BTW approach 2 can also be used to support
compatibility between 20 and 23.
I assume that I have your +1 having addressed your feedback and will commit
this patch later tonight.
> Seperate HDFS wire protocol data types
> --------------------------------------
>
> Key: HDFS-2181
> URL: https://issues.apache.org/jira/browse/HDFS-2181
> Project: Hadoop HDFS
> Issue Type: Improvement
> Reporter: Sanjay Radia
> Assignee: Sanjay Radia
> Attachments: separateDataType1.patch, separateDataType10.patch,
> separateDataType11.patch, separateDataType12.patch, separateDataType13.patch,
> separateDataType14.patch, separateDataType16.patch, separateDataType19.patch,
> separateDataType2.patch, separateDataType6.patch, separateDataType7.patch,
> separateDataType8.patch, separateDataType9.patch
>
>
--
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