kudu-master服务启动失败

Posted mediocreworld

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了kudu-master服务启动失败相关的知识,希望对你有一定的参考价值。

执行service kudu-master start ,  提示启动失败failed。

进入报错日志目录  (cd /var/log/kudu/),看到报错信息(vim kudu-master.ERROR 或 vim kudu-master.FATAL)如下:

Log file created at: 2019/10/23 19:04:52
Running on machine: cdh01.itcast.cn
Log line format: [IWEF]mmdd hh:mm:ss.uuuuuu threadid file:line] msg
F1023 19:04:52.290035 6258 master_main.cc:74] Check failed: _s.ok() Bad status: IO e
rror: Failed to load FS layout: could not load /var/lib/kudu/master/data/block_manage
r_instance: existing data was written using the ‘log‘ block manager; cannot restart w
ith a different block manager ‘file‘ without reformatting

解决步骤:

1. cd /var/lib/kudu/master/data 

mv block_manager_instance block_manager_instance_bak

然后再次执行service kudu-master start,报以下错误:

Log line format: [IWEF]mmdd hh:mm:ss.uuuuuu threadid file:line] msg

F1023 19:18:49.135205 6374 master_main.cc:74] Check failed: _s.ok() Bad status: Alre
ady present: FS layout already exists; not overwriting existing layout. See https://k
udu.apache.org/releases/1.7.0-cdh5.16.1/docs/troubleshooting.html: unable to create f
ile system roots: FSManager roots already exist: /var/lib/kudu/master

 

2. cd /var/lib/kudu/  

mv master master_bak

然后再次执行service kudu-master start,可以正常启动了。

 

以上是关于kudu-master服务启动失败的主要内容,如果未能解决你的问题,请参考以下文章

SQL Server由于登录失败无法启动服务

请教SQL SERVER AGENT启动失败的问题

ssr启动失败,是为啥?

数据库未启动或连接失败是怎么回事,如何去核实?

启动Nginx失败为啥?

mysql启动失败怎么办?