ERROR: org.apache.hadoop.hbase.PleaseHoldException:Master is initializing
http://blog.csdn.net/wuzhilon88/article/details/18408149
今天想操作HBase的CRUD,启动HBase没有问题,但是使用hbase shell 命令转换到shell下时,使用比如命令,scan 't1', create 'test','col' 等等都会出错,下面的是log里面的error部分:
ERROR: org.apache.hadoop.hbase.PleaseHoldException: org.apache.hadoop.hbase.PleaseHoldException: Master is initializing
Here is some help for this command:
Create table; pass table name, a dictionary of specifications per
column family, and optionally a dictionary of table configuration.
Dictionaries are described below in the GENERAL NOTES section.
Examples:
hbase> create 't1', {NAME => 'f1', VERSIONS => 5}
hbase> create 't1', {NAME => 'f1'}, {NAME => 'f2'}, {NAME => 'f3'}
hbase> # The above in shorthand would be the following:
hbase> create 't1', 'f1', 'f2', 'f3'
hbase> create 't1', {NAME => 'f1', VERSIONS => 1, TTL => 2592000, BLOCKCACHE => true}
hbase> create 't1', 'f1', {SPLITS => ['10', '20', '30', '40']}
hbase> create 't1', 'f1', {SPLITS_FILE => 'splits.txt'}
hbase> # Optionally pre-split the table into NUMREGIONS, using
hbase> # SPLITALGO ("HexStringSplit", "UniformSplit" or classname)
hbase> create 't1', 'f1', {NUMREGIONS => 15, SPLITALGO => 'HexStringSplit'}
2014-01-14 02:19:52,285 ERROR org.apache.hadoop.hbase.master.HMasterCommandLine: Failed to start master
java.lang.RuntimeException: HMaster Aborted
at org.apache.hadoop.hbase.master.HMasterCommandLine.startMaster(HMasterCommandLine.java:160)
at org.apache.hadoop.hbase.master.HMasterCommandLine.run(HMasterCommandLine.java:104)
at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:65)
at org.apache.hadoop.hbase.util.ServerCommandLine.doMain(ServerCommandLine.java:76)
at org.apache.hadoop.hbase.master.HMaster.main(HMaster.java:2044)
Thu Jan 16 01:27:28 PST 2014 Stopping hbase (via master)
Thu Jan 16 01:34:58 PST 2014 Starting master on hadoop1
虽然看到了log文档里面的提示,但是由于是刚开始接触HBase,所以还是不知道如何下手。还是上网找各种资源,后面看到一个人的博客中提到这个问题按照他们的方法解决了,要注意
/etc/hosts里面的127.0.0.1是否是127.0.1.1,如果是的话,把他改过来就可以了。
127.0.0.1 localhost localhost.localdomain localhost4 localhost4.localdomain4
::1 localhost localhost.localdomain localhost6 localhost6.localdomain6
虽然网上大家的版本各种各样,但是如果真的要学的话,还是官网上面的资料齐全点。
http://www.myexception.cn/internet/1440933.html
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 解决方案 参考文章: (1)ERROR:org.ap ...
- org.apache.hadoop.hbase.PleaseHoldException: Master is initializing(解決方案汇总+自己摸索)
#--------------------------------------环境(start)---------------------------------------------------- ...
- hbase报错:org.apache.hadoop.hbase.PleaseHoldException: Master is initializing
报错 hbase(main):002:0> status 1 active master, 0 backup masters, 2 servers, 0 dead, 0.0000 average ...
- 记录Hbase bug——org.apache.hadoop.hbase.PleaseHoldException: Master is initializing
今天在作为分布式hbase数据库创建时,碰见了一个很棘手的问题: 随后查看master的日志文件: 网上搜了很多没有一个合适我的,因为我用的是hbase自带的zookeeper,而不是网上大多数人自己 ...
- hbase出现org.apache.hadoop.hbase.PleaseHoldException: Master is initializing错误解决
版权声明:本文为博主原创文章,遵循CC 4.0 BY-SA 版权协议,转载请附上原文出处链接和本声明. 本文链接:https://blog.csdn.net/luoye4321/article/det ...
- ERROR: org.apache.hadoop.hbase.MasterNotRunningException: Retried 7 times
今天在配置好hbase分布环境后,进行shell操作,在创建表时出现了如下错误: ERROR: org.apache.hadoop.hbase.MasterNotRunningException: R ...
- 给hbase增加协处理器报ERROR: org.apache.hadoop.hbase.DoNotRetryIOException:错误
刚开始,我输入协处理器的语法是这样子输入的(隔了好几天,我又用这个语法,又能行了,郁闷): alter 'publicDataset:comment',METHOD =>'table_att', ...
- 解决Hbase输入list,创建表报错,输入status可以,org.apache.hadoop.hbase.ipc.ServerNotRunningYetException: S
今天恢复了一下快照,然后hbase出现了问题 2019-08-25 00:59:55,810 INFO [RpcServer.default.FPBQ.Fifo.handler=28,queue=1, ...
- HBASE启动失败,Failed construction of Master: class org.apache.hadoop.hbase.master.HMaster
Master日志错误: 2015-12-02 06:34:32,394 ERROR [main] master.HMasterCommandLine: Master exiting java.lang ...
最新文章
- sqlserⅴer随机函数_SQL server 随机数函数
- 802.11e (Quality of Service) : EDCA
- IDC:中国IT安全硬件、软件和服务全景图2014–2018 预测与分析
- android拦截短信获取短信内容,《英雄联盟手游》先锋测试招募说明:仅安卓用户...
- python3.7不能用_解决Python3.7.0 SSL低版本导致Pip无法使用问题
- 零基础带你学习MySQL—Update语句以及注意事项(八)
- hibernate教程笔记3
- 通信专业综合能力(中级)考试大纲
- ESP32-CAM模块网络摄像头demo加装舵机控制教程
- ISA Server 新手完全进阶指南
- WiFi 2.4G和5G信道分布说明(认证相关)
- vue脚手架安装步骤详情
- Markdown 语法手册全
- 记录一次浏览器HTTPS“你的连接不是私密连接”错误NET::ERR_CERT_REVOKED
- 管培生走下神坛,“高管捷径”破灭
- [记录]Cloudflare之WARP及其他app的DNS测试
- unity 移动开发优化二 图形优化,脚本优化概述
- Java中使用HSSFWorkbook POI导出下载excel文件
- java unicode是什么意思_(转)谈谈对Java中Unicode、编码的理解
- 微信小程序 MinUI 组件库系列之 abnor 异常流组件 1