- hadoop集群启停:
start-all.sh|stop-all.sh
(+环境变量,hdfs+yarn) - hdfs集群启停:
start-dfs.sh|stop-dfs.sh
(+环境变量) 端口号 :9870
- zookeeper启停:
①:单机启停命令:${ZOOKEEPER_HOME}/bin/zkServer.sh start|zkServer.sh stop
②:开发一个shell脚本做到一键启停
#!/bin/bash
arg=$1
for name in linux01 linux02 linux03
do
ssh $name "source /etc/profile;/opt/apps/zookeeper-3.4.6/bin/zkServer.sh $arg ;exit"
done
- yarn的启停命令:
start-yarn.sh|stop-yarn.sh
(+环境变量) 端口号:8088
- hive启停命令:
①:hive客户端启动:hive
(+环境变量)
②:远程连接hive: beeline -u jdbc:hive2://linux01:10000
(+下边两个服务)
hive的元数据服务: hive --service metastore
hiveserver2远程服务:hive --service hiveserver2
- HBase启停命令:
hbase shell
(+下边进程)
①:启动HBase集群:start-hbase.sh|stop-hbase.sh
②:单独启停一个HMaster 进程:${HBASE_HOME}/bin/hbase-daemon.sh start master| hbase-daemon.sh stop master
③:单独启停一个HRegionServer进程:${HBASE_HOME}/bin/hbase-daemon.sh start regionserver|hbase-daemon.sh stop regionserver
端口号:16010
- clickhouse启动命令:
①:启动服务:service clickhouse-server start
②:启动交互式客户端:clickhouse-client
- spark集群的启停:
${SPARK_HOME}/sbin/start-all.sh|stop-all.sh
端口号:8080
- Azkaban任务调度:
①:启停executor执行服务器:bin/azkaban-executor-start|shutdown.sh
②:启停web服务器:bin/azkaban-web-start|shutdown.sh
③: 端口号: 8443
- Atlas元数据管理系统: 需要启动hdfs、habse、kafka、solr、zookeeper
①:启停命令:${ATLAS_HOME}/bin/atlas_start.py
②:端口号:21000
- Solr应用服务器启动:
bin/solr start -c -z linux01:2181,linux02:2181,linux03:2181 -p 8984 -force
端口号:8984
- kafka的启停:
${KAFKA_HOME}/ bin/kafka-server-start.sh -daemon config/server.properties
- Kylin的启停:
${KYLIN_HOME}/bin/kylin.sh start
端口号:7070
- Presto的启停:
${PRESTO_HOME}/bin/launcher start
端口号:8080
- Redis的启停:
①:启动redis服务:${REDIS_HOME}/bin/redis-server ./redis.conf
②:启动redis客户端:${REDIS_HOME}/bin/redis-cli -h linux01 -p 6379
- Flink集群的启停:
${FLINK_HOME}/bin/start-cluster.sh
端口号:8081
- Nginx:启动命令:
/usr/local/nginx/sbin/nginx
停止命令:/usr/local/nginx/sbin/nginx -s stop
端口号:80
- OpenResty启停命令:
/usr/local/openresty/service openresty start
端口号:80
- Clickhouse的启动:
service clickhouse-server start