You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-dev@hadoop.apache.org by "stack (JIRA)" <ji...@apache.org> on 2007/05/24 22:28:16 UTC

[jira] Created: (HADOOP-1429) RPC Server won't go quietly

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
            Priority: Minor


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.


[jira] Assigned: (HADOOP-1429) RPC Server won't go quietly

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

stack reassigned HADOOP-1429:
-----------------------------

    Assignee: stack

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


[jira] Updated: (HADOOP-1429) RPC Server won't go quietly

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

stack updated HADOOP-1429:
--------------------------

    Attachment: noisyshutdown-v2.patch

Thanks for the review Owen.

Here's another cut at a fix.  This patch does nought but set the exception log level to DEBUG from INFO.

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


[jira] Commented: (HADOOP-1429) RPC Server won't go quietly

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

Hadoop QA commented on HADOOP-1429:
-----------------------------------

Integrated in Hadoop-Nightly #101 (See http://lucene.zones.apache.org:8080/hudson/job/Hadoop-Nightly/101/)

> 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
>             Fix For: 0.14.0
>
>         Attachments: noisyshutdown-v2.patch, noisyshutdown-v3.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.


[jira] Updated: (HADOOP-1429) RPC Server won't go quietly

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

stack updated HADOOP-1429:
--------------------------

    Attachment: noisyshutdown.patch

Issue is only offering me the 'resolve' workflow option. Reattaching patch to see if it will provoke jira into offering 'submit patch' as an option.

> 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
>            Priority: Minor
>         Attachments: 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.


Re: [jira] Commented: (HADOOP-1429) RPC Server won't go quietly

Posted by Nigel Daley <nd...@yahoo-inc.com>.
On May 24, 2007, at 7:21 PM, stack (JIRA) wrote:

