Home > other >  Hadoop configuration problem
Hadoop configuration problem

Time:09-28

On Linux configuration, jdk1.8 hadoop2.7
The two are installed under/usr/local/directory
SSH also set up password-less login, not su enter SSH localhost can log on to

If after su will root @ localhost 's password:
This is su after
Mainly in the hadoop/sbin directory to start the start - all. Sh file will be prompted to
Home This script is Deprecated. Use the start - DFS. Sh and start - yarn. Sh
Starting namenodes on [localhost]
Root @ localhost 's password:
Root @ localhost 's password: localhost: Permission denied, both please try again.

Localhost: Permission denied, both please try again.
Root @ localhost 's password:
Localhost: Permission denied (publickey, password).

If not, su will have no legal power to solve directly, how can I solve?





CodePudding user response:

Su is the root account, after the account is not configured SSH

CodePudding user response:

Try to imitate the following command
Su
Chown user: usergroup - R/usr/local

  • Related