网创优客建站品牌官网
为成都网站建设公司企业提供高品质网站建设
热线:028-86922220
成都专业网站建设公司

定制建站费用3500元

符合中小企业对网站设计、功能常规化式的企业展示型网站建设

成都品牌网站建设

品牌网站建设费用6000元

本套餐主要针对企业品牌型网站、中高端设计、前端互动体验...

成都商城网站建设

商城网站建设费用8000元

商城网站建设因基本功能的需求不同费用上面也有很大的差别...

成都微信网站建设

手机微信网站建站3000元

手机微信网站开发、微信官网、微信商城网站...

建站知识

当前位置:首页 > 建站知识

hbase删除表报错的解决方法

hbase建表时,如果snappy或者其他压缩没有安装好,在建表时会出现挂起的状态,并且这张表也删除不掉,还会给集群带来影响,最明显的影响是无法平衡,下面是报错的现状,和解决方法:

详细内容请参考:http://www.itinit.net/thread-1924-1-1.html

成都创新互联主营铜鼓网站建设的网络公司,主营网站建设方案,成都app软件开发公司,铜鼓h5微信小程序定制开发搭建,铜鼓网站营销推广欢迎铜鼓等地区企业咨询


hbase(main):012:0> drop 'T21_0513_201301_bigtable'
ERROR: org.apache.hadoop.hbase.TableNotDisabledException:
org.apache.hadoop.hbase.TableNotDisabledException: T21_0513_201301_bigtable
at
org.apache.hadoop.hbase.master.HMaster.checkTableModifiable(HMaster.java:1240)
at
org.apache.hadoop.hbase.master.handler.TableEventHandler.(TableEventHandler.java:70)
at
org.apache.hadoop.hbase.master.handler.DeleteTableHandler.(DeleteTableHandler.java:42)
at org.apache.hadoop.hbase.master.HMaster.deleteTable(HMaster.java:1099)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:601)
at
org.apache.hadoop.hbase.ipc.WritableRpcEngine$Server.call(WritableRpcEngine.java:364)
at
org.apache.hadoop.hbase.ipc.HBaseServer$Handler.run(HBaseServer.java:1345)
 below is the excerpts from webui:
Regions in TransitionRegionStatebd8d2bf3ef04d0f8d3dac5ca2f612f42T21_0513_201301_bigtable,27100750000000000000000000000000000000000000000000000000000,1358994123350.bd8d2bf3ef04d0f8d3dac5ca2f612f42.
state=PENDING_OPEN, ts=Thu Jan 24 16:58:34 CST 2013 (699s ago),
server=hadoop1,60020,1358993820407


四种方法:
 1.) Shut the HBase cluster - go to ZKcli and rmr /hbase - Start HBase

 2.) Move the table, use hbck -fixMeta -fixAssignments, restart the HBase
 (not a great option if there is data on the table)

3.) Force an assign on the region for the table and see if it clears it
 up
 (Should create a new znode)

 4.) Go to ZK Cli and check /hbase for unassigned regions and other data
 correlating with that region and remove it, then restart HBase

disable 'table_name'
drop 'tab-name'

名称栏目:hbase删除表报错的解决方法
网页地址:http://bjjierui.cn/article/pieeoe.html

其他资讯