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 "Doug Cutting (Created) (JIRA)" <ji...@apache.org> on 2011/09/29 01:29:45 UTC

[jira] [Created] (HADOOP-7693) fix RPC.Server#addProtocol to work in AvroRpcEngine

fix RPC.Server#addProtocol to work in AvroRpcEngine
---------------------------------------------------

                 Key: HADOOP-7693
                 URL: https://issues.apache.org/jira/browse/HADOOP-7693
             Project: Hadoop Common
          Issue Type: Improvement
          Components: ipc
            Reporter: Doug Cutting
            Assignee: Doug Cutting


HADOOP-7524 introduced a new way of passing protocols to RPC servers, but it was not implemented correctly by AvroRpcEngine in that issue.  This is required to fix HDFS-2298.

--
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-7693) fix RPC.Server#addProtocol to work in AvroRpcEngine

Posted by "Hudson (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HADOOP-7693?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13118367#comment-13118367 ] 

Hudson commented on HADOOP-7693:
--------------------------------

Integrated in Hadoop-Mapreduce-trunk #846 (See [https://builds.apache.org/job/Hadoop-Mapreduce-trunk/846/])
    HADOOP-7693.  Moving to 0.24 section for now.
HADOOP-7693. Enhance AvroRpcEngine to support the new #addProtocol introduced in HADOOP-724.

cutting : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1177408
Files : 
* /hadoop/common/trunk/hadoop-common-project/hadoop-common/CHANGES.txt

cutting : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1177399
Files : 
* /hadoop/common/trunk/hadoop-common-project/hadoop-common/CHANGES.txt
* /hadoop/common/trunk/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/ipc/AvroRpcEngine.java
* /hadoop/common/trunk/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/ipc/RPC.java
* /hadoop/common/trunk/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/ipc/WritableRpcEngine.java
* /hadoop/common/trunk/hadoop-common-project/hadoop-common/src/test/java/org/apache/hadoop/ipc/TestAvroRpc.java

                
> fix RPC.Server#addProtocol to work in AvroRpcEngine
> ---------------------------------------------------
>
>                 Key: HADOOP-7693
>                 URL: https://issues.apache.org/jira/browse/HADOOP-7693
>             Project: Hadoop Common
>          Issue Type: Improvement
>          Components: ipc
>            Reporter: Doug Cutting
>            Assignee: Doug Cutting
>             Fix For: 0.24.0
>
>         Attachments: HADOOP-7693.patch, HADOOP-7693.patch
>
>
> HADOOP-7524 introduced a new way of passing protocols to RPC servers, but it was not implemented correctly by AvroRpcEngine in that issue.  This is required to fix HDFS-2298.

--
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-7693) fix RPC.Server#addProtocol to work in AvroRpcEngine

Posted by "Aaron T. Myers (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HADOOP-7693?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13117522#comment-13117522 ] 

Aaron T. Myers commented on HADOOP-7693:
----------------------------------------

+1, the patch looks good to me.

One tiny nit: You might consider putting a space after the "," in your generic type declarations, e.g.:

{code}
private Map<String,Responder> responders = new HashMap<String,Responder>();
{code}
                
> fix RPC.Server#addProtocol to work in AvroRpcEngine
> ---------------------------------------------------
>
>                 Key: HADOOP-7693
>                 URL: https://issues.apache.org/jira/browse/HADOOP-7693
>             Project: Hadoop Common
>          Issue Type: Improvement
>          Components: ipc
>            Reporter: Doug Cutting
>            Assignee: Doug Cutting
>         Attachments: HADOOP-7693.patch, HADOOP-7693.patch
>
>
> HADOOP-7524 introduced a new way of passing protocols to RPC servers, but it was not implemented correctly by AvroRpcEngine in that issue.  This is required to fix HDFS-2298.

--
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] [Updated] (HADOOP-7693) fix RPC.Server#addProtocol to work in AvroRpcEngine

Posted by "Tsz Wo (Nicholas), SZE (Updated) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HADOOP-7693?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Tsz Wo (Nicholas), SZE updated HADOOP-7693:
-------------------------------------------

    Target Version/s: 0.23.0, 0.24.0  (was: 0.24.0, 0.23.0)
       Fix Version/s: 0.23.3

I have merged this to 0.23.
                
> fix RPC.Server#addProtocol to work in AvroRpcEngine
> ---------------------------------------------------
>
>                 Key: HADOOP-7693
>                 URL: https://issues.apache.org/jira/browse/HADOOP-7693
>             Project: Hadoop Common
>          Issue Type: Improvement
>          Components: ipc
>            Reporter: Doug Cutting
>            Assignee: Doug Cutting
>             Fix For: 0.24.0, 0.23.3
>
>         Attachments: HADOOP-7693.patch, HADOOP-7693.patch
>
>
> HADOOP-7524 introduced a new way of passing protocols to RPC servers, but it was not implemented correctly by AvroRpcEngine in that issue.  This is required to fix HDFS-2298.

--
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-7693) fix RPC.Server#addProtocol to work in AvroRpcEngine

Posted by "Hudson (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HADOOP-7693?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13117728#comment-13117728 ] 

Hudson commented on HADOOP-7693:
--------------------------------

Integrated in Hadoop-Mapreduce-trunk-Commit #1009 (See [https://builds.apache.org/job/Hadoop-Mapreduce-trunk-Commit/1009/])
    HADOOP-7693.  Moving to 0.24 section for now.
HADOOP-7693. Enhance AvroRpcEngine to support the new #addProtocol introduced in HADOOP-724.

cutting : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1177408
Files : 
* /hadoop/common/trunk/hadoop-common-project/hadoop-common/CHANGES.txt

cutting : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1177399
Files : 
* /hadoop/common/trunk/hadoop-common-project/hadoop-common/CHANGES.txt
* /hadoop/common/trunk/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/ipc/AvroRpcEngine.java
* /hadoop/common/trunk/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/ipc/RPC.java
* /hadoop/common/trunk/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/ipc/WritableRpcEngine.java
* /hadoop/common/trunk/hadoop-common-project/hadoop-common/src/test/java/org/apache/hadoop/ipc/TestAvroRpc.java

                
> fix RPC.Server#addProtocol to work in AvroRpcEngine
> ---------------------------------------------------
>
>                 Key: HADOOP-7693
>                 URL: https://issues.apache.org/jira/browse/HADOOP-7693
>             Project: Hadoop Common
>          Issue Type: Improvement
>          Components: ipc
>            Reporter: Doug Cutting
>            Assignee: Doug Cutting
>             Fix For: 0.24.0
>
>         Attachments: HADOOP-7693.patch, HADOOP-7693.patch
>
>
> HADOOP-7524 introduced a new way of passing protocols to RPC servers, but it was not implemented correctly by AvroRpcEngine in that issue.  This is required to fix HDFS-2298.

--
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-7693) fix RPC.Server#addProtocol to work in AvroRpcEngine

Posted by "Hudson (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HADOOP-7693?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13118029#comment-13118029 ] 

Hudson commented on HADOOP-7693:
--------------------------------

Integrated in Hadoop-Hdfs-trunk #816 (See [https://builds.apache.org/job/Hadoop-Hdfs-trunk/816/])
    HADOOP-7693.  Moving to 0.24 section for now.
HADOOP-7693. Enhance AvroRpcEngine to support the new #addProtocol introduced in HADOOP-724.

cutting : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1177408
Files : 
* /hadoop/common/trunk/hadoop-common-project/hadoop-common/CHANGES.txt

