accumulo-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Josh Elser (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (ACCUMULO-2341) stop-all.sh hung when Accumulo already down
Date Tue, 10 Jun 2014 15:28:02 GMT

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

Mime
View raw message