CDH5之Exhausted available authentication methods
前几天,要在 阿里环境装两套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"

低调大师中文资讯倾力打造互联网数据资讯、行业资源、电子商务、移动互联网、网络营销平台。
持续更新报道IT业界、互联网、市场资讯、驱动更新,是最及时权威的产业资讯及硬件资讯报道平台。
转载内容版权归作者及来源网站所有,本站原创内容转载请注明来源。
-
上一篇
Impala、Hive性能简单对比测试
Impala、Hive性能简单对比测试 一、测试环境 操作系统:CentOS6.4 大数据平台:CDH5、Hive、Impala、MapReduce 集群规模:3台服务器,每台64G内存(原谅小气的公司给了如此糟糕的开发环境) Impala共三几个后台Impalad进程,两个正常,一个失效,如图: 一、HBase加载数据 首先,在HBase中创建一个表,表中列簇为f,有两列dn、fn; 其次,利用Java API在HBase中产生约1000万条测试数据,代码如下: @SuppressWarnings("static-access") @Test public void testPutBasic() { for (int m = 0; m < 20; m++) { new Thread() { @Override public void run() { int j = 0; for (int i = 0; i < 1000000; i++) { Random random = new Random(); Hash...
-
下一篇
PyOdps 0.4版本发布,从一个故事说起
有这么个故事(如有雷同,纯属巧合)。有一天,某运营同学给某开发同学一个excel文件,里面是个客户清单。 “帮我查下这些用户的消耗呢”。 开发同学扫了一眼,几百个用户。这个事肯定是可以办的,但是想到麻烦程度,开发同学心里肯定是有不少羊驼经过的啦。 “有点麻烦啊”,开发同学轻轻抱怨。 “我懂的,把这个表和ODPS里的表join下就好了嘛。”运营同学努努嘴。 “……”。于是,开发同学把excel数据导出成文本格式,然后dship上传到ODPS,ODPS上编写SQL,dship下载,大功告成。 这里说得很轻松,但其实整个过程真的挺麻烦呢。要是这个过程中还要对excel中的数据进行过滤,最终结果还要绘个图,还是需要不少时间。 但是,如果这个开发同学使用PyOdps 0.4+版本新特性,一切就都轻松写意了。 为了模拟这个过程,我们拿movielens 10
相关文章
文章评论
共有0条评论来说两句吧...