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 "Aaron T. Myers (Created) (JIRA)" <ji...@apache.org> on 2011/12/16 20:46:30 UTC

[jira] [Created] (HADOOP-7931) o.a.h.ipc.WritableRpcEngine should have a way to force initialization

o.a.h.ipc.WritableRpcEngine should have a way to force initialization
---------------------------------------------------------------------

                 Key: HADOOP-7931
                 URL: https://issues.apache.org/jira/browse/HADOOP-7931
             Project: Hadoop Common
          Issue Type: Bug
          Components: ipc
    Affects Versions: 0.24.0
            Reporter: Aaron T. Myers
            Assignee: Aaron T. Myers


{{WritableRpcEngine}} currently relies on a static initializer to register itself with {{o.a.h.ipc.Server}} as a valid {{RpcKind}}. There should be a way to ensure this initialization has already occurred.

--
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-7931) o.a.h.ipc.WritableRpcEngine should have a way to force initialization

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

Suresh Srinivas commented on HADOOP-7931:
-----------------------------------------

Aaron, why not just move the static initialization to ipc.Server. Then there is not need to make a call ensureInitialized() right?
                
> o.a.h.ipc.WritableRpcEngine should have a way to force initialization
> ---------------------------------------------------------------------
>
>                 Key: HADOOP-7931
>                 URL: https://issues.apache.org/jira/browse/HADOOP-7931
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: ipc
>    Affects Versions: 0.24.0
>            Reporter: Aaron T. Myers
>            Assignee: Aaron T. Myers
>         Attachments: HADOOP-7931.patch
>
>
> {{WritableRpcEngine}} currently relies on a static initializer to register itself with {{o.a.h.ipc.Server}} as a valid {{RpcKind}}. There should be a way to ensure this initialization has already occurred.

--
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-7931) o.a.h.ipc.WritableRpcEngine should have a way to force initialization

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

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

bq. Aaron, why not just move the static initialization to ipc.Server. Then there is not need to make a call ensureInitialized() right?

Because presumably o.a.h.ipc.Server is supposed to be independent of underlying {{RpcEngine}} implementations, which is why there's a {{resgisterProtocolEngine}} method in the first place. If that's not in fact a design goal, then sure, adding the initialization to {{ipc.Server}} is fine.
                
> o.a.h.ipc.WritableRpcEngine should have a way to force initialization
> ---------------------------------------------------------------------
>
>                 Key: HADOOP-7931
>                 URL: https://issues.apache.org/jira/browse/HADOOP-7931
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: ipc
>    Affects Versions: 0.24.0
>            Reporter: Aaron T. Myers
>            Assignee: Aaron T. Myers
>         Attachments: HADOOP-7931.patch
>
>
> {{WritableRpcEngine}} currently relies on a static initializer to register itself with {{o.a.h.ipc.Server}} as a valid {{RpcKind}}. There should be a way to ensure this initialization has already occurred.

--
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-7931) o.a.h.ipc.WritableRpcEngine should have a way to force initialization

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

Suresh Srinivas commented on HADOOP-7931:
-----------------------------------------

+1 for your patch. I plan to cleanup this later. The way RpcEngines are initialized is not correct currently. Will clean it up later.
                
> o.a.h.ipc.WritableRpcEngine should have a way to force initialization
> ---------------------------------------------------------------------
>
>                 Key: HADOOP-7931
>                 URL: https://issues.apache.org/jira/browse/HADOOP-7931
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: ipc
>    Affects Versions: 0.24.0
>            Reporter: Aaron T. Myers
>            Assignee: Aaron T. Myers
>         Attachments: HADOOP-7931.patch
>
>
> {{WritableRpcEngine}} currently relies on a static initializer to register itself with {{o.a.h.ipc.Server}} as a valid {{RpcKind}}. There should be a way to ensure this initialization has already occurred.

--
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-7931) o.a.h.ipc.WritableRpcEngine should have a way to force initialization

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

Aaron T. Myers updated HADOOP-7931:
-----------------------------------

       Resolution: Fixed
    Fix Version/s: 0.24.0
     Hadoop Flags: Reviewed
           Status: Resolved  (was: Patch Available)

