Java教程

problems_kudu

本文主要是介绍problems_kudu,对大家解决编程问题具有一定的参考价值,需要的程序猿们随着小编来一起学习吧!

目录
  • problems_kudu
    • 1 执行service kudu-master start , 提示启动失败failed
    • 2
    • 3
    • 4
    • 5
    • 6
    • 7
    • 8

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

这篇关于problems_kudu的文章就介绍到这儿,希望我们推荐的文章对大家有所帮助,也希望大家多多支持为之网!