1.启动关闭
start-dfs.sh //启动hdfs
start-YARN.sh //启动YARN
start-all.sh //同时启动hdfs和YARN
jps //查看节点运行进程
stop-all.sh //停止hdfs和YARN
2.hdfs基本命令