新聞中心
這篇“CDH5報(bào)錯(cuò)Exhausted available authentication methods怎么辦”文章的知識(shí)點(diǎn)大部分人都不太理解,所以小編給大家總結(jié)了以下內(nèi)容,內(nèi)容詳細(xì),步驟清晰,具有一定的借鑒價(jià)值,希望大家閱讀完這篇文章能有所收獲,下面我們一起來看看這篇“CDH5報(bào)錯(cuò)Exhausted available authentication methods怎么辦”文章吧。
成都創(chuàng)新互聯(lián)公司-專業(yè)網(wǎng)站定制、快速模板網(wǎng)站建設(shè)、高性價(jià)比靖邊網(wǎng)站開發(fā)、企業(yè)建站全套包干低至880元,成熟完善的模板庫,直接使用。一站式靖邊網(wǎng)站制作公司更省心,省錢,快速模板網(wǎng)站建設(shè)找我們,業(yè)務(wù)覆蓋靖邊地區(qū)。費(fèi)用合理售后完善,10多年實(shí)體公司更值得信賴。
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)容對(duì)大家有幫助,若想了解更多相關(guān)的知識(shí)內(nèi)容,請(qǐng)關(guān)注創(chuàng)新互聯(lián)行業(yè)資訊頻道。
標(biāo)題名稱:CDH5報(bào)錯(cuò)Exhaustedavailableauthenticationmethods怎么辦
網(wǎng)頁URL:http://www.ef60e0e.cn/article/iegjjs.html