You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@trafodion.apache.org by "Jian Jin (JIRA)" <ji...@apache.org> on 2016/07/05 14:56:11 UTC

[jira] [Updated] (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:all-tabpanel ]

Jian Jin updated TRAFODION-1609:
--------------------------------
    Assignee: Eason Zhang  (was: Jian Jin)

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