进入报错日志目录 (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
解决步骤:
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