>
>     [ https://issues.apache.org/jira/browse/HADOOP-1429? 
> page=com.atlassian.jira.plugin.system.issuetabpanels:comment- 
> tabpanel#action_12498912 ]
>
> stack commented on HADOOP-1429:
> -------------------------------
>
> P.S. I notice that at end of build, it says elapsed time is 36  
> minutes.
> The 'Hadoop-Patch' project description says builds are terminated  
> after
> 35 minutes.  Is the build box taking too long to build all?

The comment was wrong - now fixed.  There is no timeout now on Patch  
builds.

Thanks,
Nige

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


[jira] Commented: (HADOOP-1429) RPC Server won't go quietly

Posted by "stack (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HADOOP-1429?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12498912 ] 

stack commented on HADOOP-1429:
-------------------------------

I'm having trouble figuring out the build box.  Pointers appreciated.

Today Hudson ran the small patch in HADOOP-1429 patch 3 times.  The 
first attempt (build #198) succeeded against r541360.  Unprovoked 
(seemingly), it ran the test a second time, build #200, and it failed 
the HDFS TestDecommission junit test (r541442).  This last time, build 
#201, it looks like all hadoop tests pass but it fails on 
org.apache.tools.ant.taskdefs.optional.junit.JUnitTask$1.unknown 
<http://lucene.zones.apache.org:8080/hudson/job/Hadoop-Patch/201/testReport/org.apache.tools.ant.taskdefs.optional.junit/JUnitTask$1/unknown>

A couple of local builds and tests using r541510 succeed.

Thanks for any help on where I'm going wrong,
St.Ack

P.S. I notice that at end of build, it says elapsed time is 36 minutes.  
The 'Hadoop-Patch' project description says builds are terminated after 
35 minutes.  Is the build box taking too long to build all?





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


[jira] Updated: (HADOOP-1429) RPC Server won't go quietly

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

Doug Cutting updated HADOOP-1429:
---------------------------------

       Resolution: Fixed
    Fix Version/s: 0.14.0
           Status: Resolved  (was: Patch Available)

I just committed this.  Thanks, Michael!

> 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
>             Fix For: 0.14.0
>
>         Attachments: noisyshutdown-v2.patch, noisyshutdown-v3.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.


[jira] Commented: (HADOOP-1429) RPC Server won't go quietly

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

Hadoop QA commented on HADOOP-1429:
-----------------------------------

-1, build or testing failed

2 attempts failed to build and test the latest attachment http://issues.apache.org/jira/secure/attachment/12358174/noisyshutdown.patch against trunk revision r541463.

Test results:   http://lucene.zones.apache.org:8080/hudson/job/Hadoop-Patch/201/testReport/
Console output: http://lucene.zones.apache.org:8080/hudson/job/Hadoop-Patch/201/console

Please note that this message is automatically generated and may represent a problem with the automation system and not the patch.

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


[jira] Updated: (HADOOP-1429) RPC Server won't go quietly

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

stack updated HADOOP-1429:
--------------------------

    Status: Patch Available  (was: Open)

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


[jira] Commented: (HADOOP-1429) RPC Server won't go quietly

Posted by "stack (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HADOOP-1429?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12498893 ] 

stack commented on HADOOP-1429:
-------------------------------

Something wrong w/ this issue.  I'm only allowed resolve the issue.  I want to offer the patch again to hudson to see if on a third build it gives me a +1 (the first gave me a +1, a second unprovoked build produced a -1) but jira won't let me.

> 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
>            Priority: Minor
>         Attachments: 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.


[jira] Updated: (HADOOP-1429) RPC Server won't go quietly

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

stack updated HADOOP-1429:
--------------------------

    Status: In Progress  (was: Patch Available)

Odd.  2 hours ago Hudson reported the patch succeeded:

Message-ID: <17...@brutus>
Date: Thu, 24 May 2007 14:01:32 -0700 (PDT)

Hadoop QA commented on HADOOP-1429:
-----------------------------------

+1

http://issues.apache.org/jira/secure/attachment/12358155/noisyshutdown.patch applied and successfully tested against trunk revision r541360.


It builds and passes all tests locally.

Retrying

> 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
>            Priority: Minor
>         Attachments: 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.


[jira] Updated: (HADOOP-1429) RPC Server won't go quietly

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

stack updated HADOOP-1429:
--------------------------

    Status: Patch Available  (was: In Progress)

Mea culpa.  Issue was unassigned.  Assigning myself made it so issue again offered me options.  Resubmitting patch to see what hudson thinks of it this time around.

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


Re: [jira] Updated: (HADOOP-1429) RPC Server won't go quietly

Posted by Michael Stack <st...@duboce.net>.
Doug Cutting wrote:
> To be clear, one should always run unit tests against trunk before 
> marking things "Patch Available".  The Hudson build just confirms that 
> for others.  The reason to mark it "Patch Available" is because you 
> think it's ready to be committed, not because you need it tested, right?
Yes.

St.Ack


Re: [jira] Updated: (HADOOP-1429) RPC Server won't go quietly

Posted by Doug Cutting <cu...@apache.org>.
stack (JIRA) wrote:
>      [ https://issues.apache.org/jira/browse/HADOOP-1429?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
> 
> stack updated HADOOP-1429:
> --------------------------
> 
>     Status: Patch Available  (was: Open)
> 
> Submit to hudson test build

To be clear, one should always run unit tests against trunk before 
marking things "Patch Available".  The Hudson build just confirms that 
for others.  The reason to mark it "Patch Available" is because you 
think it's ready to be committed, not because you need it tested, right?

Doug

[jira] Updated: (HADOOP-1429) RPC Server won't go quietly

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

stack updated HADOOP-1429:
--------------------------

    Status: Patch Available  (was: Open)

Submit to hudson test build

> 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
>            Priority: Minor
>         Attachments: 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.


[jira] Commented: (HADOOP-1429) RPC Server won't go quietly

Posted by "Owen O'Malley (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HADOOP-1429?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12499175 ] 

Owen O'Malley commented on HADOOP-1429:
---------------------------------------

This looks good. +1

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


[jira] Commented: (HADOOP-1429) RPC Server won't go quietly

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

Hadoop QA commented on HADOOP-1429:
-----------------------------------

+1

http://issues.apache.org/jira/secure/attachment/12358266/noisyshutdown-v3.patch applied and successfully tested against trunk revision r541463.

Test results:   http://lucene.zones.apache.org:8080/hudson/job/Hadoop-Patch/203/testReport/
Console output: http://lucene.zones.apache.org:8080/hudson/job/Hadoop-Patch/203/console

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


[jira] Updated: (HADOOP-1429) RPC Server won't go quietly

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

stack updated HADOOP-1429:
--------------------------

    Attachment: noisyshutdown-v3.patch

Thanks for the review D (I presume you meant InterruptedException rather than IOE in the above).

Here's a third attempt.  Adds an InterruptedException clause at top-level and logs the interrupt unless 'running' is not set.

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


[jira] Updated: (HADOOP-1429) RPC Server won't go quietly

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

stack updated HADOOP-1429:
--------------------------

    Status: Patch Available  (was: Open)

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


Re: [jira] Commented: (HADOOP-1429) RPC Server won't go quietly

Posted by Michael Stack <st...@duboce.net>.
Odd.  2 hours ago Hudson reported the patch succeeded:

Hadoop QA commented on HADOOP-1429:
-----------------------------------

+1

http://issues.apache.org/jira/secure/attachment/12358155/noisyshutdown.patch applied and 
successfully tested against trunk revision r541360.


It builds and passes all tests locally. 

I'll try resubmitting...
St.Ack


Hadoop QA (JIRA) wrote:
>     [ https://issues.apache.org/jira/browse/HADOOP-1429?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12498881 ] 
>
> Hadoop QA commented on HADOOP-1429:
> -----------------------------------
>
> -1, build or testing failed
>
> 2 attempts failed to build and test the latest attachment http://issues.apache.org/jira/secure/attachment/12358155/noisyshutdown.patch against trunk revision r541442.
>
> Test results:   http://lucene.zones.apache.org:8080/hudson/job/Hadoop-Patch/200/testReport/
> Console output: http://lucene.zones.apache.org:8080/hudson/job/Hadoop-Patch/200/console
>
> Please note that this message is automatically generated and may represent a problem with the automation system and not the patch.
>
>   
>> 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
>>            Priority: Minor
>>         Attachments: 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.
>>     
>
>   


[jira] Commented: (HADOOP-1429) RPC Server won't go quietly

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

Hadoop QA commented on HADOOP-1429:
-----------------------------------

-1, build or testing failed

2 attempts failed to build and test the latest attachment http://issues.apache.org/jira/secure/attachment/12358155/noisyshutdown.patch against trunk revision r541442.

Test results:   http://lucene.zones.apache.org:8080/hudson/job/Hadoop-Patch/200/testReport/
Console output: http://lucene.zones.apache.org:8080/hudson/job/Hadoop-Patch/200/console

Please note that this message is automatically generated and may represent a problem with the automation system and not the patch.

> 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
>            Priority: Minor
>         Attachments: 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.


[jira] Updated: (HADOOP-1429) RPC Server won't go quietly

Posted by "Doug Cutting (JIRA)" <ji...@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.


[jira] Commented: (HADOOP-1429) RPC Server won't go quietly

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

Hadoop QA commented on HADOOP-1429:
-----------------------------------

+1

http://issues.apache.org/jira/secure/attachment/12358260/noisyshutdown-v2.patch applied and successfully tested against trunk revision r541463.

Test results:   http://lucene.zones.apache.org:8080/hudson/job/Hadoop-Patch/202/testReport/
Console output: http://lucene.zones.apache.org:8080/hudson/job/Hadoop-Patch/202/console

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


[jira] Updated: (HADOOP-1429) RPC Server won't go quietly

Posted by "Owen O'Malley (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HADOOP-1429?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Owen O'Malley updated HADOOP-1429:
----------------------------------

    Status: Open  (was: Patch Available)

I don't think this is a good way of dealing with it. I'd prefer that we catch InterruptedException at the top level, not print anything, and exit the thread. Ignoring InterruptedException is a bad practice that we will need to clean up at some point.

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


[jira] Updated: (HADOOP-1429) RPC Server won't go quietly

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

stack updated HADOOP-1429:
--------------------------

    Attachment: noisyshutdown.patch

Suggested fix.

> 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
>            Priority: Minor
>         Attachments: 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.


[jira] Commented: (HADOOP-1429) RPC Server won't go quietly

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

Hadoop QA commented on HADOOP-1429:
-----------------------------------

+1

http://issues.apache.org/jira/secure/attachment/12358155/noisyshutdown.patch applied and successfully tested against trunk revision r541360.

Test results:   http://lucene.zones.apache.org:8080/hudson/job/Hadoop-Patch/198/testReport/
Console output: http://lucene.zones.apache.org:8080/hudson/job/Hadoop-Patch/198/console

> 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
>            Priority: Minor
>         Attachments: 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.