大数据软件的开启与停止

Hadoop-hdfs

start-dfs.sh

stop-dfs.sh

Hadoop-yarn

start-yarn.sh

stop-yarn.sh

mr-jobhistory-daemon.sh start historyserver

hbase

start-hbase.sh

stop-hbase.sh

zookeeper

zkServer.sh start

zkServer.sh stop

zkServer.sh status

zkCli.sh -servers201:2181

hive

sudo service mysqld start;

nohup hive --service metastore >> /home/zkpk/apache-hive-2.1.1-bin/metastore.log 2>&1 &
nohup hive --service hiveserver2 >> /home/zkpk/apache-hive-2.1.1-bin/hiveserver.log 2>&1 &

beeline -u jdbc:hive2://master:10000/default -n zkpk -p zkpk

SET hive.execution.engine=MR;

你可能感兴趣的:(大数据软件的开启与停止)