溫馨提示×

溫馨提示×

您好,登錄后才能下訂單哦!

密碼登錄×
登錄注冊×
其他方式登錄
點(diǎn)擊 登錄注冊 即表示同意《億速云用戶服務(wù)條款》

CDH5報(bào)錯(cuò)Exhausted available authentication methods怎么辦

發(fā)布時(shí)間:2022-01-17 16:52:14 來源:億速云 閱讀:1060 作者:iii 欄目:大數(shù)據(jù)

這篇“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
CDH5報(bào)錯(cuò)Exhausted available authentication methods怎么辦
#由于當(dāng)時(shí)沒有截圖,事后在某貼上找的圖片

3.解決方案:
a.檢查hadoop用戶是否配置sudo無密碼權(quán)限成功???

點(diǎn)擊(此處)折疊或打開

  1. [root@alish2-xxx-01 ~]# adduser hadoop

  2.  [root@alish2-xxx-01 ~]# passwd hadoop

  3. Changing password for user hadoop.

  4. New password:

  5. BAD PASSWORD: it is too short

  6. BAD PASSWORD: is too simple

  7. Retype new password:

  8. passwd: all authentication tokens updated successfully.


  9. [root@alish2-logshedcldmanager-01 etc]# vi /etc/sudoers


  10. ## Allow root to run any commands anywhere

  11. root    ALL=(ALL) ALL


  12. hadoop  ALL=(root)NOPASSWD:ALL


  13. ###驗(yàn)證sudo權(quán)限

  14. [root@alish2-xxx-01 etc]# sudo su hadoop

  15. [hadoop@alish2-logshedcldmanager-01 ~]$ sudo ls -l /root

  16. total 4

  17. -rw------- 1 root root 8 Apr  2 09:45 dead.letter


b.檢查ssh服務(wù)是否正常???

點(diǎn)擊(此處)折疊或打開

  1. [root@alish2-xxx-01 ~]# service sshd restart

  2. Stopping sshd: [ OK ]

  3. 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è)資訊頻道。

向AI問一下細(xì)節(jié)

免責(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)容。

cdh
AI