kudu安装过程中可能出现的问题
1、给用户添加sudo权限的时候报错
sudo: /etc/sudoers is world writable 解决方式:pkexec chmod 555 /etc/sudoers
2、启动kudu的时候报错
Failed to start Kudu Master Server. Return value: 1 [FAILED] 去日志文件中查看: 错误:F0810 09:04:08.354552 4866 master_main.cc:68] Check failed: _s.ok() Bad status: Service unavailable: Cannot initialize clock: Error reading clock. Clock considered unsynchronized 解决: 第一步:首先检查是否有安装ntp:如果没有安装则使用以下命令安装: yum -y install ntp 第二步:设置随机启动: service ntpd start chkconfig ntpd on
3、启动过程中报错
F0810 21:31:12.620932 20143 master_main.cc:71] Check failed: _s.ok() Bad status: Invalid argument: Unable to initialize catalog manager: Failed to initialize sys tables async: on-disk master list 解决: (1):停掉master和tserver (2):删除掉之前所有的/export/servers/kudu/master/*和/export/servers/kudu/tserver/*
4、启动过程中报错
F0913 15:12:00.628237 20859 master_main.cc:74] Check failed: _s.ok() Bad status: IO error: Could not create new FS layout: unable to create file system roots: unable to write instance metadata: Call to mkstemp() failed on name template /export/servers/kudu/master/instance.kudutmp.XXXXXX: Permission denied (error 13) 这是因为kudu默认使用kudu权限进行执行,可能遇到文件夹的权限不一致情况,更改文件夹权限即可