分享

CDH安装中的一些问题及解决方法

desehawk 发表于 2015-4-7 21:53:44 [显示全部楼层] 回帖奖励 阅读模式 关闭右栏 15 256727
bluebluebeebee 发表于 2016-7-23 11:31:08
发不了贴,也跟着问个问题啊~~~

我在cm上装hive, 在选择数据库那里, 选 mysql,然后填username password, test老是报错。
logon denied for user/password. able to find the database server and database, but logon request was rejected
用户名和密码设置几乎是跟这个一样的
$ mysql -u root -h localhost
> CREATE DATABASE metastore;
> USE metastore;
> CREATE USER 'hiveuser'@'%' IDENTIFIED BY 'password';
> GRANT all ON metastore.* TO 'hiveuser'@'%';

后来查了些资料,改成GRANT all privileges on metastore.* to ‘hiveuser’@’%’ IDENTIFIED BY 'password' WITH GRANT OPTION;
或者再加上FLUSH privileges;都是同一个报错。
但是如果把用户名和密码改成mysqladmin的帐号,密码,test就通过了。
这是为啥啊。




回复

使用道具 举报

Hentai 发表于 2016-7-26 11:32:53
楼主我想问问 cloudera manager的那个内置的postgrepsql 怎么删除里面的表
回复

使用道具 举报

zqf3252 发表于 2016-7-26 19:38:45
你好,我在部署过程中,启动cloudera-scm-server以后,后台日志一直在报监控失败的错误,谁能帮指导一下,谢谢:
2016-07-26 19:37:29,821 INFO 1228231328@scm-web-3:com.cloudera.server.web.cmf.AuthenticationFailureEventListener: Authentication failure for user: '__cloudera_internal_user__mgmt-ACTIVITYMONITOR-7b8b31596d4c088b6fc12071da80ac2f' from 10.154.14.22
2016-07-26 19:37:30,067 INFO 1228231328@scm-web-3:com.cloudera.server.web.cmf.AuthenticationFailureEventListener: Authentication failure for user: '__cloudera_internal_user__mgmt-HOSTMONITOR-7b8b31596d4c088b6fc12071da80ac2f' from 10.154.14.22
2016-07-26 19:37:30,092 INFO 1228231328@scm-web-3:com.cloudera.server.web.cmf.AuthenticationFailureEventListener: Authentication failure for user: '__cloudera_internal_user__mgmt-EVENTSERVER-7b8b31596d4c088b6fc12071da80ac2f' from 10.154.14.22
2016-07-26 19:37:30,670 INFO 1228231328@scm-web-3:com.cloudera.server.web.cmf.AuthenticationFailureEventListener: Authentication failure for user: '__cloudera_internal_user__mgmt-SERVICEMONITOR-7b8b31596d4c088b6fc12071da80ac2f' from 10.154.14.22
2016-07-26 19:37:30,821 INFO 1228231328@scm-web-3:com.cloudera.server.web.cmf.AuthenticationFailureEventListener: Authentication failure for user: '__cloudera_internal_user__mgmt-ACTIVITYMONITOR-7b8b31596d4c088b6fc12071da80ac2f' from 10.154.14.22
2016-07-26 19:37:31,066 INFO 1228231328@scm-web-3:com.cloudera.server.web.cmf.AuthenticationFailureEventListener: Authentication failure for user: '__cloudera_internal_user__mgmt-HOSTMONITOR-7b8b31596d4c088b6fc12071da80ac2f' from 10.154.14.22
2016-07-26 19:37:31,092 INFO 1228231328@scm-web-3:com.cloudera.server.web.cmf.AuthenticationFailureEventListener: Authentication failure for user: '__cloudera_internal_user__mgmt-EVENTSERVER-7b8b31596d4c088b6fc12071da80ac2f' from 10.154.14.22

回复

使用道具 举报

easthome001 发表于 2017-9-1 17:16:30
zqf3252 发表于 2016-7-26 19:38
**** 作者被禁止或删除 内容自动屏蔽 ****

是在安装完毕了,还是什么运行过程中产生的问题。建议尝试下面操作
先停止一些服务
[mw_shl_code=bash,true]sudo service cloudera-scm-server-db force-stop
sudo service cloudera-scm-server stop
sudo service cloudera-scm-agent hard_stop[/mw_shl_code]
然后重启所有服务
restart management 服务和zookeeper。
很可能的原因是数据库的问题。

回复

使用道具 举报

akang 发表于 2017-9-18 09:42:25
我发不了新帖,只好在这里求救:
用的impala组件,但是catalogserver同步元数据很慢,比如:
在一个impala节点创建一个表,到另外一个节点需要几分钟后才能看到新建的表,这个问题会影响到正常业务,请问这个是什么引起的呢?是元数据信息太大引起的吗?有什么解决办法?
回复

使用道具 举报

zhuangfl1234 发表于 2018-5-31 09:36:14
安装CDH 环境cm5.9.0 系统redhat7.4安装在分配parcel处卡住,查询发现agent启动报错MainThread agent ERROR Caught
unexpected exception in main loop.
Traceback (most recent call last):
   File "/usr/lib64/cmf/agent/src/cmf/agent.py", line 440, in start
     timed_heartbeat_response = self.send_heartbeat(heartbeat)
   File "/usr/lib64/cmf/agent/src/cmf/agent.py", line 764, in send_heartbeat
     self.log_heartbeat_exception("Heartbeating to %s:%s failed." %
(self.master_host, self.master_port))
AttributeError: 'Agent' object has no attribute 'master_port'
查看网上资料多说卸载openjdk安装orcale-jdk可解决。测试无效。重新安装系统,重新搭建,问题依然存在。
PS:5.9.0曾在centos7.2,7.3部署成功过三次以上。
回复

使用道具 举报

12
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

关闭

推荐上一条 /2 下一条