You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@accumulo.apache.org by "Josh Elser (JIRA)" <ji...@apache.org> on 2014/06/10 17:28:02 UTC

[jira] [Commented] (ACCUMULO-2341) stop-all.sh hung when Accumulo already down

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

Josh Elser commented on ACCUMULO-2341:
--------------------------------------

This stems from the issue that we use the Master to report certain information to stop all of the services ({{accumulo admin stopAll}} and that we will spin indefinitely trying to talk to the Master (done inside {{MasterClient}} as the stack trace shows).

It should be straightforward to add some extra option in how {{MasterClient}} is used by {{Admin.stopServer}} to not spin indefinitely.

> stop-all.sh hung when Accumulo already down
> -------------------------------------------
>
>                 Key: ACCUMULO-2341
>                 URL: https://issues.apache.org/jira/browse/ACCUMULO-2341
>             Project: Accumulo
>          Issue Type: Bug
>    Affects Versions: 1.6.0
>            Reporter: Dave Marion
>            Priority: Trivial
>              Labels: newbie
>
> {noformat}
> "admin" prio=10 tid=0x0000000040d09800 nid=0x124f waiting on condition [0x00007f85db747000]
>    java.lang.Thread.State: TIMED_WAITING (sleeping)
> 	at java.lang.Thread.sleep(Native Method)
> 	at org.apache.accumulo.core.util.UtilWaitThread.sleep(UtilWaitThread.java:26)
> 	at org.apache.accumulo.core.client.impl.MasterClient.getConnectionWithRetry(MasterClient.java:48)
> 	at org.apache.accumulo.core.client.impl.MasterClient.executeGeneric(MasterClient.java:126)
> 	at org.apache.accumulo.core.client.impl.MasterClient.execute(MasterClient.java:171)
> 	at org.apache.accumulo.server.util.Admin.stopServer(Admin.java:292)
> 	at org.apache.accumulo.server.util.Admin.main(Admin.java:195)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> 	at java.lang.reflect.Method.invoke(Method.java:597)
> 	at org.apache.accumulo.start.Main$1.run(Main.java:137)
> 	at java.lang.Thread.run(Thread.java:662)
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.2#6252)