码迷,mamicode.com
首页 > 其他好文 > 详细

kudu-master服务启动失败

时间:2019-10-23 20:27:56      阅读:307      评论:0      收藏:0      [点我收藏+]

标签:org   att   thread   lib   service   err   star   apache   file   

执行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服务启动失败

标签:org   att   thread   lib   service   err   star   apache   file   

原文地址:https://www.cnblogs.com/mediocreWorld/p/11728265.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!