命令 | 描述 | 示例 |
---|---|---|
xsync | 将本地文件或文件夹同步至集群其他节点相同目录下 | xsync ~/.bashrc |
xcall | 在集群所有节点调用某个命令 | xcall free -m xcall ls /home |
start-es | 启动Elasticsearch集群 | start-es |
stop-es | 停止Elasticsearch集群 | stop-es |
start-flink-cluster | 启动Flink集群 | start-flink-cluster |
stop-flink-cluster | 停止Flink集群 | stop-flink-cluster |
start-hdfs-cluster | 启动HDFS集群 | start-hdfs-cluster |
stop-hdfs-cluster | 停止HDFS集群 | stop-hdfs-cluster |
start-yarn-cluster | 启动YARN集群 | start-yarn-cluster |
stop-yarn-cluster | 停止YARN集群 | stop-yarn-cluster |
start-hbase | 启动HBase集群 | start-hbase |
stop-hbase | 停止HBase集群 | stop-hbase |
start-hive-server | 启动Hive服务端(metastore、hiveServer2) | start-hive-server |
stop-hive-server | 停止Hive服务端(metastore、hiveServer2) | stop-hive-server |
status-hive-server | 查看Hive服务状态 | status-hive-server |
jpsx | 查看集群所有节点的java进程,效果等同于xcall jps | jpsx |
start-kafka | 启动Kafka集群 | start-kafka |
stop-kafka | 停止Kafka集群 | stop-kafka |
start-kafkaeagle | 启动Kafka Eagle | start-kafkaeagle |
stop-kafkaeagle | 停止Kafka Eagle | stop-kafkaeagle |
status-kafkaeagle | 查看Kafka Eagle状态 | status-kafkaeagle |
start-mysql | 启动MySQL | start-mysql |
stop-mysql | 停止MySQL | stop-mysql |
status-mysql | 查看MySQL状态 | status-mysql |
start-redis-cluster | 启动Redis集群 | start-redis-cluster |
stop-redis-cluster | 停止Redis群 | stop-redis-cluster |
start-solr-cloud | 启动Solr集群 | start-solr-cloud |
start-solr-hdfscloud | 启动Solr集群(HDFS) | start-solr-hdfscloud |
restart-solr-cloud | 重启Solr集群 | restart-solr-cloud |
status-solr-cloud | 查看Solr集群状态 | status-solr-cloud |
stop-solr-cloud | 停止Solr集群 | stop-solr-cloud |
start-spark-cluster | 启动Spark集群 | start-spark-cluster |
stop-spark-cluster | 停止Spark集群 | stop-spark-cluster |
start-zk | 启动ZooKeeper集群 | start-zk |
stop-zk | 停止ZooKeeper集群 | stop-zk |
status-zk | 查看ZooKeeper集群状态 | status-zk |