在liunx上面配置,jdk1.8.hadoop2.7
这两个都安装在/usr/local/目录下面
ssh也设置了无密码登陆。不在su下面 输入 ssh localhost可以登陆如果su之后会root@localhost's password: 
这是su之后
主要是在hadoop/sbin目录下启动 start-all.sh文件会提示
This script is Deprecated. Instead use start-dfs.sh and start-yarn.sh
Starting namenodes on [localhost]
root@localhost's password: 
root@localhost's password: localhost: Permission denied, please try again.localhost: Permission denied, please try again.
root@localhost's password: 
localhost: Permission denied (publickey,password).如果不su,会直接没有权限解决。请问怎么解决?