当前位置: 首页 > 工具软件 > Titan > 使用案例 >

Titan数据运营系统--jjjjjjjjj

冯野
2023-12-01
  1. hadoop集群启停:start-all.sh|stop-all.sh(+环境变量,hdfs+yarn)
  2. hdfs集群启停:start-dfs.sh|stop-dfs.sh(+环境变量) 端口号9870
  3. 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
  1. yarn的启停命令:start-yarn.sh|stop-yarn.sh(+环境变量) 端口号8088
  2. hive启停命令:
    ①:hive客户端启动:hive(+环境变量)
    ②:远程连接hive: beeline -u jdbc:hive2://linux01:10000(+下边两个服务)
    hive的元数据服务: hive --service metastore
    hiveserver2远程服务:hive --service hiveserver2
  3. 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
  4. clickhouse启动命令:
    ①:启动服务:service clickhouse-server start
    ②:启动交互式客户端:clickhouse-client
  5. spark集群的启停:${SPARK_HOME}/sbin/start-all.sh|stop-all.sh 端口号8080
  6. Azkaban任务调度:
    ①:启停executor执行服务器:bin/azkaban-executor-start|shutdown.sh
    ②:启停web服务器:bin/azkaban-web-start|shutdown.sh
    ③: 端口号: 8443
  7. Atlas元数据管理系统: 需要启动hdfs、habse、kafka、solr、zookeeper
    ①:启停命令:${ATLAS_HOME}/bin/atlas_start.py
    ②:端口号21000
  8. Solr应用服务器启动:bin/solr start -c -z linux01:2181,linux02:2181,linux03:2181 -p 8984 -force 端口号8984
  9. kafka的启停:${KAFKA_HOME}/ bin/kafka-server-start.sh -daemon config/server.properties
  10. Kylin的启停:${KYLIN_HOME}/bin/kylin.sh start 端口号:7070
  11. Presto的启停:${PRESTO_HOME}/bin/launcher start 端口号:8080
  12. Redis的启停:
    ①:启动redis服务:${REDIS_HOME}/bin/redis-server ./redis.conf
    ②:启动redis客户端:${REDIS_HOME}/bin/redis-cli -h linux01 -p 6379
  13. Flink集群的启停:${FLINK_HOME}/bin/start-cluster.sh 端口号8081
  14. Nginx:启动命令:/usr/local/nginx/sbin/nginx 停止命令:/usr/local/nginx/sbin/nginx -s stop端口号80
  15. OpenResty启停命令:/usr/local/openresty/service openresty start端口号80
  16. Clickhouse的启动:service clickhouse-server start
 类似资料: