hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Allen Wittenauer (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HADOOP-8558) Hadoop RPC does not allow protocol extension with common interfaces.
Date Mon, 02 Mar 2015 16:51:06 GMT

     [ https://issues.apache.org/jira/browse/HADOOP-8558?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Allen Wittenauer updated HADOOP-8558:
-------------------------------------
    Fix Version/s:     (was: 3.0.0)

> Hadoop RPC does not allow protocol extension with common interfaces.
> --------------------------------------------------------------------
>
>                 Key: HADOOP-8558
>                 URL: https://issues.apache.org/jira/browse/HADOOP-8558
>             Project: Hadoop Common
>          Issue Type: Bug
>    Affects Versions: 2.0.0-alpha
>            Reporter: Konstantin Shvachko
>            Assignee: Konstantin Shvachko
>         Attachments: TestProtocolExtension.java, TestProtocolExtension.java
>
>
> Hadoop RPC fails if MyProtocol extends an interface, which is not a VersionedProtocol
even if MyProtocol extends also VersionedProtocol. The reason is that Invocation uses Method.getDeclaringClass(),
which returns the interface class rather than the class of MyProtocol.
> This is incompatible with former versions.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message