Hi, HBasers!

We are running a small (4 nodes) staging HBase cluster and have got stuck
in a strange state: we got our 'page' table not in any "boolean" state:

HBase Shell; enter 'help<RETURN>' for list of supported commands.
Type "exit<RETURN>" to leave the HBase Shell
Version 0.92.1-cdh4.0.0, rUnknown, Mon Jun  4 17:25:27 PDT 2012

hbase(main):001:0> is_enabled 'page'
false

0 row(s) in 0.6310 seconds

hbase(main):002:0> is_disabled 'page'
false

0 row(s) in 0.0420 seconds

*hbase hbck* does not report inconsistencies:

...
  page is okay.
    Number of regions: 183
    Deployed on:  hbase02dev.303net.pvt,60020,1345151162063
hbase03dev.303net.pvt,60020,1345151153104
hbase04dev.303net.pvt,60020,1345151152636
...
0 inconsistencies detected.
Status: OK

Now we are blocked to update schema for this table since we cannot disable
it for '*alter table*':

hbase(main):003:0> disable 'page'

ERROR: org.apache.hadoop.hbase.TableNotEnabledException:
org.apache.hadoop.hbase.TableNotEnabledException: page
 at
org.apache.hadoop.hbase.master.handler.DisableTableHandler.<init>(DisableTableHandler.java:75)
 at org.apache.hadoop.hbase.master.HMaster.disableTable(HMaster.java:1154)
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:364)
 at
org.apache.hadoop.hbase.ipc.HBaseServer$Handler.run(HBaseServer.java:1336)

But we cannot enable it to leave this state:

hbase(main):001:0> enable 'page'

ERROR: org.apache.hadoop.hbase.TableNotDisabledException:
org.apache.hadoop.hbase.TableNotDisabledException: page
 at
org.apache.hadoop.hbase.master.handler.EnableTableHandler.<init>(EnableTableHandler.java:74)
 at org.apache.hadoop.hbase.master.HMaster.enableTable(HMaster.java:1142)
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:364)
 at
org.apache.hadoop.hbase.ipc.HBaseServer$Handler.run(HBaseServer.java:1336)

Data fromt the table is still available.

We tried restarting whole cluster, restarting Zookeeper. Nothing helped to
fix it. Did anybody have such issue?

I would appreciate on any help how to fix it.

--
Sincerely yours
Pavel Vozdvizhenskiy
Grid Dynamics / BigData

Reply via email to