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"