Hbase 启动报 clock is out of sync 错
来源:互联网 发布:java list 转数组 编辑:程序博客网 时间:2024/06/09 03:11
异常信息如下:
2017-08-18 14:27:42,170 FATAL [regionserver/hdp40/10.194.186.40:16020] regionserver.HRegionServer: Master rejected startup because clock is out of syncorg.apache.hadoop.hbase.ClockOutOfSyncException: org.apache.hadoop.hbase.ClockOutOfSyncException: Server hdp40,16020,1503037658823 has been rejected; Reported time is too far out of sync with master. Time difference of 40124ms > max allowed of 30000ms
原因:
RegionServer与Master的时间不一致造成的。由错误内容可以看出两台机器之间最大的误差时间为30000ms,一旦超过这个值便无法启动。
解决办法:同步RegionServer与Master的时间,最好周期性同步
解决方式一:
每台机器执行如下同步时间命令
ntpdate ntp1.aliyun.com
解决方式二:推荐用这种
周期性同步时间操作如下:
20 23 * * * ntpdate ntp1.aliyun.com >> /var/log/ntpdate.log
阅读全文
0 0
- Hbase 启动报 clock is out of sync 错
- [hbase]Master rejected startup because clock is out of sync
- eclipse 启动 tomcat报错:Resource is out of sync with the file system
- C#报错:InvalidOperationException: out of sync
- tomcat报错:Resource is out of sync with the file system
- 解决eclipse: Resource is out of sync with the file system 报错问题
- 解决eclipse: Resource is out of sync with the file system 报错问题
- eclipse报错Resource is out of sync with the file system的解决方法
- C# 连接Mysql报错 Out of sync with server
- FragmentTabHost] File is Out of sync
- unity 报 out of sync 解决办法
- Eclipse报resource is out of sync with the file system错误
- eclipse 3.7 search 报resource is out of sync with the file system 解决方法
- Reported time is too far out of sync with master. Time difference of ...HBase时钟不同步问题
- 解决maven clean install后tomcat启动项目提示“is out of sync”的错误
- Android import和export使用说明 及 export报错:jarlist.cache: Resource is out of sync with the file syst解决
- 【Android】 import跟export使用说明 及 export报错:jarlist.cache: Resource is out of sync with the file syst解决
- cdh集群启动服务报错Permission denied. user=hbase is not the owner of inode=hbase-staging
- java数组的去重操作(非集合方法)
- wordpress的.htaccess自动恢复成默认模式解决办法
- TypeScript 基本语法
- Android性能测试之Memory Monitor
- 三目运算符bug?原来是这样的!
- Hbase 启动报 clock is out of sync 错
- Mac 中vi的常用快捷键
- 利用request模拟登录知乎
- 新路程------hi3516a vi_dump以及vio失败
- 底部定位,键盘弹出时把底部顶上去的解决方法
- 使用XWalkView 替换 WebView控件
- python 判断是否存在某个文件
- Java8 lambda表达式10个示例
- Uva 12304 2D Geometry 110 in 1!(圆综合题)