You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@hbase.apache.org by Vamshi Krishna <va...@gmail.com> on 2011/12/06 07:25:48 UTC

what is region server startcode

Hi i want to move some regions of table from one server to other, but in
the move method argumemnts, what is the meaning of regionserver startcode?
from where i can get it? please can anybody tell..?

-- 
*Regards*
*
Vamshi Krishna
*

Re: what is region server startcode

Posted by Vamshi Krishna <va...@gmail.com>.
Thankyou Jieshan. i will try that.

2011/12/6 bijieshan <bi...@huawei.com>

> Hi Vamshi,
> Here's an example of how to get serverInfo in client code:
>
>  HMasterInterface master = hbaseAdmin.getMaster ();
>  Collection <HServerInfo> regionServers = master.getClusterStatus
> ().getServerInfo ();
>
> Startcode is used to distinguish between the start-ups of same
> regionserver at different time point.
> It's the start-time of one regionserver.
>
> Jieshan.
>
> -----邮件原件-----
> 发件人: Vamshi Krishna [mailto:vamshi2105@gmail.com]
> 发送时间: 2011年12月6日 14:26
> 收件人: user@hbase.apache.org
> 主题: what is region server startcode
>
> Hi i want to move some regions of table from one server to other, but in
> the move method argumemnts, what is the meaning of regionserver startcode?
> from where i can get it? please can anybody tell..?
>
> --
> *Regards*
> *
> Vamshi Krishna
> *
>



-- 
*Regards*
*
Vamshi Krishna
*

Re: what is region server startcode

Posted by bijieshan <bi...@huawei.com>.
Hi Vamshi,
Here's an example of how to get serverInfo in client code:
  
  HMasterInterface master = hbaseAdmin.getMaster ();
  Collection <HServerInfo> regionServers = master.getClusterStatus ().getServerInfo ();

Startcode is used to distinguish between the start-ups of same regionserver at different time point. 
It's the start-time of one regionserver.

Jieshan.

-----邮件原件-----
发件人: Vamshi Krishna [mailto:vamshi2105@gmail.com] 
发送时间: 2011年12月6日 14:26
收件人: user@hbase.apache.org
主题: what is region server startcode

Hi i want to move some regions of table from one server to other, but in
the move method argumemnts, what is the meaning of regionserver startcode?
from where i can get it? please can anybody tell..?

-- 
*Regards*
*
Vamshi Krishna
*

Re: what is region server startcode

Posted by bijieshan <bi...@huawei.com>.
Good luck! :)

Jieshan.

-----邮件原件-----
发件人: Vamshi Krishna [mailto:vamshi2105@gmail.com] 
发送时间: 2011年12月7日 22:39
收件人: user@hbase.apache.org; Ramakrishna s vasudevan
主题: Re: what is region server startcode

Hi Jieshan., your code helped me to find out the regionserver startcode.
Thank you., ramakrishna too.

On Tue, Dec 6, 2011 at 2:21 PM, Ramkrishna S Vasudevan <
ramkrishna.vasudevan@huawei.com> wrote:

> RegionServer start code you can get it from the UI.
>
> It is the code to uniquely identify an RS.
>
> Regards
> Ram
>
> -----Original Message-----
> From: Vamshi Krishna [mailto:vamshi2105@gmail.com]
> Sent: Tuesday, December 06, 2011 11:56 AM
> To: user@hbase.apache.org
> Subject: what is region server startcode
>
> Hi i want to move some regions of table from one server to other, but in
> the move method argumemnts, what is the meaning of regionserver startcode?
> from where i can get it? please can anybody tell..?
>
> --
> *Regards*
> *
> Vamshi Krishna
> *
>
>


-- 
*Regards*
*
Vamshi Krishna
*

Re: what is region server startcode

Posted by Vamshi Krishna <va...@gmail.com>.
Hi Jieshan., your code helped me to find out the regionserver startcode.
Thank you., ramakrishna too.

On Tue, Dec 6, 2011 at 2:21 PM, Ramkrishna S Vasudevan <
ramkrishna.vasudevan@huawei.com> wrote:

> RegionServer start code you can get it from the UI.
>
> It is the code to uniquely identify an RS.
>
> Regards
> Ram
>
> -----Original Message-----
> From: Vamshi Krishna [mailto:vamshi2105@gmail.com]
> Sent: Tuesday, December 06, 2011 11:56 AM
> To: user@hbase.apache.org
> Subject: what is region server startcode
>
> Hi i want to move some regions of table from one server to other, but in
> the move method argumemnts, what is the meaning of regionserver startcode?
> from where i can get it? please can anybody tell..?
>
> --
> *Regards*
> *
> Vamshi Krishna
> *
>
>


-- 
*Regards*
*
Vamshi Krishna
*