hbase-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jason Huang <jason.hu...@icare.com>
Subject Can not access HBase Shell.
Date Thu, 13 Sep 2012 22:42:16 GMT
Hello,

I am trying to set up HBase at pseudo-distributed mode on my Macbook.
I was able to installed hadoop and HBase and started the nodes.

$JPS
5417 TaskTracker
5083 NameNode
5761 HRegionServer
5658 HMaster
6015 Jps
5613 HQuorumPeer
5171 DataNode
5327 JobTracker
5262 SecondaryNameNode

However, when I tried ./hbase shell I got the following error:
Trace/BPT trap: 5

Loooking at the log from master server I found:
2012-09-13 18:33:46,842 DEBUG
org.apache.hadoop.hbase.client.HConnectionManager$HConnectionImplementation:
Looked up root region location,
connection=org.apache.hadoop.hbase.client.HConnectionManager$HConnectionImplementation@13d21d6;
serverName=192.168.1.124,60020,1347575067207
2012-09-13 18:34:18,981 DEBUG
org.apache.hadoop.hbase.client.HConnectionManager$HConnectionImplementation:
Looked up root region location,
connection=org.apache.hadoop.hbase.client.HConnectionManager$HConnectionImplementation@13d21d6;
serverName=192.168.1.124,60020,1347575067207
2012-09-13 18:34:18,982 DEBUG
org.apache.hadoop.hbase.client.HConnectionManager$HConnectionImplementation:
locateRegionInMeta parentTable=-ROOT-,
metaLocation={region=-ROOT-,,0.70236052, hostname=192.168.1.124,
port=60020}, attempt=14 of 100 failed; retrying after sleep of 32044
because: HRegionInfo was null or empty in -ROOT-,
row=keyvalues={.META.,,1/info:server/1347575458668/Put/vlen=19/ts=0,
.META.,,1/info:serverstartcode/1347575458668/Put/vlen=8/ts=0}

I don't quite understand what this error is and how to fix it. Any
suggestions?  Thanks!

Here are my config files:

<configuration>
  <property>
    <name>hbase.rootdir</name>
    <value>hdfs://localhost:9000/hbase</value>
  </property>
  <property>
    <name>hbase.zookeeper.quorum</name>
    <value>localhost</value>
  </property>
  <property>
    <name>hbase.cluster.distributed</name>
    <value>true</value>
  </property>
  <property>
    <name>dfs.replication</name>
    <value>1</value>
  </property>
  <property>
     <name>hbase.master</name>
     <value>localhost:60000</value>
  </property>
  <property>
    <name>dfs.support.append</name>
    <value>true</value>
  </property>
</configuration>

hdfs-site.xml
<configuration>
  <property>
     <name>fs.default.name</name>
     <value>localhost:9000</value>
  </property>
  <property>
     <name>dfs.replication</name>
     <value>1</value>
  </property>
  <property>
     <name>dfs.namenode.name.dir</name>
     <value>/Users/jasonhuang/hdfs/name</value>
  </property>
  <property>
     <name>dfs.datanode.data.dir</name>
     <value>/Users/jasonhuang/hdfs/data</value>
  </property>
  <property>
     <name>dfs.datanode.max.xcievers</name>
     <value>4096</value>
  </property>
</configuration>

mapred-site.xml
<configuration>
    <property>
        <name>mapred.job.tracker</name>
        <value>localhost:9001</value>
    </property>
    <property>
        <name>mapred.child.java.opts</name>
        <value>-Xmx512m</value>
    </property>
    <property>
        <name>mapred.job.tracker</name>
        <value>hdfs://localhost:54311</value>
    </property>
</configuration>

Mime
View raw message