By Kashif Khan
I am trying to setup Hadoop in “Pseudo-distributed Mode”. I have already performed the below steps:
- I have installed
- I have generated the rsa type key pair.
- Copied *rsa.pub to authorized_keys folder for the current user.
- I gave chmod 600 permissions for authorized_keys file.
- I have set
PermitRootLogin yesin the
sudo gedit /etc/ssh/sshd_config
I am able to login as
ssh localhost which is not asking for password. But when running
sudo /usr/local/hadoop-2.7.3/sbin/start-dfs.sh asks for root password. If i do provide root password then also it does not allow.