Cluster Monitoring Using the clustermgr CLI
The clustermgr status command returns basic information about the cluster. Use this command to check the registered membership and current health of the cluster.
Checking cluster status
[dataflow@galaxy ~]$ clustermgr status -cluster.host galaxy -cluster.port 1099
Cluster manager at galaxy.englab.local:1099
Status: OK
Registered nodes: 2
galaxy@galaxy.englab.local OK
saturn@saturn.englab.local OK
You can get the detailed configuration information for a node by including the node name as an argument in the status command.
Querying node configuration
[dataflow@galaxy ~]$ clustermgr status -cluster.host galaxy -cluster.port 1099 -node.name galaxy
Node galaxy:
Installation directory = /opt/dataflow
Logfile = /opt/dataflow/cluster/nodemgr-galaxy.log
Executor JVM = /usr/java/jdk1.6.0_24/jre/bin/java
Executor Extensions Directory = /opt/dataflow/cluster/ext
Executor Base Classpath = /opt/dataflow/conf:/opt/dataflow/lib/dataflow-analytics-6.0.0-40.jar:/opt/dataflow/lib/fastutil-6.4.1.jar:/opt/dataflow/lib/dataflow-library-6.0.0-40.jar:/opt/dataflow/lib/dataflow-commons-6.0.0-40.jar:/opt/dataflow/lib/commons-codec-1.5.jar:/opt/dataflow/lib/jackson-core-asl-1.9.3.jar:/opt/dataflow/lib/jackson-mapper-asl-1.9.3.jar:/opt/dataflow/lib/commons-compress-1.3.jar:/opt/dataflow/lib/dataflow-cluster-6.0.0-40.jar:/opt/dataflow/lib/commons-cli-1.2.jar:/opt/dataflow/lib/commons-lang-2.6.jar:/opt/dataflow/lib/joda-time-1.6.2.jar:/opt/dataflow/lib/commons-math-2.1.jar:/opt/dataflow/lib/libsvm-3.0.jar:/opt/dataflow/lib/commons-logging-1.1.jar:/opt/dataflow/lib/dataflow-matching-6.0.0-40.jar:/opt/dataflow/lib/rhino-1.7R3.jar:/opt/dataflow/lib/dataflow-script-6.0.0-40.jar:/opt/dataflow/lib/logging/log4j-1.2.16.jar:/opt/dataflow/lib/hadoop/dataflow-hadoop-6.0.0-40.jar:/usr/lib/hadoop/conf:/usr/lib/hadoop/hadoop-0.20.2-cdh3u2-ant.jar:/usr/lib/hadoop/hadoop-0.20.2-cdh3u2-core.jar:/usr/lib/hadoop/hadoop-0.20.2-cdh3u2-examples.jar:/usr/lib/hadoop/hadoop-0.20.2-cdh3u2-test.jar:/usr/lib/hadoop/hadoop-0.20.2-cdh3u2-tools.jar:/usr/lib/hadoop/hadoop-ant-0.20.2-cdh3u2.jar:/usr/lib/hadoop/hadoop-ant.jar:/usr/lib/hadoop/hadoop-core-0.20.2-cdh3u2.jar:/usr/lib/hadoop/hadoop-core.jar:/usr/lib/hadoop/hadoop-examples-0.20.2-cdh3u2.jar:/usr/lib/hadoop/hadoop-examples.jar:/usr/lib/hadoop/hadoop-test-0.20.2-cdh3u2.jar:/usr/lib/hadoop/hadoop-test.jar:/usr/lib/hadoop/hadoop-tools-0.20.2-cdh3u2.jar:/usr/lib/hadoop/hadoop-tools.jar:/usr/lib/hadoop/lib/ant-contrib-1.0b3.jar:/usr/lib/hadoop/lib/aspectjrt-1.6.5.jar:/usr/lib/hadoop/lib/aspectjtools-1.6.5.jar:/usr/lib/hadoop/lib/commons-cli-1.2.jar:/usr/lib/hadoop/lib/commons-codec-1.4.jar:/usr/lib/hadoop/lib/commons-daemon-1.0.1.jar:/usr/lib/hadoop/lib/commons-el-1.0.jar:/usr/lib/hadoop/lib/commons-httpclient-3.1.jar:/usr/lib/hadoop/lib/commons-logging-1.0.4.jar:/usr/lib/hadoop/lib/commons-logging-api-1.0.4.jar:/usr/lib/hadoop/lib/commons-net-1.4.1.jar:/usr/lib/hadoop/lib/core-3.1.1.jar:/usr/lib/hadoop/lib/hadoop-fairscheduler-0.20.2-cdh3u2.jar:/usr/lib/hadoop/lib/hsqldb-1.8.0.10.jar:/usr/lib/hadoop/lib/jackson-core-asl-1.5.2.jar:/usr/lib/hadoop/lib/jackson-mapper-asl-1.5.2.jar:/usr/lib/hadoop/lib/jasper-compiler-5.5.12.jar:/usr/lib/hadoop/lib/jasper-runtime-5.5.12.jar:/usr/lib/hadoop/lib/jets3t-0.6.1.jar:/usr/lib/hadoop/lib/jetty-6.1.26.cloudera.1.jar:/usr/lib/hadoop/lib/jetty-servlet-tester-6.1.26.cloudera.1.jar:/usr/lib/hadoop/lib/jetty-util-6.1.26.cloudera.1.jar:/usr/lib/hadoop/lib/jsch-0.1.42.jar:/usr/lib/hadoop/lib/junit-4.5.jar:/usr/lib/hadoop/lib/kfs-0.2.2.jar:/usr/lib/hadoop/lib/log4j-1.2.15.jar:/usr/lib/hadoop/lib/mockito-all-1.8.2.jar:/usr/lib/hadoop/lib/oro-2.0.8.jar:/usr/lib/hadoop/lib/servlet-api-2.5-20081211.jar:/usr/lib/hadoop/lib/servlet-api-2.5-6.1.14.jar:/usr/lib/hadoop/lib/slf4j-api-1.4.3.jar:/usr/lib/hadoop/lib/slf4j-log4j12-1.4.3.jar:/usr/lib/hadoop/lib/xmlenc-0.52.jar:/opt/dataflow/lib/aws/dataflow-aws-6.0.0-40.jar:/opt/dataflow/lib/aws/aws-java-sdk-1.3.12.jar:/opt/dataflow/lib/google/google-api-client-1.8.0-beta.jar:/opt/dataflow/lib/google/google-oauth-client-1.8.0-beta.jar:/opt/dataflow/lib/google/google-http-client-1.8.3-beta.jar:/opt/dataflow/lib/google/jsr305-1.3.9.jar:/opt/dataflow/lib/google/guava-r06.jar
Executor Work Directory = /opt/dataflow/cluster/galaxy
Executor Log Directory = /opt/dataflow/cluster/galaxy
Last modified date: 12/09/2024