CDH 6.3.1停机后恢复服务

文章目录

  • 1 启动Mysql服务器
  • 2 启动CDH集群
    • 2.1 启动Server
        • 查看启动日志
    • 2.2 启动节点的Agent
  • Web页面检查

1 启动Mysql服务器

登录mysql管理账户

su - mysqladmin
service mysql start

检查状态

在这里插入图片描述

2 启动CDH集群

2.1 启动Server

[root@ifeng01 ~]# service cloudera-scm-server start

查看启动日志

[root@ifeng01 ~]# cd /var/log/cloudera-scm-server/
[root@ifeng01 cloudera-scm-server]# ll
总用量 163320
-rw-r----- 1 cloudera-scm cloudera-scm  8729617 6月  17 11:08 cloudera-scm-server.log
-rw-r----- 1 cloudera-scm cloudera-scm 10487890 6月  17 10:22 cloudera-scm-server.log.1
-rw-r----- 1 cloudera-scm cloudera-scm 10486351 6月   6 16:47 cloudera-scm-server.log.2
-rw-r----- 1 cloudera-scm cloudera-scm 10488500 6月   6 14:20 cloudera-scm-server.log.3
-rw-r----- 1 cloudera-scm cloudera-scm 10486991 6月   4 02:30 cloudera-scm-server.log.4
-rw-r----- 1 cloudera-scm cloudera-scm  5317870 6月  17 11:09 cmf-server-nio.log
-rw-r----- 1 cloudera-scm cloudera-scm 10485977 6月   6 11:48 cmf-server-nio.log.1
-rw-r----- 1 cloudera-scm cloudera-scm 10485832 6月   6 05:46 cmf-server-nio.log.10
-rw-r----- 1 cloudera-scm cloudera-scm 10485932 6月   6 11:07 cmf-server-nio.log.2
-rw-r----- 1 cloudera-scm cloudera-scm 10485974 6月   6 10:26 cmf-server-nio.log.3
-rw-r----- 1 cloudera-scm cloudera-scm 10486041 6月   6 09:47 cmf-server-nio.log.4
-rw-r----- 1 cloudera-scm cloudera-scm 10485879 6月   6 09:07 cmf-server-nio.log.5
-rw-r----- 1 cloudera-scm cloudera-scm 10486009 6月   6 08:26 cmf-server-nio.log.6
-rw-r----- 1 cloudera-scm cloudera-scm 10486071 6月   6 07:46 cmf-server-nio.log.7
-rw-r----- 1 cloudera-scm cloudera-scm 10485947 6月   6 07:06 cmf-server-nio.log.8
-rw-r----- 1 cloudera-scm cloudera-scm 10486054 6月   6 06:26 cmf-server-nio.log.9
-rw-r----- 1 cloudera-scm cloudera-scm  4491561 6月  17 11:00 cmf-server-perf.log
[root@ifeng01 cloudera-scm-server]# 

tail -F cloudera-scm-server.log

查看Server启动状态

[root@ifeng01 cloudera-scm-server]# service cloudera-scm-server status

2.2 启动节点的Agent

[root@ifeng03 ~]# service cloudera-scm-agent start
Redirecting to /bin/systemctl start cloudera-scm-agent.service

查看启动状态

service cloudera-scm-agent status

CDH 6.3.1停机后恢复服务_第1张图片

Web页面检查

CDH 6.3.1停机后恢复服务_第2张图片

你可能感兴趣的:(CDH)