我刚刚开始研究hadoop,windows7中的cygwin。我需要知道,在linux中有没有任何方法可以使用-start-all.sh这样的命令来启动所有服务。我在cygwin中使用了这个命令不起作用。如果可能的话,请建议我任何参考工作在Windows7与cygwin的hadoop。
每次启动五个守护进程都需要执行以下步骤
Start the namenode in the first window by executing
cd hadoop
bin/hadoop namenode
Start the secondary namenode in the second window by executing
cd hadoop
bin/hadoop secondarynamenode
Start the job tracker the third window by executing
cd hadoop
bin/haoop jobtracker
Start the data node the fourth window by executing
cd hadoop
bin/haoop datanode
Start the task tracker the fifth window by executing
cd hadoop
bin/haoop tasktracker
请任何人帮忙
1条答案
按热度按时间pcrecxhr1#
更改
for
匹配hadoop守护进程路径的条件: