amtex@amtex-desktop:~$ start-all.sh
此脚本已弃用。而是使用start-dfs.sh和start-yarn.sh 在[localhost]
上启动名称节点amtex @ localhost&#39的密码: localhost:起始namenode,登录到/home/amtex/Documents/installed/hadoop/logs/hadoop-amtex-namenode-amtex-desktop.out
amtex@localhost's password:
localhost:启动datanode,登录到/home/amtex/Documents/installed/hadoop/logs/hadoop-amtex-datanode-amtex-desktop.out 启动辅助名称节点[0.0.0.0]
amtex@0.0.0.0's password:
0.0.0.0:启动secondarynamenode,登录到/home/amtex/Documents/installed/hadoop/logs/hadoop-amtex-secondarynamenode-amtex-desktop.out 起动纱线守护进程 启动resourcemanager,登录到/home/amtex/Documents/installed/hadoop/logs/yarn-amtex-resourcemanager-amtex-desktop.out
amtex@localhost's password:
localhost:启动nodemanager,登录到/home/amtex/Documents/installed/hadoop/logs/yarn-amtex-nodemanager-amtex-desktop.out
amtex@amtex-desktop:~$ jps
2404 Startup
18244 DataNode
18580 ResourceManager
18101 NameNode
18889 NodeManager
18425 SecondaryNameNode
18924 Jps
答案 0 :(得分:1)
您需要在机器之间设置密码少登录
以下链接具有逐步设置ssh密码少登录的步骤
http://www.tecmint.com/ssh-passwordless-login-using-ssh-keygen-in-5-easy-steps/
希望这有助于!!! ...
答案 1 :(得分:0)
根据我的研究,我按照以下步骤来避免上述问题
第1步: ssh-keygen -t rsa -P ""
第2步: cat $HOME/.ssh/id_rsa.pub >> $HOME/.ssh/authorized_keys
现在我开始了hadoop
amtex@amtex-desktop:~$ start-all.sh
This script is Deprecated. Instead use start-dfs.sh and start-yarn.sh
Starting namenodes on [localhost]
localhost: starting namenode, logging to /home/amtex/Documents/installed/hadoop/logs/hadoop-amtex-namenode-amtex-desktop.out
localhost: starting datanode, logging to /home/amtex/Documents/installed/hadoop/logs/hadoop-amtex-datanode-amtex-desktop.out
Starting secondary namenodes [0.0.0.0]
0.0.0.0: starting secondarynamenode, logging to /home/amtex/Documents/installed/hadoop/logs/hadoop-amtex-secondarynamenode-amtex-desktop.out
starting yarn daemons
starting resourcemanager, logging to /home/amtex/Documents/installed/hadoop/logs/yarn-amtex-resourcemanager-amtex-desktop.out
localhost: starting nodemanager, logging to /home/amtex/Documents/installed/hadoop/logs/yarn-amtex-nodemanager-amtex-desktop.out
amtex@amtex-desktop:~$ start-master.sh
starting org.apache.spark.deploy.master.Master, logging to /home/amtex/Documents/installed/spark/logs/spark-amtex-org.apache.spark.deploy.master.Master-1-amtex-desktop.out
amtex@amtex-desktop:~$ start-slaves.sh
localhost: starting org.apache.spark.deploy.worker.Worker, logging to /home/amtex/Documents/installed/spark/logs/spark-amtex-org.apache.spark.deploy.worker.Worker-1-amtex-desktop.out
amtex@amtex-desktop:~$ jps
21523 Jps
2404 Startup
21029 NodeManager
20581 DataNode
20439 NameNode
20760 SecondaryNameNode
21353 Master
21466 Worker
20911 ResourceManager