cutting : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1177399
Files : 
* /hadoop/common/trunk/hadoop-common-project/hadoop-common/CHANGES.txt
* /hadoop/common/trunk/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/ipc/AvroRpcEngine.java
* /hadoop/common/trunk/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/ipc/RPC.java
* /hadoop/common/trunk/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/ipc/WritableRpcEngine.java
* /hadoop/common/trunk/hadoop-common-project/hadoop-common/src/test/java/org/apache/hadoop/ipc/TestAvroRpc.java

                
> fix RPC.Server#addProtocol to work in AvroRpcEngine
> ---------------------------------------------------
>
>                 Key: HADOOP-7693
>                 URL: https://issues.apache.org/jira/browse/HADOOP-7693
>             Project: Hadoop Common
>          Issue Type: Improvement
>          Components: ipc
>            Reporter: Doug Cutting
>            Assignee: Doug Cutting
>             Fix For: 0.24.0
>
>         Attachments: HADOOP-7693.patch, HADOOP-7693.patch
>
>
> HADOOP-7524 introduced a new way of passing protocols to RPC servers, but it was not implemented correctly by AvroRpcEngine in that issue.  This is required to fix HDFS-2298.

--
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] [Updated] (HADOOP-7693) fix RPC.Server#addProtocol to work in AvroRpcEngine

Posted by "Tsz Wo (Nicholas), SZE (Updated) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HADOOP-7693?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Tsz Wo (Nicholas), SZE updated HADOOP-7693:
-------------------------------------------

          Resolution: Fixed
    Target Version/s: 0.23.0, 0.24.0  (was: 0.24.0, 0.23.0)
              Status: Resolved  (was: Patch Available)
    
> fix RPC.Server#addProtocol to work in AvroRpcEngine
> ---------------------------------------------------
>
>                 Key: HADOOP-7693
>                 URL: https://issues.apache.org/jira/browse/HADOOP-7693
>             Project: Hadoop Common
>          Issue Type: Improvement
>          Components: ipc
>            Reporter: Doug Cutting
>            Assignee: Doug Cutting
>             Fix For: 0.24.0, 0.23.3
>
>         Attachments: HADOOP-7693.patch, HADOOP-7693.patch
>
>
> HADOOP-7524 introduced a new way of passing protocols to RPC servers, but it was not implemented correctly by AvroRpcEngine in that issue.  This is required to fix HDFS-2298.

--
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] [Updated] (HADOOP-7693) fix RPC.Server#addProtocol to work in AvroRpcEngine

Posted by "Doug Cutting (Updated) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HADOOP-7693?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Doug Cutting updated HADOOP-7693:
---------------------------------

    Target Version/s: 0.23.0, 0.24.0  (was: 0.24.0, 0.23.0)
       Fix Version/s: 0.24.0

Committed to trunk, but not yet to 0.23 branch.
                
> fix RPC.Server#addProtocol to work in AvroRpcEngine
> ---------------------------------------------------
>
>                 Key: HADOOP-7693
>                 URL: https://issues.apache.org/jira/browse/HADOOP-7693
>             Project: Hadoop Common
>          Issue Type: Improvement
>          Components: ipc
>            Reporter: Doug Cutting
>            Assignee: Doug Cutting
>             Fix For: 0.24.0
>
>         Attachments: HADOOP-7693.patch, HADOOP-7693.patch
>
>
> HADOOP-7524 introduced a new way of passing protocols to RPC servers, but it was not implemented correctly by AvroRpcEngine in that issue.  This is required to fix HDFS-2298.

--
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] [Updated] (HADOOP-7693) fix RPC.Server#addProtocol to work in AvroRpcEngine

Posted by "Doug Cutting (Updated) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HADOOP-7693?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Doug Cutting updated HADOOP-7693:
---------------------------------

    Target Version/s: 0.23.0, 0.24.0  (was: 0.24.0, 0.23.0)
              Status: Patch Available  (was: Open)
    
> fix RPC.Server#addProtocol to work in AvroRpcEngine
> ---------------------------------------------------
>
>                 Key: HADOOP-7693
>                 URL: https://issues.apache.org/jira/browse/HADOOP-7693
>             Project: Hadoop Common
>          Issue Type: Improvement
>          Components: ipc
>            Reporter: Doug Cutting
>            Assignee: Doug Cutting
>         Attachments: HADOOP-7693.patch, HADOOP-7693.patch
>
>
> HADOOP-7524 introduced a new way of passing protocols to RPC servers, but it was not implemented correctly by AvroRpcEngine in that issue.  This is required to fix HDFS-2298.

