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 "Suresh Srinivas (Issue Comment Edited) (JIRA)" <ji...@apache.org> on 2012/03/27 05:55:40 UTC

[jira] [Issue Comment Edited] (HADOOP-8202) stopproxy() is not closing the proxies correctly

    [ https://issues.apache.org/jira/browse/HADOOP-8202?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13239152#comment-13239152 ] 

Suresh Srinivas edited comment on HADOOP-8202 at 3/27/12 3:54 AM:
------------------------------------------------------------------

bq. This broke TestZKFailoverController, since it's now getting IllegalArgumentException trying to close the proxy.
HADOOP-8219 created.
                
      was (Author: sureshms):
    bq. This broke TestZKFailoverController, since it's now getting IllegalArgumentException trying to close the proxy.
HDFS-8219 created.
                  
> stopproxy() is not closing the proxies correctly
> ------------------------------------------------
>
>                 Key: HADOOP-8202
>                 URL: https://issues.apache.org/jira/browse/HADOOP-8202
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: ipc
>    Affects Versions: 0.24.0
>            Reporter: Hari Mankude
>            Assignee: Hari Mankude
>            Priority: Minor
>             Fix For: 0.23.3, 0.24.0
>
>         Attachments: HADOOP-8202-1.patch, HADOOP-8202-2.patch, HADOOP-8202-3.patch, HADOOP-8202-4.patch, HADOOP-8202.patch, HADOOP-8202.patch
>
>
> I was running testbackupnode and noticed that NNprotocol proxy was not being closed. Talked with Suresh and he observed that most of the protocols do not implement ProtocolTranslator and hence the logic in stopproxy() does not work. Instead, since all of them are closeable, Suresh suggested that closeable property should be used at close.

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