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 (Created) (JIRA)" <ji...@apache.org> on 2012/02/09 05:57:59 UTC
[jira] [Created] (HADOOP-8044) Unify ProtocolMetaInterface and
ProtocolTranslator interface
Unify ProtocolMetaInterface and ProtocolTranslator interface
------------------------------------------------------------
Key: HADOOP-8044
URL: https://issues.apache.org/jira/browse/HADOOP-8044
Project: Hadoop Common
Issue Type: Improvement
Components: ha, ipc
Affects Versions: HA Branch (HDFS-1623)
Reporter: Todd Lipcon
Assignee: Aaron T. Myers
Priority: Minor
Fix For: HA Branch (HDFS-1623)
In the HA branch we have a "ProtocolTranslator" interface which we had to add, and it seems to have the same purpose as the "ProtocolMetaInterface" interface which got added in trunk in the meantime. We should unify the two.
--
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] [Resolved] (HADOOP-8044) Unify ProtocolMetaInterface and
ProtocolTranslator interface
Posted by "Todd Lipcon (Resolved) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HADOOP-8044?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Todd Lipcon resolved HADOOP-8044.
---------------------------------
Resolution: Invalid
Gotcha, that makes sense. Resolving as invalid, sorry for the noise.
> Unify ProtocolMetaInterface and ProtocolTranslator interface
> ------------------------------------------------------------
>
> Key: HADOOP-8044
> URL: https://issues.apache.org/jira/browse/HADOOP-8044
> Project: Hadoop Common
> Issue Type: Improvement
> Components: ha, ipc
> Affects Versions: HA Branch (HDFS-1623)
> Reporter: Todd Lipcon
> Assignee: Aaron T. Myers
> Priority: Minor
> Fix For: HA Branch (HDFS-1623)
>
>
> In the HA branch we have a "ProtocolTranslator" interface which we had to add, and it seems to have the same purpose as the "ProtocolMetaInterface" interface which got added in trunk in the meantime. We should unify the two.
--
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] (HADOOP-8044) Unify ProtocolMetaInterface and
ProtocolTranslator interface
Posted by "Jitendra Nath Pandey (Commented) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HADOOP-8044?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13204310#comment-13204310 ]
Jitendra Nath Pandey commented on HADOOP-8044:
----------------------------------------------
ProtocolMetaInterface is supposed to be used to obtain information about underlying protocol e.g. to check if a method is supported on the server side. Its implementation creates ProtocolMetaInfoPB connection to server and gets protocol signatures. For (contrived)example, in future if we want to add a method to find how many versions of the given protocol are supported at the server, we could add a method in this interface.
I think ProtocolTranslator was added as a mechanism to expose the proxy so as to reach the connectionId.
They have two very different purposes.
> Unify ProtocolMetaInterface and ProtocolTranslator interface
> ------------------------------------------------------------
>
> Key: HADOOP-8044
> URL: https://issues.apache.org/jira/browse/HADOOP-8044
> Project: Hadoop Common
> Issue Type: Improvement
> Components: ha, ipc
> Affects Versions: HA Branch (HDFS-1623)
> Reporter: Todd Lipcon
> Assignee: Aaron T. Myers
> Priority: Minor
> Fix For: HA Branch (HDFS-1623)
>
>
> In the HA branch we have a "ProtocolTranslator" interface which we had to add, and it seems to have the same purpose as the "ProtocolMetaInterface" interface which got added in trunk in the meantime. We should unify the two.
--
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