--
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-7693) fix RPC.Server#addProtocol to work in AvroRpcEngine

Posted by "Hadoop QA (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HADOOP-7693?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13117474#comment-13117474 ] 

Hadoop QA commented on HADOOP-7693:
-----------------------------------

+1 overall.  Here are the results of testing the latest attachment 
  http://issues.apache.org/jira/secure/attachment/12497026/HADOOP-7693.patch
  against trunk revision .

    +1 @author.  The patch does not contain any @author tags.

    +1 tests included.  The patch appears to include 3 new or modified tests.

    +1 javadoc.  The javadoc tool did not generate any warning messages.

    +1 javac.  The applied patch does not increase the total number of javac compiler warnings.

    +1 findbugs.  The patch does not introduce any new Findbugs (version 1.3.9) warnings.

    +1 release audit.  The applied patch does not increase the total number of release audit warnings.

    +1 core tests.  The patch passed unit tests in .

    +1 contrib tests.  The patch passed contrib unit tests.

Test results: https://builds.apache.org/job/PreCommit-HADOOP-Build/245//testReport/
Console output: https://builds.apache.org/job/PreCommit-HADOOP-Build/245//console

This message is automatically generated.
                
> fix RPC.Server#addProtocol to work in AvroRpcEngine
> ---------------------------------------------------
>
>                 Key: HADOOP-7693
>                 URL: https://issues.apache.org/jira/browse/HADOOP-7693
>             Project: Hadoop Common
>          Issue Type: Improvement
>          Components: ipc
>            Reporter: Doug Cutting
>            Assignee: Doug Cutting
>         Attachments: HADOOP-7693.patch, HADOOP-7693.patch
>
>
> HADOOP-7524 introduced a new way of passing protocols to RPC servers, but it was not implemented correctly by AvroRpcEngine in that issue.  This is required to fix HDFS-2298.

--
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-7693) fix RPC.Server#addProtocol to work in AvroRpcEngine

Posted by "Hudson (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HADOOP-7693?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13117692#comment-13117692 ] 

Hudson commented on HADOOP-7693:
--------------------------------

Integrated in Hadoop-Hdfs-trunk-Commit #1065 (See [https://builds.apache.org/job/Hadoop-Hdfs-trunk-Commit/1065/])
    HADOOP-7693.  Moving to 0.24 section for now.
HADOOP-7693. Enhance AvroRpcEngine to support the new #addProtocol introduced in HADOOP-724.

cutting : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1177408
Files : 
* /hadoop/common/trunk/hadoop-common-project/hadoop-common/CHANGES.txt

cutting : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1177399
Files : 
* /hadoop/common/trunk/hadoop-common-project/hadoop-common/CHANGES.txt
* /hadoop/common/trunk/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/ipc/AvroRpcEngine.java
* /hadoop/common/trunk/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/ipc/RPC.java
* /hadoop/common/trunk/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/ipc/WritableRpcEngine.java
* /hadoop/common/trunk/hadoop-common-project/hadoop-common/src/test/java/org/apache/hadoop/ipc/TestAvroRpc.java

                
> fix RPC.Server#addProtocol to work in AvroRpcEngine
> ---------------------------------------------------
>
>                 Key: HADOOP-7693
>                 URL: https://issues.apache.org/jira/browse/HADOOP-7693
>             Project: Hadoop Common
>          Issue Type: Improvement
>          Components: ipc
>            Reporter: Doug Cutting
>            Assignee: Doug Cutting
>             Fix For: 0.24.0
>
>         Attachments: HADOOP-7693.patch, HADOOP-7693.patch
>
>
> HADOOP-7524 introduced a new way of passing protocols to RPC servers, but it was not implemented correctly by AvroRpcEngine in that issue.  This is required to fix HDFS-2298.