Thanks a lot for your quick review, Suresh. I've just committed this to trunk.
                
> o.a.h.ipc.WritableRpcEngine should have a way to force initialization
> ---------------------------------------------------------------------
>
>                 Key: HADOOP-7931
>                 URL: https://issues.apache.org/jira/browse/HADOOP-7931
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: ipc
>    Affects Versions: 0.24.0
>            Reporter: Aaron T. Myers
>            Assignee: Aaron T. Myers
>             Fix For: 0.24.0
>
>         Attachments: HADOOP-7931.patch
>
>
> {{WritableRpcEngine}} currently relies on a static initializer to register itself with {{o.a.h.ipc.Server}} as a valid {{RpcKind}}. There should be a way to ensure this initialization has already occurred.

--
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-7931) o.a.h.ipc.WritableRpcEngine should have a way to force initialization

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

Suresh Srinivas commented on HADOOP-7931:
-----------------------------------------

Ignore my previous comment - will take a look at this issue more closely.
                
> o.a.h.ipc.WritableRpcEngine should have a way to force initialization
> ---------------------------------------------------------------------
>
>                 Key: HADOOP-7931
>                 URL: https://issues.apache.org/jira/browse/HADOOP-7931
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: ipc
>    Affects Versions: 0.24.0
>            Reporter: Aaron T. Myers
>            Assignee: Aaron T. Myers
>         Attachments: HADOOP-7931.patch
>
>
> {{WritableRpcEngine}} currently relies on a static initializer to register itself with {{o.a.h.ipc.Server}} as a valid {{RpcKind}}. There should be a way to ensure this initialization has already occurred.

--
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-7931) o.a.h.ipc.WritableRpcEngine should have a way to force initialization

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

Hudson commented on HADOOP-7931:
--------------------------------

Integrated in Hadoop-Hdfs-trunk-Commit #1519 (See [https://builds.apache.org/job/Hadoop-Hdfs-trunk-Commit/1519/])
    HADOOP-7931. o.a.h.ipc.WritableRpcEngine should have a way to force initialization. Contributed by Aaron T. Myers

atm : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1215358
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/WritableRpcEngine.java

                
> o.a.h.ipc.WritableRpcEngine should have a way to force initialization
> ---------------------------------------------------------------------
>
>                 Key: HADOOP-7931
>                 URL: https://issues.apache.org/jira/browse/HADOOP-7931
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: ipc
>    Affects Versions: 0.24.0
>            Reporter: Aaron T. Myers
>            Assignee: Aaron T. Myers
>             Fix For: 0.24.0
>
>         Attachments: HADOOP-7931.patch
>
>
> {{WritableRpcEngine}} currently relies on a static initializer to register itself with {{o.a.h.ipc.Server}} as a valid {{RpcKind}}. There should be a way to ensure this initialization has already occurred.

--
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-7931) o.a.h.ipc.WritableRpcEngine should have a way to force initialization

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

Hudson commented on HADOOP-7931:
--------------------------------

Integrated in Hadoop-Mapreduce-trunk #930 (See [https://builds.apache.org/job/Hadoop-Mapreduce-trunk/930/])
    HADOOP-7931. o.a.h.ipc.WritableRpcEngine should have a way to force initialization. Contributed by Aaron T. Myers

atm : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1215358
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/WritableRpcEngine.java

                
> o.a.h.ipc.WritableRpcEngine should have a way to force initialization
> ---------------------------------------------------------------------
>
>                 Key: HADOOP-7931
>                 URL: https://issues.apache.org/jira/browse/HADOOP-7931
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: ipc
>    Affects Versions: 0.24.0
>            Reporter: Aaron T. Myers
>            Assignee: Aaron T. Myers
>             Fix For: 0.24.0
>
>         Attachments: HADOOP-7931.patch
>
>
> {{WritableRpcEngine}} currently relies on a static initializer to register itself with {{o.a.h.ipc.Server}} as a valid {{RpcKind}}. There should be a way to ensure this initialization has already occurred.

--
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-7931) o.a.h.ipc.WritableRpcEngine should have a way to force initialization

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

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

I tested this patch by applying this with the patch posted on HDFS-2694 and confirmed manually that the NN protocols which still use WritableRpcEngine work again with these patches.
                
> o.a.h.ipc.WritableRpcEngine should have a way to force initialization
> ---------------------------------------------------------------------
>
>                 Key: HADOOP-7931
>                 URL: https://issues.apache.org/jira/browse/HADOOP-7931
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: ipc
>    Affects Versions: 0.24.0
>            Reporter: Aaron T. Myers
>            Assignee: Aaron T. Myers
>         Attachments: HADOOP-7931.patch
>
>
> {{WritableRpcEngine}} currently relies on a static initializer to register itself with {{o.a.h.ipc.Server}} as a valid {{RpcKind}}. There should be a way to ensure this initialization has already occurred.

--
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-7931) o.a.h.ipc.WritableRpcEngine should have a way to force initialization

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

Aaron T. Myers updated HADOOP-7931:
-----------------------------------

    Attachment: HADOOP-7931.patch

Patch which addresses the issue.
                
> o.a.h.ipc.WritableRpcEngine should have a way to force initialization
> ---------------------------------------------------------------------
>
>                 Key: HADOOP-7931
>                 URL: https://issues.apache.org/jira/browse/HADOOP-7931
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: ipc
>    Affects Versions: 0.24.0
>            Reporter: Aaron T. Myers
>            Assignee: Aaron T. Myers
>         Attachments: HADOOP-7931.patch
>
>
> {{WritableRpcEngine}} currently relies on a static initializer to register itself with {{o.a.h.ipc.Server}} as a valid {{RpcKind}}. There should be a way to ensure this initialization has already occurred.

--
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-7931) o.a.h.ipc.WritableRpcEngine should have a way to force initialization

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

Hadoop QA commented on HADOOP-7931:
-----------------------------------

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

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

    -1 tests included.  The patch doesn't appear to include any new or modified tests.
                        Please justify why no new tests are needed for this patch.
                        Also please list what manual steps were performed to verify this patch.

    -1 javadoc.  The javadoc tool appears to have generated 5 warning messages.

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

    +1 eclipse:eclipse.  The patch built with eclipse:eclipse.

    +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/481//testReport/
Console output: https://builds.apache.org/job/PreCommit-HADOOP-Build/481//console

This message is automatically generated.
                
> o.a.h.ipc.WritableRpcEngine should have a way to force initialization
> ---------------------------------------------------------------------
>
>                 Key: HADOOP-7931
>                 URL: https://issues.apache.org/jira/browse/HADOOP-7931
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: ipc
>    Affects Versions: 0.24.0
>            Reporter: Aaron T. Myers
>            Assignee: Aaron T. Myers
>         Attachments: HADOOP-7931.patch
>
>
> {{WritableRpcEngine}} currently relies on a static initializer to register itself with {{o.a.h.ipc.Server}} as a valid {{RpcKind}}. There should be a way to ensure this initialization has already occurred.

--
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-7931) o.a.h.ipc.WritableRpcEngine should have a way to force initialization

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

Hudson commented on HADOOP-7931:
--------------------------------

Integrated in Hadoop-Hdfs-trunk #897 (See [https://builds.apache.org/job/Hadoop-Hdfs-trunk/897/])
    HADOOP-7931. o.a.h.ipc.WritableRpcEngine should have a way to force initialization. Contributed by Aaron T. Myers

atm : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1215358
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/WritableRpcEngine.java

                
> o.a.h.ipc.WritableRpcEngine should have a way to force initialization
> ---------------------------------------------------------------------
>
>                 Key: HADOOP-7931
>                 URL: https://issues.apache.org/jira/browse/HADOOP-7931
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: ipc
>    Affects Versions: 0.24.0
>            Reporter: Aaron T. Myers
>            Assignee: Aaron T. Myers
>             Fix For: 0.24.0
>
>         Attachments: HADOOP-7931.patch
>
>
> {{WritableRpcEngine}} currently relies on a static initializer to register itself with {{o.a.h.ipc.Server}} as a valid {{RpcKind}}. There should be a way to ensure this initialization has already occurred.

