您好,登錄后才能下訂單哦!
這篇“CDH5報(bào)錯(cuò)Exhausted available authentication methods怎么辦”文章的知識點(diǎn)大部分人都不太理解,所以小編給大家總結(jié)了以下內(nèi)容,內(nèi)容詳細(xì),步驟清晰,具有一定的借鑒價(jià)值,希望大家閱讀完這篇文章能有所收獲,下面我們一起來看看這篇“CDH5報(bào)錯(cuò)Exhausted available authentication methods怎么辦”文章吧。
1.機(jī)器環(huán)境:
CDH5在安裝過程就拋錯(cuò)"Exhausted available authentication methods"其中的拋錯(cuò)的機(jī)器是運(yùn)維從stage環(huán)境機(jī)器上,copy的鏡像做的新的機(jī)器。
2.在哪步出錯(cuò):
在安裝CDH5過程中,輸完hadoop用戶和密碼的下一步(集群安裝),web開始刷新數(shù)據(jù)源拋錯(cuò): Exhausted available authentication methods
#由于當(dāng)時(shí)沒有截圖,事后在某貼上找的圖片
3.解決方案:
a.檢查hadoop用戶是否配置sudo無密碼權(quán)限成功???
點(diǎn)擊(此處)折疊或打開
[root@alish2-xxx-01 ~]# adduser hadoop
[root@alish2-xxx-01 ~]# passwd hadoop
Changing password for user hadoop.
New password:
BAD PASSWORD: it is too short
BAD PASSWORD: is too simple
Retype new password:
passwd: all authentication tokens updated successfully.
[root@alish2-logshedcldmanager-01 etc]# vi /etc/sudoers
## Allow root to run any commands anywhere
root ALL=(ALL) ALL
hadoop ALL=(root)NOPASSWD:ALL
###驗(yàn)證sudo權(quán)限
[root@alish2-xxx-01 etc]# sudo su hadoop
[hadoop@alish2-logshedcldmanager-01 ~]$ sudo ls -l /root
total 4
-rw------- 1 root root 8 Apr 2 09:45 dead.letter
b.檢查ssh服務(wù)是否正常???
點(diǎn)擊(此處)折疊或打開
[root@alish2-xxx-01 ~]# service sshd restart
Stopping sshd: [ OK ]
Starting sshd: [ OK ]
#直接重啟服務(wù),然后單擊"重試",就ok了.
以上就是關(guān)于“CDH5報(bào)錯(cuò)Exhausted available authentication methods怎么辦”這篇文章的內(nèi)容,相信大家都有了一定的了解,希望小編分享的內(nèi)容對大家有幫助,若想了解更多相關(guān)的知識內(nèi)容,請關(guān)注億速云行業(yè)資訊頻道。
免責(zé)聲明:本站發(fā)布的內(nèi)容(圖片、視頻和文字)以原創(chuàng)、轉(zhuǎn)載和分享為主,文章觀點(diǎn)不代表本網(wǎng)站立場,如果涉及侵權(quán)請聯(lián)系站長郵箱:is@yisu.com進(jìn)行舉報(bào),并提供相關(guān)證據(jù),一經(jīng)查實(shí),將立刻刪除涉嫌侵權(quán)內(nèi)容。