启动&服务相关命令-合集

zkServer启动

xcall.sh zkServer.sh start

hdfs启动

start-dfs.sh

http://hadoop11:9870

安全模式命令

hdfs dfsadmin -safemode enter/get/leave;

yarn启动

start-yarn.sh

http://hadoop11:8088

yarn的history服务

mr-jobhistory-daemon.sh start historyserver---对应进程名字JobHistoryServer

hive启动

方式1: hive

方式2: hiveserver2 &

beeline

beeline>!connect jdbc:hive2://hadoop10:10000

hive的metastore服务启动

hive --service metastore >/dev/null 2>&1 &

spark启动

spark-submit --master yarn xxx.py

spark-submit的运行端口

http://hadoop11:4040

spark的history服务启动

/opt/installs/spark/sbin/start-history-server.sh ---对应进程名字HistoryServer

http://hadoop11:18080

hbase启动

start-hbase.sh

http://hadoop11:16010

hbase-manager图形化界面启动

cd /opt/installs/hbase-manager-2.0.8-hbase-2.x/

java -jar hbase-manager-admin-2.0.8.jar

http://hadoop11:9527/login

phoenix启动

/opt/installs/phoenix/bin/sqlline.py hadoop11:2181

mysql服务启动

systemctl start mysqld.service

systemctl stop mysqld.service

systemctl restart mysqld.service

设置服务开机自启动

systemctl enable mysqld.service

systemctl disable mysqld.service

防火墙服务启动

systemctl start firewalld

systemctl stop firewalld

systemctl status firewalld

dolphinscheduler启动

cd /opt/installs/dolphinscheduler_installed/bin

root@hadoop10 bin\]# ./start-all.sh 单独启动一个worker-server \[root@hadoop10 bin\]# ./dolphinscheduler-daemon.sh stop worker-server \[root@hadoop10 bin\]# ./dolphinscheduler-daemon.sh start worker-server http://hadoop10:12345/dolphinscheduler 用户名:admin 密码: dolphinscheduler123 ### datax-web启动 cd /opt/installs/datax-web-2.1.2/ \[root@hadoop10 bin\]# ./bin/start-all.sh \[root@hadoop10 bin\]# ./bin/stop-all.sh http://hadoop10:9527/index.html 用户名:admin 密码:123456 ### flume启动 cd /opt/installs/flume1.9/conf/ bin/flume-ng agent --conf conf --name a1 --conf-file xxx.conf -Dflume.root.logger=INFO,console ### CDH服务启动 #### 启动httpd服务 systemctl start httpd.service http://hadoop01/cm6/6.2.1/redhat7/yum/RPMS/x86_64/ #### 启动server服务进程 systemctl start cloudera-scm-server systemctl status cloudera-scm-server 查看端口 yum install net-tools netstat -an \| grep 7180 http://hadoop01:7180/cmf/login 账号密码均为admin ## kafka启动 xcall.sh kafka-server-start.sh -daemon /opt/installs/kafka/config/server.properties xcall.sh kafka-server-stop.sh stop 启动kafka的consumer消费者(topica为消息队列的名字) bin/kafka-console-consumer.sh --bootstrap-server hadoop11:9092 --topic topica 启动kafka的producer生产者(topica为消息队列的名字) kafka-console-producer.sh --bootstrap-server hadoop11:9092,hadoop12:9092,hadoop13:9092 --topic topica ### kafka eagle启动 cd /opt/installs/eagle/bin/ ke.sh start http://hadoop11:8048/ke 用户名:admin 密码:123456 token=keadmin

相关推荐
撬动未来的支点3 分钟前
【Linux】Linux驱动开发与BSP开发:嵌入式系统的两大基石
linux·驱动开发
jz_ddk18 分钟前
[LVGL] 从0开始,学LVGL:基础构建篇 - 掌握UI的核心构建块
linux·网络协议·ui·rpc·嵌入式·gui·lvgl
ding_zhikai1 小时前
SD:在一个 Ubuntu 系统安装 stable diffusion ComfyUI
linux·ubuntu·stable diffusion
似水এ᭄往昔2 小时前
【Linux】——基础指令(下)
linux·服务器
大锦终2 小时前
【Linux】udp网络程序
linux·运维·服务器·网络
arvin_xiaoting3 小时前
#zsh# #Ubuntu# 一键安装zsh、oh-my-zsh、常用插件
linux·ubuntu·elasticsearch
脏脏a3 小时前
【Linux】Linux工具漫谈:yum 与 vim,高效操作的 “左膀右臂”
linux·运维·服务器
APItesterCris3 小时前
构建弹性数据管道:利用淘宝商品 API 进行流式数据采集与处理
linux·数据库·windows
艾莉丝努力练剑4 小时前
【C++STL :stack && queue (一) 】STL:stack与queue全解析|深入使用(附高频算法题详解)
linux·开发语言·数据结构·c++·算法
kyle~4 小时前
计算机系统---CPU的进程与线程处理
linux·服务器·c语言·c++·操作系统·计算机系统