[jira] [Commented] (HDFS-1335) HDFS side of HADOOP-6904: first step towards inter-version communications between dfs client and NameNode

2011-11-23 Thread Denny Ye (Commented) (JIRA)

[ 
https://issues.apache.org/jira/browse/HDFS-1335?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13155761#comment-13155761
 ] 

Denny Ye commented on HDFS-1335:


Does Hadoop-0.23 contains this patch?

 HDFS side of HADOOP-6904: first step towards inter-version communications 
 between dfs client and NameNode
 -

 Key: HDFS-1335
 URL: https://issues.apache.org/jira/browse/HDFS-1335
 Project: Hadoop HDFS
  Issue Type: Improvement
  Components: hdfs client, name-node
Affects Versions: 0.22.0
Reporter: Hairong Kuang
Assignee: Hairong Kuang
 Fix For: 0.23.0

 Attachments: hdfsRPC.patch, hdfsRpcVersion.patch


 The idea is that for getProtocolVersion, NameNode checks if the client and 
 server versions are compatible if the server version is greater than the 
 client version. If no, throws a VersionIncompatible exception; otherwise, 
 returns the server version.
 On the dfs client side, when creating a NameNode proxy, catches the 
 VersionMismatch exception and then checks if the client version and the 
 server version are compatible if the client version is greater than the 
 server version. If not compatible, throws exception VersionIncomptible; 
 otherwise, records the server version and continues.

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




[jira] [Commented] (HDFS-1335) HDFS side of HADOOP-6904: first step towards inter-version communications between dfs client and NameNode

2011-04-20 Thread Hudson (JIRA)

[ 
https://issues.apache.org/jira/browse/HDFS-1335?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13022459#comment-13022459
 ] 

Hudson commented on HDFS-1335:
--

Integrated in Hadoop-Hdfs-trunk #643 (See 
[https://builds.apache.org/hudson/job/Hadoop-Hdfs-trunk/643/])


 HDFS side of HADOOP-6904: first step towards inter-version communications 
 between dfs client and NameNode
 -

 Key: HDFS-1335
 URL: https://issues.apache.org/jira/browse/HDFS-1335
 Project: Hadoop HDFS
  Issue Type: Improvement
  Components: hdfs client, name-node
Affects Versions: 0.22.0
Reporter: Hairong Kuang
Assignee: Hairong Kuang
 Fix For: 0.23.0

 Attachments: hdfsRPC.patch, hdfsRpcVersion.patch


 The idea is that for getProtocolVersion, NameNode checks if the client and 
 server versions are compatible if the server version is greater than the 
 client version. If no, throws a VersionIncompatible exception; otherwise, 
 returns the server version.
 On the dfs client side, when creating a NameNode proxy, catches the 
 VersionMismatch exception and then checks if the client version and the 
 server version are compatible if the client version is greater than the 
 server version. If not compatible, throws exception VersionIncomptible; 
 otherwise, records the server version and continues.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] Commented: (HDFS-1335) HDFS side of HADOOP-6904: first step towards inter-version communications between dfs client and NameNode

2011-02-09 Thread Hudson (JIRA)

[ 
https://issues.apache.org/jira/browse/HDFS-1335?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12992582#comment-12992582
 ] 

Hudson commented on HDFS-1335:
--

