Home | About | Sematext search-lucene.com search-hadoop.com
NEW: Monitor These Apps!
elasticsearch, apache solr, apache hbase, hadoop, redis, casssandra, amazon cloudwatch, mysql, memcached, apache kafka, apache zookeeper, apache storm, ubuntu, centOS, red hat, debian, puppet labs, java, senseiDB
 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
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

 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:
> > >
> > > > HI,
> > > >    1.   below is the output :
> > > >
> > > >
> > > >
> > > > hbase(main):023:0> balance_switch true
> > > > true
> > > >
> > > > 0 row(s) in 0.0110 seconds
> > > >
> > > > hbase(main):024:0> [root@hadoop1 ~]#
> > > >
> > > > 2.  we have 40 regions of the table;
> > > > 3.  master log ok.
> > > >
> > > >
> > > >  Thanks!
> > > >
> > > >   beatls
> > > >
> > > > On Tue, Jan 1, 2013 at 1:52 AM, Ted Yu <[EMAIL PROTECTED]> wrote:
> > > >
> > > > > How many regions does the table have ?
> > > > >
> > > > > What was the output from "balance_switch true" command ? (there was
> > > typo
> > > > in
> > > > > your command)
> > > > >
> > > > > Can you check master log around the time this command was issued ?
NEW: Monitor These Apps!
elasticsearch, apache solr, apache hbase, hadoop, redis, casssandra, amazon cloudwatch, mysql, memcached, apache kafka, apache zookeeper, apache storm, ubuntu, centOS, red hat, debian, puppet labs, java, senseiDB