-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add status command to cloud local #22
Comments
echo "zookeeper status"
$ZOOKEEPER_HOME/bin/zkServer.sh status
echo "hadoop status"
hdfs dfsadmin -report
echo "yarn status"
yarn node -list
echo "accumulo ping tserver"
accumulo shell -u root -p secret -e ping If things are not running this can be messy... Kafka has some pretty powerful metrics stuff... see monitoring section of https://kafka.apache.org/08/ops.html jconsole: |
Get status of overall hadoop file system using
Tail of output:
You can also call |
More spam... To see if a zookeeper node is up call:
it should print back |
"jps -l" could provide a cheap way to check for the services running before querying the service directly. |
this would also be good for helping with "reconfigure" or other commands...check to see if it's running first. |
So you can run
bin/cloud-local.sh status
I wonder if that is really hardThe text was updated successfully, but these errors were encountered: