HBase建表时报错问题之:ERROR: org.apache.hadoop.hbase.PleaseHoldException: Master is initializing
来源:互联网 发布:星星知我心演员胡家玮 编辑:程序博客网 时间:2024/05/13 07:52
在使用HBase创建表时,会出现以下报错:ERROR: org.apache.hadoop.hbase.PleaseHoldException: Master is initializing。这个问题很有意思,开始以为是HBase配置的原因(hbase-site.xml)。但是查到原因后我笑了,解决办法如下:
1.我的服务器是四台浪潮节点,首先查看各台服务器的时间:
[lw@cu01 ~]$ date
发现四台服务器的时间有时间不一致现象,这就导致了HMaster和HRegionServer时间不同步,如果在允许的范围外的话,就会无法开启hbase shell命令的情况。有以下两种情况可以解决该问题:
2.第一:输入命令ntpdate -u 202.112.10.36
第二:手动更改每个主机的时间
[lw@cu01 ~]$ date -s 26/10/2017 更改年月日
[lw@cu01 ~]$ sudo date -s 18:33:00 更改时分秒
[lw@cu01 ~]$ sudo clock -r 查看系统时间,判断误差是否在延时范围内
[lw@cu01 ~]$ sudo clock -w 修改时间写进系统内
然后在cu02,cu03,cu04三台服务器上使用同样的操作,把时间同步到延时范围内。
3.最后启动HBase,打开hbase shell,建立表单,会发现创建成功!
阅读全文
0 0
- HBase建表时报错问题之:ERROR: org.apache.hadoop.hbase.PleaseHoldException: Master is initializing
- [HBase] ERROR:org.apache.hadoop.hbase.PleaseHoldException: Master is initializing
- [HBase] ERROR:org.apache.hadoop.hbase.PleaseHoldException: Master is initializing
- ERROR: org.apache.hadoop.hbase.PleaseHoldException:Master is initializing
- ERROR: org.apache.hadoop.hbase.PleaseHoldException: Master is initializing
- ERROR: org.apache.hadoop.hbase.PleaseHoldException: Master is initializing
- ERROR: org.apache.hadoop.hbase.PleaseHoldException: Master is initializing
- ERROR: org.apache.hadoop.hbase.PleaseHoldException: Master is initializing
- Hbase错误ERROR: org.apache.hadoop.hbase.PleaseHoldException: Master is initializing
- hbase运行时ERROR:org.apache.hadoop.hbase.PleaseHoldException:Master is initializing的解决方法
- org.apache.hadoop.hbase.PleaseHoldException: Master is initializing解决方案
- hbase坑二:shell终端执行命令报错ERROR:org.apache.hadoop.hbase.PleaseHoldException: Master is initializing
- hbase org.apache.hadoop.hbase.PleaseHoldException: Master is initializing 报错处理
- org.apache.hadoop.hbase.PleaseHoldException: Master is initializing 的一种原因
- Error:hbase.PleaseHoldException: Master is initializing
- Error:hbase.PleaseHoldException: Master is initializing
- Hbase:PleaseHoldException: Master is initializing
- Hbase 配置问题(ERROR: org.apache.hadoop.hbase.PleaseHoldException: org.apache.hadoop.hbase.PleaseHoldEx)
- ECSHOP解决Deprecated: preg_replace()报错
- NOIP模拟(20171026)T3 大逃杀
- [剑指offer]算法1二维数组中的查找
- POJ-1797-Heavy Transportation(草稿)
- 1,河内之塔
- HBase建表时报错问题之:ERROR: org.apache.hadoop.hbase.PleaseHoldException: Master is initializing
- myBatis-list数据插入Oracle
- C++中istringstream的用法
- soap相关元素的介绍
- 自己动手搭梯子——从vps到SSR菜鸟教程
- 关于Matlab下爬取网络图片问题
- Spring知识笔记(2):AOP和IOC
- 解决Android Studio报错 Cause: error in opening zip file
- 【AGC005F】Many Easy Problems FFT 容斥原理