accumulo-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Christopher Tubbs (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (ACCUMULO-1634) Confusing shutdown message via stop-all.sh
Date Tue, 06 Aug 2013 15:42:47 GMT

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

Christopher Tubbs commented on ACCUMULO-1634:
---------------------------------------------

One thing I'd like to have clear in the message, is that Ctrl-C will only cancel the *forced*
shutdown. It will not abort the managed shutdown that has already been attempted (and which
may still succeed).

Aside from that, my only concern is the lack of brevity in these messages. I'd prefer to keep
script messages under 80 chars per line.

How about separate messages for the forced shutdown case, and the successful shutdown + kill
unresponsive servers case?

Forced shutdown case:
{code}
Invalid password or unable to connect to the master
Initiating forced shutdown in 15 seconds (Ctrl-C to abort)
Initiating forced shutdown in  5 seconds (Ctrl-C to abort)
{code}

Normal shutdown case:
{code}
Accumulo shut down cleanly
Utilities and unresponsive servers will shut down in 5 seconds (Ctrl-C to abort)
{code}
                
> Confusing shutdown message via stop-all.sh 
> -------------------------------------------
>
>                 Key: ACCUMULO-1634
>                 URL: https://issues.apache.org/jira/browse/ACCUMULO-1634
>             Project: Accumulo
>          Issue Type: Improvement
>    Affects Versions: 1.4.3, 1.5.0
>            Reporter: Ben Popp
>            Priority: Trivial
>
> when using stop-all.sh to shutdown unresponsive accumulo processes, the user gets this
message
> {code}
> Press Ctrl-C to cancel now, or force shutdown in 15 seconds
> Utilities and unresponsive servers will be shut down in 5 seconds
> {code}
> As a user, I don't know whether this means that Ctrl-C will cancel the execution 'stop-all.sh'
and return the user to the terminal?  or will it avoid waiting 15 seconds and execute the
kill immediately?    

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message