Integrated in Hadoop-Hdfs-trunk-Commit #539 (See 
[https://hudson.apache.org/hudson/job/Hadoop-Hdfs-trunk-Commit/539/])


 HDFS side of HADOOP-6904: first step towards inter-version communications 
 between dfs client and NameNode
 -

 Key: HDFS-1335
 URL: https://issues.apache.org/jira/browse/HDFS-1335
 Project: Hadoop HDFS
  Issue Type: Improvement
  Components: hdfs client, name-node
Affects Versions: 0.22.0
Reporter: Hairong Kuang
Assignee: Hairong Kuang
 Fix For: 0.23.0

 Attachments: hdfsRPC.patch, hdfsRpcVersion.patch


 The idea is that for getProtocolVersion, NameNode checks if the client and 
 server versions are compatible if the server version is greater than the 
 client version. If no, throws a VersionIncompatible exception; otherwise, 
 returns the server version.
 On the dfs client side, when creating a NameNode proxy, catches the 
 VersionMismatch exception and then checks if the client version and the 
 server version are compatible if the client version is greater than the 
 server version. If not compatible, throws exception VersionIncomptible; 
 otherwise, records the server version and continues.

-- 
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira




[jira] Commented: (HDFS-1335) HDFS side of HADOOP-6904: first step towards inter-version communications between dfs client and NameNode

2011-01-28 Thread dhruba borthakur (JIRA)

[ 
https://issues.apache.org/jira/browse/HDFS-1335?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12988172#action_12988172
 ] 

dhruba borthakur commented on HDFS-1335:


+1, code looks great!

 HDFS side of HADOOP-6904: first step towards inter-version communications 
 between dfs client and NameNode
 -

 Key: HDFS-1335
 URL: https://issues.apache.org/jira/browse/HDFS-1335
 Project: Hadoop HDFS
  Issue Type: New Feature
  Components: hdfs client, name-node
Affects Versions: 0.22.0
Reporter: Hairong Kuang
Assignee: Hairong Kuang
 Attachments: hdfsRPC.patch, hdfsRpcVersion.patch


 The idea is that for getProtocolVersion, NameNode checks if the client and 
 server versions are compatible if the server version is greater than the 
 client version. If no, throws a VersionIncompatible exception; otherwise, 
 returns the server version.
 On the dfs client side, when creating a NameNode proxy, catches the 
 VersionMismatch exception and then checks if the client version and the 
 server version are compatible if the client version is greater than the 
 server version. If not compatible, throws exception VersionIncomptible; 
 otherwise, records the server version and continues.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.



[jira] Commented: (HDFS-1335) HDFS side of HADOOP-6904: first step towards inter-version communications between dfs client and NameNode

2011-01-28 Thread Hairong Kuang (JIRA)

[ 
https://issues.apache.org/jira/browse/HDFS-1335?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12988304#action_12988304
 ] 

Hairong Kuang commented on HDFS-1335:
-

Since HADOOP-6904 breaks the compilation of HDFS, the patch can not go through 
hudson. I just committed the patch.

 HDFS side of HADOOP-6904: first step towards inter-version communications 
 between dfs client and NameNode
 -

 Key: HDFS-1335
 URL: https://issues.apache.org/jira/browse/HDFS-1335
 Project: Hadoop HDFS
  Issue Type: New Feature
  Components: hdfs client, name-node
Affects Versions: 0.22.0
Reporter: Hairong Kuang
Assignee: Hairong Kuang
 Attachments: hdfsRPC.patch, hdfsRpcVersion.patch


 The idea is that for getProtocolVersion, NameNode checks if the client and 
 server versions are compatible if the server version is greater than the 
 client version. If no, throws a VersionIncompatible exception; otherwise, 
 returns the server version.
 On the dfs client side, when creating a NameNode proxy, catches the 
 VersionMismatch exception and then checks if the client version and the 
 server version are compatible if the client version is greater than the 
 server version. If not compatible, throws exception VersionIncomptible; 
 otherwise, records the server version and continues.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.



[jira] Commented: (HDFS-1335) HDFS side of HADOOP-6904: first step towards inter-version communications between dfs client and NameNode

2010-08-13 Thread Doug Cutting (JIRA)

[ 
https://issues.apache.org/jira/browse/HDFS-1335?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12898345#action_12898345
 ] 

Doug Cutting commented on HDFS-1335:


Thanks for elaborating.  This patch seems fine: it's simple and does not alone 
introduce significant risk.

However subsequent changes to ProtocolCompatible will need to be carefully 
reviewed and tested.  We don't yet have a testing framework to do that.  So 
we're delaying that work (interoperability testing of different versions) until 
we actually have two versions that are meant to interoperate.  This is a 
technical debt will be due in full the first time ProtocolCompatible is 
altered, I think.

 HDFS side of HADOOP-6904: first step towards inter-version communications 
 between dfs client and NameNode
 -

 Key: HDFS-1335
 URL: https://issues.apache.org/jira/browse/HDFS-1335
 Project: Hadoop HDFS
  Issue Type: New Feature
  Components: hdfs client, name-node
Affects Versions: 0.22.0
Reporter: Hairong Kuang
Assignee: Hairong Kuang
 Fix For: 0.22.0

 Attachments: hdfsRpcVersion.patch


 The idea is that for getProtocolVersion, NameNode checks if the client and 
 server versions are compatible if the server version is greater than the 
 client version. If no, throws a VersionIncompatible exception; otherwise, 
 returns the server version.
 On the dfs client side, when creating a NameNode proxy, catches the 
 VersionMismatch exception and then checks if the client version and the 
 server version are compatible if the client version is greater than the 
 server version. If not compatible, throws exception VersionIncomptible; 
 otherwise, records the server version and continues.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.



[jira] Commented: (HDFS-1335) HDFS side of HADOOP-6904: first step towards inter-version communications between dfs client and NameNode

2010-08-13 Thread dhruba borthakur (JIRA)

[ 
https://issues.apache.org/jira/browse/HDFS-1335?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12898503#action_12898503
 ] 

dhruba borthakur commented on HDFS-1335:


This approach sounds good. Do we need to implement the same mechanisms for 
DatanodeProtocol and NameNodeProtocol as well? 

 HDFS side of HADOOP-6904: first step towards inter-version communications 
 between dfs client and NameNode
 -

 Key: HDFS-1335
 URL: https://issues.apache.org/jira/browse/HDFS-1335
 Project: Hadoop HDFS
  Issue Type: New Feature
  Components: hdfs client, name-node
Affects Versions: 0.22.0
Reporter: Hairong Kuang
Assignee: Hairong Kuang
 Fix For: 0.22.0

 Attachments: hdfsRpcVersion.patch


 The idea is that for getProtocolVersion, NameNode checks if the client and 
 server versions are compatible if the server version is greater than the 
 client version. If no, throws a VersionIncompatible exception; otherwise, 
 returns the server version.
 On the dfs client side, when creating a NameNode proxy, catches the 
 VersionMismatch exception and then checks if the client version and the 
 server version are compatible if the client version is greater than the 
 server version. If not compatible, throws exception VersionIncomptible; 
 otherwise, records the server version and continues.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.



[jira] Commented: (HDFS-1335) HDFS side of HADOOP-6904: first step towards inter-version communications between dfs client and NameNode

2010-08-09 Thread Doug Cutting (JIRA)

[ 
https://issues.apache.org/jira/browse/HDFS-1335?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12896655#action_12896655
 ] 

Doug Cutting commented on HDFS-1335:


If I understand the patch correctly, it still requires an exact version match 
by default.  That seems good.  What I don't understand is how you expect that 
to be altered.  Do you expect folks to update the implementation of 
ProtocolCompatible as protocols evolve?  Perhaps you can give some examples of 
how you expect this to work?

Since there's more than one protocol in HDFS, do you expect to add more methods 
to ProtocolCompatible for each protocol?

 HDFS side of HADOOP-6904: first step towards inter-version communications 
 between dfs client and NameNode
 -

 Key: HDFS-1335
 URL: https://issues.apache.org/jira/browse/HDFS-1335
 Project: Hadoop HDFS
  Issue Type: New Feature
  Components: hdfs client, name-node
Affects Versions: 0.22.0
Reporter: Hairong Kuang
Assignee: Hairong Kuang
 Fix For: 0.22.0

 Attachments: hdfsRpcVersion.patch


 The idea is that for getProtocolVersion, NameNode checks if the client and 
 server versions are compatible if the server version is greater than the 
 client version. If no, throws a VersionIncompatible exception; otherwise, 
 returns the server version.
 On the dfs client side, when creating a NameNode proxy, catches the 
 VersionMismatch exception and then checks if the client version and the 
 server version are compatible if the client version is greater than the 
 server version. If not compatible, throws exception VersionIncomptible; 
 otherwise, records the server version and continues.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.



[jira] Commented: (HDFS-1335) HDFS side of HADOOP-6904: first step towards inter-version communications between dfs client and NameNode

2010-08-09 Thread Hairong Kuang (JIRA)

[ 
https://issues.apache.org/jira/browse/HDFS-1335?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12896748#action_12896748
 ] 

Hairong Kuang commented on HDFS-1335:
-

 Do you expect folks to update the implementation of ProtocolCompatible as 
 protocols evolve?
Yes that's exactly what I expect developers to update.

 Since there's more than one protocol in HDFS, do you expect to add more 
 methods to ProtocolCompatible for each protocol?
This is going to be done on need basis. For this jira, I intend to support only 
ClientProtocol (client  NameNode) compatibility.

 HDFS side of HADOOP-6904: first step towards inter-version communications 
 between dfs client and NameNode
 -

 Key: HDFS-1335
 URL: https://issues.apache.org/jira/browse/HDFS-1335
 Project: Hadoop HDFS
  Issue Type: New Feature
  Components: hdfs client, name-node
Affects Versions: 0.22.0
Reporter: Hairong Kuang
Assignee: Hairong Kuang
 Fix For: 0.22.0

 Attachments: hdfsRpcVersion.patch


 The idea is that for getProtocolVersion, NameNode checks if the client and 
 server versions are compatible if the server version is greater than the 
 client version. If no, throws a VersionIncompatible exception; otherwise, 
 returns the server version.
 On the dfs client side, when creating a NameNode proxy, catches the 
 VersionMismatch exception and then checks if the client version and the 
 server version are compatible if the client version is greater than the 
 server version. If not compatible, throws exception VersionIncomptible; 
 otherwise, records the server version and continues.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.