CDH 5.10.2 安装kudu 和常见错误整理

 

查看错误日志:     cd  /var/log/kudu

 

错误信息1:

 

F0622 09:57:32.698554  5837 tablet_server_main.cc:72] Check failed: _s.ok() Bad status: IO error: Failed to load FS layout: Could not lock /kudu/fs_data/data/block_manager_instance: Could not lock /kudu/fs_data/data/block_manager_instance: lock /kudu/fs_data/data/block_manager_instance: Resource temporarily unavailable (error 11)

 

由于 只是本地测试  Tablet Servers和Kudu Master 安装在同一台机器了,目录相同不行。

 

解决方法:
                                    

Kudu Master Data Directories  

Kudu Tablet Server Data Directories  

用2个不同的目录

 

image

 

 

错误信息2

 

Log file created at: 2018/06/21 16:11:52
Running on machine: quickstart.cloudera
Log line format: [IWEF]mmdd hh:mm:ss.uuuuuu threadid file:line] msg
F0621 16:11:52.103864 25358 master_main.cc:68] Check failed: _s.ok() Bad status: Service unavailable: Cannot initialize clock: Error reading clock. Clock considered unsynchronized

 

解决方法:

 

如果未安装NTP,或者时钟报告为未同步,Kudu将不会启动

安装

yum install -y ntp

服务端配置

vi /etc/ntp.conf

server 127.127.1.0  # 注释其他网络server

fudge 127.127.1.0 stratum 8

Restrict default nomodify

 

参考  NTP 时间服务器配置   https://blog.csdn.net/line_aijava/article/details/70577744

 

 

 

错误信息3

F0622 09:33:07.352653 32435 master_main.cc:68] Check failed: _s.ok() Bad status: IO error: Could not create new FS layout: Unable to write instance metadata: Call to mkstemp() failed on name template /data/instance.kudutmp.XXXXXX: Permission denied (error 13)

 

解决办法: 给fs_wal_dir 目录权限

 

 

 

 

 

网上帮助参考:

https://blog.csdn.net/S630730701/article/details/80519128

您可以选择一种方式赞助本站