CDH5之Exhausted available authentication methods
1.機器環境:
前幾天,要在 阿里環境裝兩套CDH的產品環境,其中一套CDH5在安裝過程就拋錯"Exhausted available authentication methods"
其中的拋錯的機器是運維從stage環境機器上,copy的映象做的新的機器。
2.在哪步出錯:
在安裝CDH5過程中,輸完hadoop使用者和密碼的下一步(叢集安裝),web開始重新整理資料來源拋錯: Exhausted available authentication methods
#由於當時沒有截圖,事後在某貼上找的圖片
3.解決方案:
a.檢查hadoop使用者是否配置sudo無密碼許可權成功???
b.檢查ssh服務是否正常???
#直接重啟服務,然後單擊"重試",就ok了.
4.參考備註:
Try using SSH from the command line of another host and use the same user that
you are entering in the installation wizard to attempt to authenicate to one of the nodes you are attempting to add to the cluster.
- if you are using "root" then ssh as "root" is disabled by default on some OSes... you might check that.
- if you are using a non-root user, then verify that sudo, you might need to configure your sudoers with something like "userid ALL=(ALL)NOPASSWD:ALL"
前幾天,要在 阿里環境裝兩套CDH的產品環境,其中一套CDH5在安裝過程就拋錯"Exhausted available authentication methods"
其中的拋錯的機器是運維從stage環境機器上,copy的映象做的新的機器。
2.在哪步出錯:
在安裝CDH5過程中,輸完hadoop使用者和密碼的下一步(叢集安裝),web開始重新整理資料來源拋錯: Exhausted available authentication methods
#由於當時沒有截圖,事後在某貼上找的圖片
3.解決方案:
a.檢查hadoop使用者是否配置sudo無密碼許可權成功???
點選(此處)摺疊或開啟
-
[root@alish1-xxx-01 ~]# adduser hadoop
-
[root@alish1-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@alish1-logshedcldmanager-01 etc]# vi /etc/sudoers
-
-
## Allow root to run any commands anywhere
-
root ALL=(ALL) ALL
-
-
hadoop ALL=(root)NOPASSWD:ALL
-
-
###驗證sudo許可權
-
[root@alish1-xxx-01 etc]# sudo su hadoop
-
[hadoop@alish1-logshedcldmanager-01 ~]$ sudo ls -l /root
-
total 4
- -rw------- 1 root root 8 Apr 2 09:45 dead.letter
b.檢查ssh服務是否正常???
點選(此處)摺疊或開啟
-
[root@alish1-xxx-01 ~]# service sshd restart
-
Stopping sshd: [ OK ]
- Starting sshd: [ OK ]
4.參考備註:
Try using SSH from the command line of another host and use the same user that
you are entering in the installation wizard to attempt to authenicate to one of the nodes you are attempting to add to the cluster.
- if you are using "root" then ssh as "root" is disabled by default on some OSes... you might check that.
- if you are using a non-root user, then verify that sudo, you might need to configure your sudoers with something like "userid ALL=(ALL)NOPASSWD:ALL"
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/30089851/viewspace-2075759/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- 用putty連線AWS,報錯“No supported authentication methods available"AI
- CDH5之TrashH5
- InputStream之available()AI
- DUBBO Thread pool is EXHAUSTED!thread
- methods
- 讀Zepto原始碼之fx_methods模組原始碼
- ASP.NET Core之Authentication與AuthorizationASP.NET
- CDH5之Unexpected error.Unable to verify database connectionH5ErrorDatabase
- CDH5 Fair scheduler 配置H5AI
- CDH5之Found class jline.Terminal, but interface was expectedH5
- vscode remote-x11 ssh 連線時Another All configured authentication methods failed like #10 報錯修復VSCodeREMAI
- Vue中computed、methods和watch之間的區別Vue
- There are 5 methods of index lookupIndex
- CDH5 叢集安裝教程H5
- fatal: Authentication failedAI
- API Token AuthenticationAPI
- Authentication failed!nullAINull
- Stochastic Methods in Finance (1)ASTNaN
- Vue踩坑之旅——methodsVue
- bootstrap-select——Methodsboot
- Cannot get a connection, pool exhausted解決辦法
- Squid with AD authenticationUI
- [譯] part 17: golang 方法methodsGolang
- 【Java 8實戰】Extension MethodsJava
- Python 的 Magic Methods 指南Python
- No free sectors availableAI
- Servlet action is not availableServletAI
- SpringBoot 學習之 No bean named ‘xxx’ availableSpring BootBeanAI
- Spring Boot學習之No bean named 'entityManagerFactory' available異常Spring BootBeanAI
- SQLNET.AUTHENTICATION_SERVICESSQL
- golang programming language study methods websocketGolangWeb
- Python socket.help Methods薦Python
- Methods with Variable Argument Lists (var-args)
- No bean named BookServiceImpl availableBeanAI
- CDH5之Balancer難以在快速增長的叢集上平衡大量的資料H5
- CDH5 快速入門手冊v1.0H5
- SourceTree 提示 fatal: Authentication failed for..AI
- Web services 安全 - HTTP Basic AuthenticationWebHTTP