Home | About | Sematext search-lucene.com search-hadoop.com
NEW: Monitor These Apps!
elasticsearch, apache solr, apache hbase, hadoop, redis, casssandra, amazon cloudwatch, mysql, memcached, apache kafka, apache zookeeper, apache storm, ubuntu, centOS, red hat, debian, puppet labs, java, senseiDB
 Search Hadoop and all its subprojects:

Switch to Threaded View
HBase >> mail # user >> HRegionserver daemon is not running on region server node


Copy link to this message
-
Re: HRegionserver daemon is not running on region server node
Vamshi:
What OS are you trying this on? Is it Linux / Windows?

You can use the *.dns.interface configurations to use the specific
network interface that you want.

That is, set the following configurations in your hbase-site.xml on
all hbase nodes
hbase.zookeeper.dns.interface
hbase.regionserver.dns.interface
hbase.master.dns.interface

You can set it to lo or eth0 or eth1 per your environment.

Restart all nodes after this and you should see them bind to the
specified interface.
You can do the same for hadoop by setting dfs.datanode.dns.interface
in hdfs-site.xml for hadoop nodes.

On Windows cygwin, I've found setting that it to "localhost" works.

Your setup should work for test environments ... for production, the
standard setup would be to co-locate region servers and data nodes to
get data locality.
--Suraj

On Thu, Nov 24, 2011 at 10:51 PM, Vamshi Krishna <[EMAIL PROTECTED]> wrote:
> Hi, i checked  by executing netstat -anp, i found
> tcp        0      0 127.0.1.1:60000         0.0.0.0:*
> LISTEN      6814/java
> .
> ***some other ports**
> tcp        0      0 0.0.0.0:60010           0.0.0.0:*
> LISTEN      6814/java .
> ***some other ports**
> .
> tcp        0      0 10.0.1.54:44095         10.0.1.54:9000
> ESTABLISHED 6814/java
> ***some other ports**
> tcp        0      0 10.0.1.54:55204         10.0.1.54:2222
> ESTABLISHED 6814/java
> ***some other ports**
> ***some other ports**
>
> the port of HMaster i found when i ran jps is 6814. But the same port i
> found in different places bound to different IPs (i.e some time 127.0.1.1 ,
> and some times 10.0.1.54). Same is the case with all other daemons which
> are running after i ran bin/start-hbase.sh
> Does it cause any abnormal behavior if i have like above. All hadoop
> daemons are runnong on other machines, but hbase daemon i.e HRegionServer
> is not running on other machines. HMaster, HQuorumPeer, HRegionServer are
> running on master node.
> My /etc/hosts file has content like
>
> 127.0.0.1       localhost
> 127.0.1.1       vamshikrishna-desktop
> 10.0.1.54       hbase-master      hadoop-namenode
> 10.0.1.55       hbase-regionserver1     hadoop-datanode1
>
> Still what more modification i need to do to bind the hostnames  to IPs?
>
>
> Please some body help..
>
>
> On Mon, Nov 21, 2011 at 7:42 PM, Joey Echeverria <[EMAIL PROTECTED]> wrote:
>
>> I suspect that the daemon's are binding to 127.0.0.1 instead of
>> 10.0.1.54 on the master. You can check this by running netstat -anp. I
>> would recommend either configuring the /etc/hosts to bind the
>> vamshikrishna-desktop and vamshi-laptop hostnames to the 10.0.1.x
>> addresses.
>>
>> -Joey
>>
>> On Thu, Nov 17, 2011 at 1:40 AM, Vamshi Krishna <[EMAIL PROTECTED]>
>> wrote:
>> > hi
>> > i am working with 2 node hbase cluster as shown below
>> > On  node1 (10.0.1.54) : master node, region server, hadoop namenode,
>> hadoop
>> > datanode
>> > on node2 (10.0.1.55): region server, hadoop datanode.
>> > When i start both hadoop then hbase, all daemons are running properly on
>> > masternode i.e node1,
>> > 2404 NameNode
>> > 3657
>> > 3007 TaskTracker
>> > 2848 JobTracker
>> > 3522 HRegionServer
>> > 3848 Main
>> > 3292 HQuorumPeer
>> > 2769 SecondaryNameNode
>> > 3345 HMaster
>> > 2575 DataNode
>> > 4768 Jps
>> >  but on node2, only TaskTracker and Datanode daemons are running, the
>> > HRegionServer daemon is not running.
>> > I provide some files which may be helpful in helping me. i have my
>> > /etc/hosts file of node1 (vamshikrishna-desktop) has
>> > # /etc/hosts (for master AND slave)
>> >
>> > 127.0.0.1       localhost
>> > 127.0.1.1       vamshikrishna-desktop
>> > 10.0.1.54 hbase-master  hadoop-namenode
>> > 10.0.1.55 hbase-regionserver1   hadoop-datanode1
>> >
>> > and file {HBASE_HOME}/conf/regionservers has
>> >
>> > hbase-regionserver1
>> > hbase-master
>> >
>> > i have my /etc/hosts file of node2 (vamshikrishna-laptop) has
>> > 127.0.0.1    localhost
>> > 127.0.0.1    vamshi-laptop
>> > 10.0.1.54 hbase-master  hadoop-namenode
NEW: Monitor These Apps!
elasticsearch, apache solr, apache hbase, hadoop, redis, casssandra, amazon cloudwatch, mysql, memcached, apache kafka, apache zookeeper, apache storm, ubuntu, centOS, red hat, debian, puppet labs, java, senseiDB