problems_kudu

目录

problems_kudu

1 执行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 error: Failed to load FS layout: could not load /var/lib/kudu/master/data/block_manager_instance: existing data was written using the 'log' block manager; cannot restart with 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: Already present: FS layout already exists; not overwriting existing layout. See https://kudu.apache.org/releases/1.7.0-cdh5.16.1/docs/troubleshooting.html: unable to create file system roots: FSManager roots already exist: /var/lib/kudu/master
  1. cd /var/lib/kudu/
    mv master master_bak
    然后再次执行service kudu-master start,可以正常启动了。

2

3

4

5

6

7

8

上一篇:eclipse工具的Problems(状态栏)的使用方式


下一篇:programmercarl——数组——二分查找