hbase shell中运行:
alter 'member', {NAME => 'address', METHOD => 'delete'}
报错
ERROR: org.apache.hadoop.hbase.TableNotDisabledException: org.apache.hadoop.hbase.TableNotDisabledException: member
at org.apache.hadoop.hbase.master.HMaster.checkTableModifiable(HMaster.java:1488)
at org.apache.hadoop.hbase.master.handler.TableEventHandler.(TableEventHandler.java:72)
at org.apache.hadoop.hbase.master.handler.TableDeleteFamilyHandler.(TableDeleteFamilyHandler.java:41)
at org.apache.hadoop.hbase.master.HMaster.deleteColumn(HMaster.java:1393)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.apache.hadoop.hbase.ipc.WritableRpcEngine$Server.call(WritableRpcEngine.java:320)
at org.apache.hadoop.hbase.ipc.HBaseServer$Handler.run(HBaseServer.java:1426)
需要先disable
disable 'member'
之后再删除列族就好了。
describe 'member'
enable 'member'
阅读(5540) | 评论(0) | 转发(0) |