hbase-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Xiang Hua <bea...@gmail.com>
Subject Re: Can not access HBase Shell.
Date Fri, 14 Sep 2012 02:26:07 GMT
Hi,

     not  root user can not find all the hadoop process.

     1. root use find all the process, below:
[root@hadoop1 ~]# jps
17452 SecondaryNameNode
18266 Main
7759 Jps
32095 QuorumPeerMain
17108 JobTracker
16955 TaskTracker
17566 HMaster
17177 NameNode
17765 HRegionServer
19424 ThriftServer
17303 DataNode

   2.  but nonroot user only find some, below:


-bash-4.1$ jps
17452 SecondaryNameNode
7736 Jps
17177 NameNode
17303 DataNode

3. maybe .bash_profiel problem?

Thanks!

beatls@gmail.com



On Fri, Sep 14, 2012 at 6:42 AM, Jason Huang <jason.huang@icare.com> wrote:

> 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
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message