$: ssh-keygen -t rsa
cat ~/.ssh/id_rsa.pub >>~/.ssh/authorized_keys
chmod 775 ~/.ssh
chmod 600 ~/.ssh/authorized_keys
core-site.xml
fs.default.name hdfs://ip:port
hadoop.tmp.dir /data/temp
hdfs-site.xml
dfs.replication 3
dfs.name.dir /data/namenode
dfs.data.dir /data/datanode
mapred-site.xml
mapred.job.tracker ip:port2
本文详细介绍了如何通过SSH密钥认证实现免密码登录,并提供了Hadoop集群中core-site.xml、hdfs-site.xml及mapred-site.xml等核心配置文件的具体设置方法。
962

被折叠的 条评论
为什么被折叠?