--
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-7931) o.a.h.ipc.WritableRpcEngine should have a way to force initialization

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

Hudson commented on HADOOP-7931:
--------------------------------

Integrated in Hadoop-Common-trunk-Commit #1446 (See [https://builds.apache.org/job/Hadoop-Common-trunk-Commit/1446/])
    HADOOP-7931. o.a.h.ipc.WritableRpcEngine should have a way to force initialization. Contributed by Aaron T. Myers

atm : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1215358
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/WritableRpcEngine.java

                
> o.a.h.ipc.WritableRpcEngine should have a way to force initialization
> ---------------------------------------------------------------------
>
>                 Key: HADOOP-7931
>                 URL: https://issues.apache.org/jira/browse/HADOOP-7931
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: ipc
>    Affects Versions: 0.24.0
>            Reporter: Aaron T. Myers
>            Assignee: Aaron T. Myers
>             Fix For: 0.24.0
>
>         Attachments: HADOOP-7931.patch
>
>
> {{WritableRpcEngine}} currently relies on a static initializer to register itself with {{o.a.h.ipc.Server}} as a valid {{RpcKind}}. There should be a way to ensure this initialization has already occurred.

--
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-7931) o.a.h.ipc.WritableRpcEngine should have a way to force initialization

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

Hudson commented on HADOOP-7931:
--------------------------------

Integrated in Hadoop-Mapreduce-trunk-Commit #1470 (See [https://builds.apache.org/job/Hadoop-Mapreduce-trunk-Commit/1470/])
    HADOOP-7931. o.a.h.ipc.WritableRpcEngine should have a way to force initialization. Contributed by Aaron T. Myers

atm : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1215358
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/WritableRpcEngine.java

                
> o.a.h.ipc.WritableRpcEngine should have a way to force initialization
> ---------------------------------------------------------------------
>
>                 Key: HADOOP-7931
>                 URL: https://issues.apache.org/jira/browse/HADOOP-7931
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: ipc
>    Affects Versions: 0.24.0
>            Reporter: Aaron T. Myers
>            Assignee: Aaron T. Myers
>             Fix For: 0.24.0
>
>         Attachments: HADOOP-7931.patch
>
>
> {{WritableRpcEngine}} currently relies on a static initializer to register itself with {{o.a.h.ipc.Server}} as a valid {{RpcKind}}. There should be a way to ensure this initialization has already occurred.

--
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-7931) o.a.h.ipc.WritableRpcEngine should have a way to force initialization

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

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

    Fix Version/s: 0.23.3

I have merged this to 0.23.
                
> o.a.h.ipc.WritableRpcEngine should have a way to force initialization
> ---------------------------------------------------------------------
>
>                 Key: HADOOP-7931
>                 URL: https://issues.apache.org/jira/browse/HADOOP-7931
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: ipc
>    Affects Versions: 0.24.0
>            Reporter: Aaron T. Myers
>            Assignee: Aaron T. Myers
>             Fix For: 0.24.0, 0.23.3
>
>         Attachments: HADOOP-7931.patch
>
>
> {{WritableRpcEngine}} currently relies on a static initializer to register itself with {{o.a.h.ipc.Server}} as a valid {{RpcKind}}. There should be a way to ensure this initialization has already occurred.

--
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-7931) o.a.h.ipc.WritableRpcEngine should have a way to force initialization

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

Aaron T. Myers updated HADOOP-7931:
-----------------------------------

    Status: Patch Available  (was: Open)
    
> o.a.h.ipc.WritableRpcEngine should have a way to force initialization
> ---------------------------------------------------------------------
>
>                 Key: HADOOP-7931
>                 URL: https://issues.apache.org/jira/browse/HADOOP-7931
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: ipc
>    Affects Versions: 0.24.0
>            Reporter: Aaron T. Myers
>            Assignee: Aaron T. Myers
>         Attachments: HADOOP-7931.patch
>
>
> {{WritableRpcEngine}} currently relies on a static initializer to register itself with {{o.a.h.ipc.Server}} as a valid {{RpcKind}}. There should be a way to ensure this initialization has already occurred.

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