【发布时间】:2018-01-03 15:30:52
【问题描述】:
amtex@amtex-desktop:~$ start-all.sh
此脚本已弃用。而是使用 start-dfs.sh 和 start-yarn.sh 在 [localhost] 上启动名称节点
amtex@localhost 的密码: 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
【问题讨论】:
-
根据我的研究,我按照以下步骤来避免上述问题 stop1:
ssh-keygen -t rsa -P ""stop2:cat $HOME/.ssh/id_rsa.pub >> $HOME/.ssh/authorized_keys
标签: hadoop access-rights