--
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] [Updated] (HADOOP-7693) fix RPC.Server#addProtocol to work in AvroRpcEngine

Posted by "Doug Cutting (Updated) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HADOOP-7693?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Doug Cutting updated HADOOP-7693:
---------------------------------

    Attachment: HADOOP-7693.patch

Here's a new version of the patch that adds tests.  The test required loosening the signature of RPC.Server#addProtocol().  This used to require that added protocols implemented VersionedProtocol, which isn't required for AvroRpcEngine, since Avro handles protocol versioning differently.
                
> fix RPC.Server#addProtocol to work in AvroRpcEngine
> ---------------------------------------------------
>
>                 Key: HADOOP-7693
>                 URL: https://issues.apache.org/jira/browse/HADOOP-7693
>             Project: Hadoop Common
>          Issue Type: Improvement
>          Components: ipc
>            Reporter: Doug Cutting
>            Assignee: Doug Cutting
>         Attachments: HADOOP-7693.patch, HADOOP-7693.patch
>
>
> HADOOP-7524 introduced a new way of passing protocols to RPC servers, but it was not implemented correctly by AvroRpcEngine in that issue.  This is required to fix HDFS-2298.

--
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-7693) fix RPC.Server#addProtocol to work in AvroRpcEngine

Posted by "Hudson (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HADOOP-7693?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13117698#comment-13117698 ] 

Hudson commented on HADOOP-7693:
--------------------------------

Integrated in Hadoop-Common-trunk-Commit #987 (See [https://builds.apache.org/job/Hadoop-Common-trunk-Commit/987/])
    HADOOP-7693.  Moving to 0.24 section for now.
HADOOP-7693. Enhance AvroRpcEngine to support the new #addProtocol introduced in HADOOP-724.

cutting : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1177408
Files : 
* /hadoop/common/trunk/hadoop-common-project/hadoop-common/CHANGES.txt

cutting : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1177399
Files : 
* /hadoop/common/trunk/hadoop-common-project/hadoop-common/CHANGES.txt
* /hadoop/common/trunk/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/ipc/AvroRpcEngine.java
* /hadoop/common/trunk/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/ipc/RPC.java
* /hadoop/common/trunk/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/ipc/WritableRpcEngine.java
* /hadoop/common/trunk/hadoop-common-project/hadoop-common/src/test/java/org/apache/hadoop/ipc/TestAvroRpc.java

                
> fix RPC.Server#addProtocol to work in AvroRpcEngine
> ---------------------------------------------------
>
>                 Key: HADOOP-7693
>                 URL: https://issues.apache.org/jira/browse/HADOOP-7693
>             Project: Hadoop Common
>          Issue Type: Improvement
>          Components: ipc
>            Reporter: Doug Cutting
>            Assignee: Doug Cutting
>             Fix For: 0.24.0
>
>         Attachments: HADOOP-7693.patch, HADOOP-7693.patch
>
>
> HADOOP-7524 introduced a new way of passing protocols to RPC servers, but it was not implemented correctly by AvroRpcEngine in that issue.  This is required to fix HDFS-2298.

--
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] [Updated] (HADOOP-7693) fix RPC.Server#addProtocol to work in AvroRpcEngine

Posted by "Doug Cutting (Updated) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HADOOP-7693?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Doug Cutting updated HADOOP-7693:
---------------------------------

    Attachment: HADOOP-7693.patch

Here's a patch for this.
                
> fix RPC.Server#addProtocol to work in AvroRpcEngine
> ---------------------------------------------------
>
>                 Key: HADOOP-7693
>                 URL: https://issues.apache.org/jira/browse/HADOOP-7693
>             Project: Hadoop Common
>          Issue Type: Improvement
>          Components: ipc
>            Reporter: Doug Cutting
>            Assignee: Doug Cutting
>         Attachments: HADOOP-7693.patch
>
>
> HADOOP-7524 introduced a new way of passing protocols to RPC servers, but it was not implemented correctly by AvroRpcEngine in that issue.  This is required to fix HDFS-2298.

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