1. 问题描述
1 | hbase(main):002:0> create 'test','cf' |
2. 错误的原因
Hbase底层hadoop集群时间不一致
3. 解决方法
3.1 安装ntpdate工具
1 | yum -y install ntp ntpdate |
3.2 设置系统时间与网络时间同步
1 | ntpdate cn.pool.ntp.org |
4. 常用NTP服务器地址
4.1 阿里云授时服务器
1 | #NTP服务器 |
4.2 国内大学授时服务器
1 | s1c.time.edu.cn 北京大学 |
4.3 国外授时服务器
1 | #苹果提供的授时服务器 |