Click here to Skip to main content
15,892,059 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I am struggling for getting my HBase shell running. It throws me the above exception in subject line. I have checked that hbase-site.xml matches perfectly with hadoop one.

Please help. I am struggling for 2 days and have a project due. I am attaching the two xml files of hadoop and hbase.

hbase-site.xml
SQL
<pre lang="xml">
<configuration>
      <property>
        <name>hbase.rootdir</name>    
        <value>hdfs://localhost:54310/hbase</value>
        </property>
     <property>
     <name>hbase.zookeeper.property.dataDir</name>
     <value>/home/hduser/zookeeper</value>
    </property>

    <property>
      <name>hbase.zookeeper.property.clientPort</name>
      <value>2222</value>
      <description>Property from ZooKeeper's config zoo.cfg.
      The port at which the clients will connect.
      </description>
    </property>

    <property>
      <name>hbase.zookeeper.quorum</name>
      <value>localhost</value>
      <description>Comma separated list of servers in the ZooKeeper Quorum.
      </description>
    </property>

    </configuration>


Core-site.xml

XML
<configuration>
   <property>
     <name>hadoop.tmp.dir</name>
     <value>/app/hadoop/tmp</value>
     <description>A base for other temporary directories.</description>
   </property>

   <property>
     <name>fs.default.name</name>
     <value>hdfs://localhost:54310</value>
     <description>The name of the default file system.</description>
   </property>
 </configuration>
Posted
Updated 20-Mar-15 0:05am
v2

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Top Experts
Last 24hrsThis month


CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900