Why Namenode doesn't work in Hadoop setup

I want to create a 2-node HBase cluster. To do this, I first set up the Hadoop setting. It is working fine. Namenode, Secondary namenode, datanode, Jobtracker, Tasktracker, all work, but when I configure for Hbase, Namenode stucks. Now it does not work. Can you tell me why this is happening?

My questions

  • When hasoop works, and over it when I configure Hbase. He shows only one car. But it should show two available machines, at http://hdmaster:60010/master-status .
  • When I stop all services, start everything using the ./start-dfs.sh , ./start-mapred.sh . Then it shows the namenode is not working. Why?

I tried a lot, but I did not understand why this is happening. I think there might be a version issue. Since hbase version 0.94.2 is used by the tutorial, how did I find out all this.

I followed link1 and link2 .

Please help me. Look for your kind answer.

Some information

 OS = centOS 5.5 Java = java version "1.6.0_23" Hadoop = 1.0.3 Hbase = hbase-0.94.6.1 

xml configuration (hasoop) for master and slave:

core-site.xml

 <property> <name>fs.default.name</name> <value>hdfs://hdmaster:54310</value> </property> 

<strong> HDFS-site.xml

 <property> <name>dfs.replication</name> <value>2</value> </property> <property> <name>dfs.permission</name> <value>false</value> </property> <property> <name>dfs.name.dir</name> <value>/HADOOP/hadoop/hdfs-data-name</value> </property> <property> <name>dfs.data.dir</name> <value>/HADOOP/hadoop/hdfs-data</value> </property> 

mapred-site.xml

 <property> <name>mapred.job.tracker</name> <value>hdmaster:54311</value> </property> 

xml for hbase for master and slave:

HBase-site.xml

 <property> <name>hbase.rootdir</name> <value>hdfs://hdmaster:54310/user/hbase</value> </property> <property> <name>hbase.cluster.distributed</name> <value>true</value> </property> <property> <name>hbase.zookeeper.quorum</name> <value>hdmaster,hdslave</value> </property> <property> <name>hbase.zookeeper.property.datadir</name> <value>/HADOOP/hadoop/zookeeper</value> </property> <property> <name>hbase.zookeeper.property.clientPort</name> <value>2222</value> </property> 

CHANGE NO. one

When I run the following commands, sequentially

 ./start-mapred.sh ./start-dfs.sh ./start-hbase.sh 

Then ./start-hbase.sh gives the following output

 [hadoop@jhamb bin]$ ./start-hbase.sh hdmaster: starting zookeeper, logging to /usr/local/hbase-0.94.6.1/bin/../logs/hbase-hadoop-zookeeper-jhamb.adobe.intern.out hdslave: starting zookeeper, logging to /usr/local/hbase-0.94.6.1/bin/../logs/hbase-hadoop-zookeeper-hdslave.out starting master, logging to /usr/local/hbase-0.94.6.1/bin/../logs/hbase-hadoop-master-jhamb.adobe.intern.out hdmaster: regionserver running as process 9551. Stop it first. hdslave: regionserver running as process 5850. Stop it first. 
+2
java hbase hadoop
source share

No one has answered this question yet.

See similar questions:

8
HBASE 0.94.1 Compatible with Haop

or similar:

23498
Why is processing a sorted array faster than processing an unsorted array?
6549
Why is the subtraction of these two times (in 1927) giving a strange result?
3486
Why do Java + =, - =, * =, / = assignment operators do not require casting?
3156
Why is char [] preferred over String for passwords?
2727
What is serialVersionUID and why should I use it?
14
Role of datanode, regionerver in Hbase-hadoop integration
5
ERROR: org.apache.hadoop.hbase.MasterNotRunningException: null + hbase + hadoop
5
Connection rejected in Hbase Shell when connecting HBase to HDFS
0
HBase distributed mode
0
Fatal error "failed to become an active master" when starting hbase in cluster mode

All Articles