I was stuck in the same issue for the last couple of hours, but finally decided. I had a hadoop installation extracted by the same user as I use to have hadoop run. Therefore, the user privilege does not arise.
My configuration is this: Linux Ubuntu machine on Google Cloud.
Hadoop/home/ Hadoop/var/lib/hadoop - 777, . ssh , start-dfs.sh, "Permission denied ( )" , : ssh-:
- SSH-
2.It , , /home/hadoop/.ssh/id_rsa
3.it , .
4. cat/home/hadoop/.ssh/id_rsa.pub >>.ssh/authorized_keys ( auth /.ssh)
ssh localhost
start-dfs.sh ( !)