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
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 ?
> >
> > Cheers
> >
> > On Mon, Dec 31, 2012 at 9:48 AM, hua beatls <[EMAIL PROTECTED]> wrote:
> >
> > > HI,
> > >    I am using hbase 0.92.1-cdh4.1.2, and i check it again, and find i
> can
> > > create a table which has only regionser, happen to be on this
> > regionserver,
> > > but i cannot "balance_switch ture" to balance the regions over the
> > cluster.
> > >
> > >    Best R.
> > >
> > >     beatls
> > >
> > > On Tue, Jan 1, 2013 at 1:32 AM, Ted Yu <[EMAIL PROTECTED]> wrote:
> > >
> > > > The correct syntax is:
> > > > bin/hbase-daemon.sh stop regionserver
> > > >
> > > > What HBase version are you using ?
> > > >
> > > > Thanks
> > > >
> > > > On Mon, Dec 31, 2012 at 8:05 AM, hua beatls <[EMAIL PROTECTED]>
> wrote:
> > > >
> > > > > HI all,
> > > > >        we stop and start regionserver with 'bin/hbase-daemon.sh
> stop
> > &
> > > > > bin/hbase-daemon.sh start',  the regionserver seems come up,
> > > > >        but it no request was accecpted.
> > > > >        and we use 'banlande-switch true',  not works.
> > > > >
> > > > >        how to make this regionserver work normal?
> > > > >        seem there is some problem about zookeeper of this server,
> > below
> > > > is
> > > > > zookeeper.out:
> > > > >
> > > > >           (ip addr for this server is 192.168.250.108, while
> > > > > 192.168.250.106 is another node in this cluster).
> > > > >
> > > > > 2012-12-31 23:24:15,402 [myid:3] - INFO  [NIOServerCxn.Factory:
> > > > > 0.0.0.0/0.0.0.0:2181:NIOServerCnxn@1000] - Closed socket
> connection
> > > for
> > > > > client /192.168.250.106:38950 which had sessionid
> 0x33be7062e140389
> > > > > 2012-12-31 23:26:08,738 [myid:3] - INFO  [NIOServerCxn.Factory:
> > > > > 0.0.0.0/0.0.0.0:2181:NIOServerCnxnFactory@202] - Accepted socket
> > > > > connection
> > > > > from /192.168.250.106:39261
> > > > > 2012-12-31 23:26:08,739 [myid:3] - INFO  [NIOServerCxn.Factory:
> > > > > 0.0.0.0/0.0.0.0:2181:ZooKeeperServer@824] - Client attempting to
> > renew
> > > > > session 0x23be99906db0342 at /192.168.250.106:39261
> > > > > 2012-12-31 23:26:08,739 [myid:3] - INFO  [NIOServerCxn.Factory:
> > > > > 0.0.0.0/0.0.0.0:2181:Learner@107] - Revalidating client:
> > > > 0x23be99906db0342
> > > > > 2012-12-31 23:26:08,741 [myid:3] - INFO  [QuorumPeer[myid=3]/
> > > > 0.0.0.0:2181
> > > > > :ZooKeeperServer@595] - Established session 0x23be99906db0342 with
> > > > > negotiated timeout 40000 for client /192.168.250.106:39261
> > > > > 2012-12-31 23:30:00,051 [myid:3] - INFO
> > > > > [CommitProcessor:3:NIOServerCnxn@1000] - Closed socket connection
> > for
> > > > > client /192.168.250.106:39261 which had sessionid
> 0x23be99906db0342
> > > > > 2012-12-31 23:3