Return-Path: X-Original-To: apmail-hbase-user-archive@www.apache.org Delivered-To: apmail-hbase-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 7DEA1EDDE for ; Mon, 31 Dec 2012 18:28:06 +0000 (UTC) Received: (qmail 22810 invoked by uid 500); 31 Dec 2012 18:28:04 -0000 Delivered-To: apmail-hbase-user-archive@hbase.apache.org Received: (qmail 22743 invoked by uid 500); 31 Dec 2012 18:28:04 -0000 Mailing-List: contact user-help@hbase.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@hbase.apache.org Delivered-To: mailing list user@hbase.apache.org Received: (qmail 22735 invoked by uid 99); 31 Dec 2012 18:28:04 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 31 Dec 2012 18:28:04 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=HTML_MESSAGE,NORMAL_HTTP_TO_IP,RCVD_IN_DNSWL_LOW,SPF_PASS,WEIRD_PORT X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of beatls@gmail.com designates 209.85.216.52 as permitted sender) Received: from [209.85.216.52] (HELO mail-qa0-f52.google.com) (209.85.216.52) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 31 Dec 2012 18:27:57 +0000 Received: by mail-qa0-f52.google.com with SMTP id d13so8056239qak.4 for ; Mon, 31 Dec 2012 10:27:36 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=3FgepRRk2tbfa5wefVsIsHe3+lfUkdzqwh7f2u/X+IA=; b=Wh5KFN4jSuJcVrtyM+yULq8m1MfIX1UPGhMAaVutPU6mvKuHsx0D+y82gtymhjOe5z V9ILE0AcTMIIp8atIlI2Bm/mSJnwu5T5LKYk5uQITIQyb3jJ1/I0aUDXr6LLATPULyCj E+GyOKKkJigb0e6WM3nZy7d+TeYPzRv4kGKY0UhJMnHL7ZT2apUWgbOKAfSD9hJu+hGZ qo+R2EPGbn544uEB+jGHxxlb9O+zBqJo4Hvd2qkIPnYI0CUxrGRti40YAN1sZ3kYKKuU dE7UmkAQimhQ2BERW/+pwbkjojcjEJ1RSuc63hAGDJzblMbLlMclzL84VvXFrbOUcETe lMWQ== MIME-Version: 1.0 Received: by 10.49.131.67 with SMTP id ok3mr22746233qeb.42.1356978456336; Mon, 31 Dec 2012 10:27:36 -0800 (PST) Received: by 10.49.17.7 with HTTP; Mon, 31 Dec 2012 10:27:36 -0800 (PST) In-Reply-To: References: Date: Tue, 1 Jan 2013 02:27:36 +0800 Message-ID: Subject: Re: regionserver restart ERROR From: hua beatls To: user@hbase.apache.org Content-Type: multipart/alternative; boundary=047d7bdc06f0db984804d22a2afc X-Virus-Checked: Checked by ClamAV on apache.org --047d7bdc06f0db984804d22a2afc Content-Type: text/plain; charset=ISO-8859-1 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 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 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 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 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:30:10,544 [myid:3] - INFO [NIOServerCxn.Factory: > > > > 0.0.0.0/0.0.0.0:2181:NIOServerCnxnFactory@202] - Accepted socket > > > > connection > > > > from /192.168.250.106:53185 > > > > 2012-12-31 23:30:10,545 [myid:3] - INFO [NIOServerCxn.Factory: > > > > 0.0.0.0/0.0.0.0:2181:ZooKeeperServer@831] - Client attempting to > > > establish > > > > new session at /192.168.250.106:53185 > > > > 2012-12-31 23:30:10,566 [myid:3] - INFO > > > > [CommitProcessor:3:ZooKeeperServer@595] - Established session > > > > 0x33be7062e14038a with negotiated timeout 40000 for client / > > > > 192.168.250.106:53185 > > > > 2012-12-31 23:34:06,051 [myid:3] - INFO > > > > [CommitProcessor:3:NIOServerCnxn@1000] - Closed socket connection > for > > > > client /192.168.250.106:53185 which had sessionid 0x33be7062e14038a > > > > please give me some advice. > > > > > > > > many Thanks! > > > > > > > > > > > > beatls. > > > > > > > > > > --047d7bdc06f0db984804d22a2afc--