在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,會直接沒有權限解決。請問怎么解決?
uj5u.com熱心網友回復:
su之后是root賬戶,這個賬戶并沒有配置sshuj5u.com熱心網友回復:
模仿下面的命令試試su
chown user:usergroup -R /usr/local
轉載請註明出處,本文鏈接:https://www.uj5u.com/qita/91489.html
標籤:Spark
