Return-Path: X-Original-To: apmail-hadoop-common-issues-archive@minotaur.apache.org Delivered-To: apmail-hadoop-common-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id E3AFA9B8C for ; Mon, 26 Mar 2012 03:59:04 +0000 (UTC) Received: (qmail 32324 invoked by uid 500); 26 Mar 2012 03:59:04 -0000 Delivered-To: apmail-hadoop-common-issues-archive@hadoop.apache.org Received: (qmail 32268 invoked by uid 500); 26 Mar 2012 03:59:03 -0000 Mailing-List: contact common-issues-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: common-issues@hadoop.apache.org Delivered-To: mailing list common-issues@hadoop.apache.org Received: (qmail 32235 invoked by uid 99); 26 Mar 2012 03:59:02 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 26 Mar 2012 03:59:02 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 26 Mar 2012 03:59:00 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 5658B346D28 for ; Mon, 26 Mar 2012 03:58:39 +0000 (UTC) Date: Mon, 26 Mar 2012 03:58:39 +0000 (UTC) From: "Aaron T. Myers (Commented) (JIRA)" To: common-issues@hadoop.apache.org Message-ID: <2020932210.15949.1332734319395.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <1833032891.8844.1332522447757.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Commented] (HADOOP-8202) stopproxy() is not closing the proxies correctly MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/HADOOP-8202?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13238088#comment-13238088 ] Aaron T. Myers commented on HADOOP-8202: ---------------------------------------- Hey Hari, thanks for updating the patch to fix TestHealthMonitor. bq. There were test failures. However, it does not seem to be related to stopproxy() changes. I will file jiras on the test failures. Can you list here which tests failed? Can you comment on Todd's comment that he's surprised many HDFS tests didn't fail? Perhaps it's because in most tests where we mock out a protocol object, we never try to close that protocol object. Just a guess. > 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 > Attachments: HADOOP-8202-1.patch, HADOOP-8202-2.patch, HADOOP-8202-3.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