Hadoop單獨啟動/停止守護程序命令 阿新 • • 發佈:2019-02-04 分別啟動守護程序: 1.啟動namenode程序: $>hadoop-daemons.sh --config ~/soft/hadoop/etc/hadoop_pseudo start namenode 2.啟動datanode程序: $>hadoop-daemons.sh --config ~/soft/hadoop/etc/hadoop_pseudo start datanode 3.啟動secondarynamenode程序: $>hadoop-daemons.sh --config ~/soft/hadoop/etc/hadoop_pseudo start secondar ynamenode 分別停止守護程序: 1.啟動namenode程序: $>hadoop-daemons.sh --config ~/soft/hadoop/etc/hadoop_pseudo stop namenode 2.啟動datanode程序: $>hadoop-daemons.sh --config ~/soft/hadoop/etc/hadoop_pseudo stop datanode 3.啟動secondarynamenode程序: $>hadoop-daemons.sh --config ~/soft/hadoop/etc/hadoop_pseudo stop secondarynamenode