You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-user@hadoop.apache.org by Håvard Wahl Kongsgård <ha...@gmail.com> on 2012/08/16 14:17:02 UTC

Hbase and "ghost regionservers"

Hi, when I start my hbase cluster, hbase sometimes list 'ghost
regionservers' without any regions

    kongs2.medisin.ntnu.no:60020 1345115409411
        requests=0, regions=0, usedHeap=0, maxHeap=0

netstat does not list any services on 60020

if I start a region server locally

I get one real services and the ghost server

    kongs2.medisin.ntnu.no:60020 1345119112497
        requests=0, regions=64, usedHeap=141, maxHeap=1487
    kongs2.medisin.ntnu.no:60020 1345119112497
        requests=0, regions=0, usedHeap=0, maxHeap=0

Is it possible to manually blacklist or remove regionserver, via the
hbase shell?

I use the latest hbase from cloudera

-Håvard

Re: Hbase and "ghost regionservers"

Posted by Håvard Wahl Kongsgård <ha...@gmail.com>.
For the record, this issue was caused by multiple entries in
/etc/hosts for global IP.

for example /etc/hosts

127.0.0.1 localhost
ntnu.no 176.19.190.1
master 176.19.190.1

removing the second entry (master 176.19.190.1), resolved the issue.

-Håvard

On Thu, Aug 16, 2012 at 2:17 PM, Håvard Wahl Kongsgård
<ha...@gmail.com> wrote:
> Hi, when I start my hbase cluster, hbase sometimes list 'ghost
> regionservers' without any regions
>
>     kongs2.medisin.ntnu.no:60020 1345115409411
>         requests=0, regions=0, usedHeap=0, maxHeap=0
>
> netstat does not list any services on 60020
>
> if I start a region server locally
>
> I get one real services and the ghost server
>
>     kongs2.medisin.ntnu.no:60020 1345119112497
>         requests=0, regions=64, usedHeap=141, maxHeap=1487
>     kongs2.medisin.ntnu.no:60020 1345119112497
>         requests=0, regions=0, usedHeap=0, maxHeap=0
>
> Is it possible to manually blacklist or remove regionserver, via the
> hbase shell?
>
> I use the latest hbase from cloudera
>
> -Håvard



-- 
Håvard Wahl Kongsgård
Faculty of Medicine &
Department of Mathematical Sciences
NTNU

http://havard.security-review.net/