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

Switch to Threaded View
HBase, mail # user - regionserver restart ERROR


Copy link to this message
-
Re: regionserver restart ERROR
hua beatls 2013-01-01, 05:17
Hi,
    master server log below:
   b2d218794c262a81641ba43ea4e. daughter
a=BT_NET_LOG_200,0000189020759862012122618000104000070465,1357016716453.27cf99f6ff9f8a36bd2394ae42dcba98.daughter
b=BT_NET_LOG_200,0000189021098542012121702200104000070465,1357016716453.70dbb96881d2f5be50d3a6fc4ff38efc.
2013-01-01 13:05:20,435 DEBUG org.apache.hadoop.hbase.master.HMaster: Not
running balancer because 1 region(s) in transition:
{5f083a03434e02cc8ec1be0dc095b01b=t113,,1356955542345.5f083a03434e02cc8ec1be0dc095b01b.
state=PENDING_OPEN, ts=1357016719988, server=hadoop2,60020,1357010035445}
2013-01-01 13:05:20,435 DEBUG
org.apache.hadoop.hbase.client.HTable$ClientScanner: Creating scanner over
.META. starting at key

   i check there is a table 't113' is 'in transition' state,
 i try to drop it, but failed, below:

hbase(main):017:0> disable 't113'
0 row(s) in 0.7790 seconds

hbase(main):018:0> drop 't113'

no response , and master server log,below:
 2013-01-01 13:09:50,548 DEBUG
org.apache.hadoop.hbase.master.handler.DeleteTableHandler: Waiting on
region to clear regions in transition;
t113,,1356955542345.5f083a03434e02cc8ec1be0dc095b01b. state=PENDING_OPEN,
ts=1357016719988, server=hadoop2,60020,1357010035445
2013-01-01 13:09:51,550 DEBUG
org.apache.hadoop.hbase.master.handler.DeleteTableHandler: Waiting on
region to clear regions in transition;
t113,,1356955542345.5f083a03434e02cc8ec1be0dc095b01b. state=PENDING_OPEN,
ts=1357016719988, server=hadoop2,60020,1357010035445

2013-01-01 13:12:42,997 ERROR
org.apache.hadoop.hbase.master.handler.TableEventHandler: Error
manipulating table t113
java.io.IOException: Waited hbase.master.wait.on.region (300000ms) for
region to leave region
t113,,1356955542345.5f083a03434e02cc8ec1be0dc095b01b. in transitions
    at
org.apache.hadoop.hbase.master.handler.DeleteTableHandler.handleTableOperation(DeleteTableHandler.java:62)
    at
org.apache.hadoop.hbase.master.handler.TableEventHandler.process(TableEventHandler.java:96)
    at
org.apache.hadoop.hbase.executor.EventHandler.run(EventHandler.java:169)
    at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
    at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)

 any other way to delete this annoying table 't113'?

 Thanks!

beatls

On Tue, Jan 1, 2013 at 12:57 PM, Ted Yu <[EMAIL PROTECTED]> wrote:

>  hbase> put 't1', "test\xef\xff", 'f1:', "\x01\x33\x40"
>
> You need to specify timestamp for the key value.
>
> After 'balancer' command returns, can you check master log ? You would see
> why balancer doesn't run.
>
> Cheers
>
> On Mon, Dec 31, 2012 at 8:48 PM, hua beatls <[EMAIL PROTECTED]> wrote:
>
> > HI,
> >    when issue 'balancer',  'false' returned.
> >   below is error log:
> >
> >   hbase> get 't1', "key\x03\x3f\xcd"
> >   hbase> get 't1', "key\003\023\011"
> >   hbase> put 't1', "test\xef\xff", 'f1:', "\x01\x33\x40"
> >
> > The HBase shell is the (J)Ruby IRB with the above HBase-specific commands
> > added.
> > For more on the HBase Shell, see
> > http://hbase.apache.org/docs/current/book.html
> >
> > ERROR: wrong number of arguments (1 for 0)
> >
> > Here is some help for this command:
> > Trigger the cluster balancer. Returns true if balancer ran and was able
> to
> > tell the region servers to unassign all the regions to balance  (the
> > re-assignment itself is async).
> > Otherwise false (Will not run if regions in transition).
> >
> >
> > hbase(main):003:0> balance_switch true
> > true
> >
> > 0 row(s) in 0.0140 seconds
> >
> > hbase(main):004:0> balancer
> > false
> >
> > 0 row(s) in 0.0060 seconds
> >
> >    maybe regions 'not run if regions in transition'. how to know wheather
> > the region is 'in transition' status or not? any cli?
> >
> >   Many Thanks!
> >
> >   beatls
> >
> >
> > On Tue, Jan 1, 2013 at 2:39 AM, Ted Yu <[EMAIL PROTECTED]> wrote:
> >
> > > You need to issue 'balancer' command to trigger an immediate balancing.
> > >
> > > Thanks
> > >
> > > On Monday, December 31, 2012, hua beatls wrote: