hadoop- cluster setup

来源:互联网 发布:2017网络歌曲打包下载 编辑:程序博客网 时间:2024/05/16 17:06

1, single node setup

2,Setup passphraseless ssh

Now check that you can ssh to the localhost without a passphrase:
$ ssh localhost

If you cannot ssh to localhost without a passphrase, execute the following commands:
$ ssh-keygen -t dsa -P '' -f ~/.ssh/id_dsa
$ cat ~/.ssh/id_dsa.pub >> ~/.ssh/authorized_keys

in slave:

1, scp ~/.ssh/id_dsa.pub XXX.XXX.XXX.XXX:/.ssh/.

2, cat ~/.ssh/id_dsa.pub >> ~/.ssh/authorized_keys

so that master can login slave without inputting password by SSH. 


configure master and slaver in conf folder.

startup master, it is ok.


0 0
原创粉丝点击