Home | About | Sematext search-lucene.com search-hadoop.com
 Search Hadoop and all its subprojects:

Switch to Plain View
HBase, mail # user - tabel in 'transition' state which cannot be dropped


+
hua beatls 2013-01-24, 10:16
+
ramkrishna vasudevan 2013-01-24, 10:24
+
Mohammad Tariq 2013-01-24, 10:29
Copy link to this message
-
Re: tabel in 'transition' state which cannot be dropped
ramkrishna vasudevan 2013-01-24, 10:50
If the problem persists we may have to remove the znode for that table also
and restart.

I think we need to make the hbck handle such cases.  I remember that HBCK
fixes the region in transition problem but does not go and mark the table
to DISABLED/ENABLED based on what was happening previously on the cluster.
Otherwise folks can use that option in HBCK.   There is a JIRA opened for
that which i am not able to find now.  Or may be it is fixed in recent
versions.

Regards
Ram

On Thu, Jan 24, 2013 at 3:59 PM, Mohammad Tariq <[EMAIL PROTECTED]> wrote:

> looks to me a copy of your other email, with a different heading.
>
> anyways, do as Ram sir has said.
>
> Warm Regards,
> Tariq
> https://mtariq.jux.com/
> cloudfront.blogspot.com
>
>
> On Thu, Jan 24, 2013 at 3:54 PM, ramkrishna vasudevan <
> [EMAIL PROTECTED]> wrote:
>
> > Oops, which version is of HBase is this?
> >
> > If the problem persists can you restart the cluster.  Sounds bad but you
> > may have to do that. :(
> >
> > Regards
> > Ram
> >
> > On Thu, Jan 24, 2013 at 3:46 PM, hua beatls <[EMAIL PROTECTED]> wrote:
> >
> > > HI,
> > >    i have a table in 'transition' state, which couldn't  be 'disable'
>  or
> > > enable. I try to 'drop' it but failed. below is the error messages.
> > >
> > > 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.<init>(TableEventHandler.java:70)
> > >         at
> > >
> > >
> >
> org.apache.hadoop.hbase.master.handler.DeleteTableHandler.<init>(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 Transition  Region State bd8d2bf3ef04d0f8d3dac5ca2f612f42
> > >
> > >
> >
> T21_0513_201301_bigtable,27100750000000000000000000000000000000000000000000000000000,1358994123350.bd8d2bf3ef04d0f8d3dac5ca2f612f42.
> > > state=PENDING_OPEN, ts=Thu Jan 24 16:58:34 CST 2013 (699s ago),
> > > server=hadoop1,60020,1358993820407
> > >
> >
>