分类 "经验累积" 下的文章

错误描述:Permission denied: user=dr.who, access=WRITE, inode="/":hadoop:supergroup:drwxr-xr-x

我们可以通过修改core-site.xml,配置为当前用户

<property>

    <name>hadoop.http.staticuser.user</name>

    <value>hadoop</value>

</property>

阅读全文

将新的hosts文件拷贝到其它三台服务器中

scp /etc/hosts root@slave1:/etc
scp /etc/hosts root@slave2:/etc
scp /etc/hosts root@slave3:/etc

实现免登

scp ~/.ssh/id_dsa.pub hadoop@slave3:~/.ssh/master.pub
ssh hadoop@slave3 "cat ~/.ssh/master.pub>> ~/.ssh/authorized_keys"

阅读全文