hbase删除表报错的解决方法
发表于:2025-11-07 作者:千家信息网编辑
千家信息网最后更新 2025年11月07日,hbase建表时,如果snappy或者其他压缩没有安装好,在建表时会出现挂起的状态,并且这张表也删除不掉,还会给集群带来影响,最明显的影响是无法平衡,下面是报错的现状,和解决方法:详细内容请参考:ht
千家信息网最后更新 2025年11月07日hbase删除表报错的解决方法
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建表时,如果snappy或者其他压缩没有安装好,在建表时会出现挂起的状态,并且这张表也删除不掉,还会给集群带来影响,最明显的影响是无法平衡,下面是报错的现状,和解决方法:
详细内容请参考:http://www.itinit.net/thread-1924-1-1.html
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.
四种方法: 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'
方法
影响
明显
内容
状态
现状
集群
装好
参考
表报
数据库的安全要保护哪些东西
数据库安全各自的含义是什么
生产安全数据库录入
数据库的安全性及管理
数据库安全策略包含哪些
海淀数据库安全审计系统
建立农村房屋安全信息数据库
易用的数据库客户端支持安全管理
连接数据库失败ssl安全错误
数据库的锁怎样保障安全
无法连接到主机名的服务器
什么是软件开发视频
印发网络安全管理办法
数据库的ip由什么决定
杭州当代互联网科技有限公司
服务器怎么屏蔽别人消息
金蝶旗舰版连不上服务器怎么办
网络安全十大准则
洛阳软件开发前景
软件开发有限公司尽职调查
启泽网络技术有限公司
济南宏富网络技术有限公司好吗
网络安全法明确
服务器北京时间自动校准
数据库遇到错误打不开
vue前端项目部署服务器
网络安全应急响应机制建设
义乌工业软件开发要求
gps 回传数据库
洛阳网络技术销售价格
中国 数据库 软件开发
昆山正规网络技术有哪些
软件开发人员个人年终总结
如何查询用户所在数据库
朝阳品牌服务器回收报价
软件开发应聘申请书
我的世界分不分服务器
山东代理服务器
sqlite数据库编码
钦州企业名录数据库