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 74FF510753 for ; Mon, 7 Apr 2014 12:24:45 +0000 (UTC) Received: (qmail 14053 invoked by uid 500); 7 Apr 2014 12:24:42 -0000 Delivered-To: apmail-hbase-user-archive@hbase.apache.org Received: (qmail 13874 invoked by uid 500); 7 Apr 2014 12:24:41 -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 13861 invoked by uid 99); 7 Apr 2014 12:24:39 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 07 Apr 2014 12:24:39 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=5.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [202.38.128.6] (HELO ihep.ac.cn) (202.38.128.6) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 07 Apr 2014 12:24:34 +0000 Received: by ajax-webmail-ihep (Coremail) ; Mon, 7 Apr 2014 20:24:11 +0800 (GMT+08:00) Date: Mon, 7 Apr 2014 20:24:11 +0800 (GMT+08:00) From: "LEI Xiaofeng" To: user@hbase.apache.org Message-ID: <30d41c92.1cead.1453c255837.Coremail.leixf@ihep.ac.cn> In-Reply-To: References: <6eaf6b6c.1ce7c.1453c0b44c6.Coremail.leixf@ihep.ac.cn> Subject: Re: [SPAM] Re: how to develop a custom LoadBalancer for HBase MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Originating-IP: [192.168.32.34] X-Priority: 3 X-Mailer: Coremail Webmail Server Version XT2.1.9 build 20121203(20875.5107.5063) Copyright (c) 2002-2014 www.mailtech.cn ihep X-SendMailWithSms: false X-CM-TRANSID: AQAAf0CJHkbrmEJTzh_HAA--.25568W X-CM-SenderInfo: hohl5wo6lkv1wodfhubq/1tbiAQQHA1Dmq2vavwAGsU X-Coremail-Antispam: 1Ur529EdanIXcx71UUUUU7IcSsGvfJ3iIAIbVAYjsxI4VWxJw CS07vEb4IE77IF4wCS07vE1I0E4x80FVAKz4kxMIAIbVAFxVCaYxvI4VCIwcAKzIAtYxBI daVFxhVjvjDU= X-Virus-Checked: Checked by ClamAV on apache.org Thanks for your reply, So I just need to compile my own LoadBalancer.java? But how can I deploy it= to the Master? And how to write the in hbase-site.xml? Is it a abs= olute path?=20 > -----=E5=8E=9F=E5=A7=8B=E9=82=AE=E4=BB=B6----- > =E5=8F=91=E4=BB=B6=E4=BA=BA: "Jean-Marc Spaggiari" > =E5=8F=91=E9=80=81=E6=97=B6=E9=97=B4: 2014=E5=B9=B44=E6=9C=887=E6=97=A5 = =E6=98=9F=E6=9C=9F=E4=B8=80 > =E6=94=B6=E4=BB=B6=E4=BA=BA: user > =E6=8A=84=E9=80=81:=20 > =E4=B8=BB=E9=A2=98: [SPAM] Re: how to develop a custom LoadBalancer for H= Base >=20 > Shameless plug: > http://www.spaggiari.org/index.php/hbase/changing-the-hbase-default-loadb= alancer#.U0KTsUU6toc;) >=20 > You don't need to recompile the entire HBase source code. Just your code, > then deploy it to the Master server and do the config in hbase-site.xml: > > hbase.master.loadbalancer.class > org.spaggiari.hbase.RegionServerPerformanceBalancer > >=20 > Feel free to ask more questions if required. >=20 > JM >=20 >=20 > 2014-04-07 7:55 GMT-04:00 LEI Xiaofeng : >=20 > > Hello, > > > > Does anybody know how to develop a custom LoadBalancer for HBase? What = is > > the development process? And how to use my custom LoadBalancer? Do I ne= ed > > to re-compile the whole HBase source code? > > > > > > > > Thanks, > > Xiaofeng > > > >