GitHub user narendragoyal opened a pull request:
https://github.com/apache/incubator-trafodion/pull/402
[TRAFODION-1617]
Add a few convenience scripts (and associated helper scripts)
Note: All the scripts with an "ilh_" prefix work if one has used
install_local_hadoop
ilh_trafinit: ckillall, restarts HBase(clobbers HBase data), sqstart and
initializes trafodion
ilh_traf_restart: ckillall, restarts HBase, sqstart
trafnodestatus: Prints the trafodion-status (whether Trafodion is UP or
DOWN on a node)
of the nodes in the Trafodion cluster. Has a '-j' switch to
print the
output in JSON format.
Note: There is another script 'sqnodestatus' with a similar
output but that
prints the status of the nodes from a Linux perspective.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/narendragoyal/incubator-trafodion master
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/incubator-trafodion/pull/402.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 #402
----
commit 79670d0b2784618e38fdc750a4aec47fdf5a7047
Author: Narendra Goyal <[email protected]>
Date: 2016-03-25T01:39:46Z
[TRAFODION-1617]
Add a few convenience scripts (and associated helper scripts)
Note: All the scripts with an "ilh_" prefix work if one has used
install_local_hadoop
ilh_trafinit: ckillall, restarts HBase(clobbers HBase data), sqstart and
initializes trafodion
ilh_traf_restart: ckillall, restarts HBase, sqstart
trafnodestatus: Prints the trafodion-status (whether Trafodion is UP or
DOWN on a node)
of the nodes in the Trafodion cluster. Has a '-j' switch to
print the
output in JSON format.
Note: There is another script 'sqnodestatus' with a similar
output but that
prints the status of the nodes from a Linux perspective.
----
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---