Return-Path: Delivered-To: apmail-lucene-hadoop-dev-archive@locus.apache.org Received: (qmail 80083 invoked from network); 25 May 2007 17:00:46 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 25 May 2007 17:00:46 -0000 Received: (qmail 41877 invoked by uid 500); 25 May 2007 17:00:50 -0000 Delivered-To: apmail-lucene-hadoop-dev-archive@lucene.apache.org Received: (qmail 41844 invoked by uid 500); 25 May 2007 17:00:50 -0000 Mailing-List: contact hadoop-dev-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: hadoop-dev@lucene.apache.org Delivered-To: mailing list hadoop-dev@lucene.apache.org Received: (qmail 41835 invoked by uid 99); 25 May 2007 17:00:50 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 25 May 2007 10:00:50 -0700 X-ASF-Spam-Status: No, hits=-100.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO brutus.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 25 May 2007 10:00:44 -0700 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 63D33714066 for ; Fri, 25 May 2007 10:00:22 -0700 (PDT) Message-ID: <25290634.1180112422406.JavaMail.jira@brutus> Date: Fri, 25 May 2007 10:00:22 -0700 (PDT) From: "Doug Cutting (JIRA)" To: hadoop-dev@lucene.apache.org Subject: [jira] Updated: (HADOOP-1429) RPC Server won't go quietly In-Reply-To: <556759.1180038496480.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/HADOOP-1429?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Doug Cutting updated HADOOP-1429: --------------------------------- Status: Open (was: Patch Available) We should not change the log level. DEBUG-level messages are normally not printed, and, if a thread exits unexpectedly, we want something logged. The problem here is that InterruptedException isn't unexpected. The problem with the first patch is that might be other calls that throw InterruptedException. So adding a 'catch IOException' clause at the outer level would be preferable. Even then, we might still log it if 'running' is not false, since that's the only case where we expect it. > RPC Server won't go quietly > --------------------------- > > Key: HADOOP-1429 > URL: https://issues.apache.org/jira/browse/HADOOP-1429 > Project: Hadoop > Issue Type: Improvement > Components: ipc > Reporter: stack > Assigned To: stack > Priority: Minor > Attachments: noisyshutdown-v2.patch, noisyshutdown.patch, noisyshutdown.patch > > > Trying to do a controlled shutdown of hbase, the RPC Server spews the following ugly output: > unknown-208-76-47-46:~/Documents/checkouts/hadoop-trunk stack$ ./src/contrib/hbase/bin/hbase master stop > 07/05/24 12:53:47 INFO ipc.Server: Stopping server on 60000 > 07/05/24 12:53:47 INFO ipc.Server: IPC Server handler 0 on 60000 caught: java.lang.InterruptedException > java.lang.InterruptedException > at java.lang.Object.wait(Native Method) > at org.apache.hadoop.ipc.Server$Handler.run(Server.java:541) > 07/05/24 12:53:47 INFO ipc.Server: IPC Server handler 0 on 60000: exiting > unknown-208-76-47-46:~/Documents/checkouts/hadoop-trunk stack$ 07/05/24 12:53:47 INFO ipc.Server: IPC Server handler 1 on 600 > 00 caught: java.lang.InterruptedException > java.lang.InterruptedException > at java.lang.Object.wait(Native Method) > at org.apache.hadoop.ipc.Server$Handler.run(Server.java:541) > 07/05/24 12:53:47 INFO ipc.Server: IPC Server handler 2 on 60000 caught: java.lang.InterruptedException > java.lang.InterruptedException > at java.lang.Object.wait(Native Method) > at org.apache.hadoop.ipc.Server$Handler.run(Server.java:541) > ... > You get the same noise when if run the TestIPC unit test. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.