分享

CDH添加Add Cloudera Management Service Service失败

lieb 发表于 2017-6-26 18:02:34 [显示全部楼层] 只看大图 回帖奖励 阅读模式 关闭右栏 3 12141

cdh

cdh

始终连不上数据库
cloudera-scm-server.log日志
2017-06-26 18:00:00,073 INFO com.cloudera.cmf.scheduler-1_Worker-1:com.cloudera.cmf.scheduler.CommandDispatcherJob: Skipping scheduled command 'GlobalPoolsRefresh' since it is a noop.
2017-06-26 18:02:31,917 INFO 309033449@scm-web-7:com.cloudera.cmf.model.DbCommand: Command null(RepMgrTestDatabaseConnection) has completed. finalstate:FINISHED, success:false, msg:Unable to test database connection for host not in good state.

求助

已有(3)人评论

跳转到指定楼层
lieb 发表于 2017-6-26 18:09:37
[root@cdh1 cloudera-scm-server]# mysql -h cdh2 -uscm -p
Enter password:
Welcome to the MySQL monitor.  Commands end with ; or \g.
Your MySQL connection id is 23
Server version: 5.7.18 MySQL Community Server (GPL)

Copyright (c) 2000, 2017, Oracle and/or its affiliates. All rights reserved.

Oracle is a registered trademark of Oracle Corporation and/or its
affiliates. Other names may be trademarks of their respective
owners.

Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.

mysql>
回复

使用道具 举报

lieb 发表于 2017-6-26 18:11:16
mysql> show processlist;
+----+------+------------+------+---------+------+----------+------------------+
| Id | User | Host       | db   | Command | Time | State    | Info             |
+----+------+------------+------+---------+------+----------+------------------+
| 14 | root | localhost  | NULL | Query   |    0 | starting | show processlist |
| 15 | scm  | cdh1:47264 | scm  | Sleep   |  263 |          | NULL             |
| 16 | scm  | cdh1:47265 | scm  | Sleep   |  263 |          | NULL             |
| 17 | scm  | cdh1:47266 | scm  | Sleep   |  263 |          | NULL             |
| 18 | scm  | cdh1:47267 | scm  | Sleep   |  263 |          | NULL             |
| 19 | scm  | cdh1:47268 | scm  | Sleep   |  263 |          | NULL             |
| 20 | scm  | cdh1:47269 | scm  | Sleep   |    2 |          | NULL             |
| 21 | scm  | cdh1:47270 | scm  | Sleep   |  263 |          | NULL             |
| 22 | scm  | cdh1:47271 | scm  | Sleep   |  216 |          | NULL             |
+----+------+------------+------+---------+------+----------+------------------+
9 rows in set (0.00 sec)
回复

使用道具 举报

muyannian 发表于 2017-6-26 18:31:00
lieb 发表于 2017-6-26 18:11
mysql> show processlist;
+----+------+------------+------+---------+------+----------+------------- ...



1.jpg

host改成cdh1
回复

使用道具 举报

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

本版积分规则

关闭

推荐上一条 /2 下一条