You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@trafodion.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2016/06/27 07:11:52 UTC

[jira] [Commented] (TRAFODION-1609) Change swstatus to give a simple "up" or "down" answer, instead of the current, confusing display

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

ASF GitHub Bot commented on TRAFODION-1609:
-------------------------------------------

GitHub user mkby opened a pull request:

    https://github.com/apache/incubator-trafodion/pull/562

    [TRAFODION-1609]

    Change swstatus to give a simple "up" or "down" answer, instead of the current, confusing display

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/mkby/incubator-trafodion master

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/incubator-trafodion/pull/562.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #562
    
----
commit 0e9f43aa18f1984fd1e6c07ddb0c95ecfe84211d
Author: Eason <hf...@gmail.com>
Date:   2016-06-27T06:40:07Z

    [TRAFODION-1609]
    
    Change swstatus to give a simple "up" or "down" answer, instead of the current, confusing display

----


> Change swstatus to give a simple "up" or "down" answer, instead of the current, confusing display
> -------------------------------------------------------------------------------------------------
>
>                 Key: TRAFODION-1609
>                 URL: https://issues.apache.org/jira/browse/TRAFODION-1609
>             Project: Apache Trafodion
>          Issue Type: Improvement
>          Components: sql-general
>            Reporter: Hans Zeller
>            Assignee: Eason Zhang
>            Priority: Minor
>
> The "swstatus" script used in cases where we did install_local_hadoop counts the MySQL processes and then simply invokes jps.
> It would be better if the script would check specifically for HMaster, NameNode, DataNode and maybe others, like NodeManager and ResourceManager. If any are missing, it should print out which ones are missing, otherwise it should just say something like "processes are up".
> It should also return an exit code of 0 if everything is up and 1 if some processes are missing.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)