Hans Zeller created TRAFODION-1609:
--------------------------------------

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

Reply via email to