hbase-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Praveen Sripati <praveensrip...@gmail.com>
Subject Starting 0.92 in stand alone mode
Date Fri, 03 Feb 2012 09:37:52 GMT
Hi,

I have the following in .bashrc

export HADOOP_HOME=/home/praveensripati/Installations/hadoop-0.20.205.0
export HBASE_HOME=/home/praveensripati/Installations/hbase-0.92.0

and when I try to run bin/start-hbase.sh with no configurations in the
hbase-site.xml (for stand alone mode), the below exception is in the log
file. When the HADOOP_HOME is not set in .bashrc, then stand alone mode
works properly. The port 9000 in the exception corresponds to
fs.default.name property in the $HADOOP_HOME/conf/cores-site.xml.

Is this the expected behavior? Since hbase.rootdir is not specified in the
hbase-site.xml, I was expecting HBase to store the file in the /tmp folder
locally and not look for the NameNode.

2012-02-03 14:52:49,346 INFO org.apache.hadoop.ipc.Client: Retrying connect
to server: localhost/127.0.0.1:9000. Already tried 6 time(s).
2012-02-03 14:52:50,347 INFO org.apache.hadoop.ipc.Client: Retrying connect
to server: localhost/127.0.0.1:9000. Already tried 7 time(s).
2012-02-03 14:52:50,422 INFO org.apache.hadoop.hbase.master.ServerManager:
Waiting on regionserver(s) to checkin
2012-02-03 14:52:51,348 INFO org.apache.hadoop.ipc.Client: Retrying connect
to server: localhost/127.0.0.1:9000. Already tried 8 time(s).
2012-02-03 14:52:51,922 INFO org.apache.hadoop.hbase.master.ServerManager:
Waiting on regionserver(s) to checkin
2012-02-03 14:52:52,349 INFO org.apache.hadoop.ipc.Client: Retrying connect
to server: localhost/127.0.0.1:9000. Already tried 9 time(s).
2012-02-03 14:52:52,354 ERROR
org.apache.hadoop.hbase.master.HMasterCommandLine: Failed to start master
java.net.ConnectException: Call to localhost/127.0.0.1:9000 failed on
connection exception: java.net.ConnectException: Connection refused
        at org.apache.hadoop.ipc.Client.wrapException(Client.java:1095)
        at org.apache.hadoop.ipc.Client.call(Client.java:1071)
        at org.apache.hadoop.ipc.RPC$Invoker.invoke(RPC.java:225)
        at $Proxy11.getProtocolVersion(Unknown Source)
        at org.apache.hadoop.ipc.RPC.getProxy(RPC.java:396)
        at org.apache.hadoop.ipc.RPC.getProxy(RPC.java:379)
        at
org.apache.hadoop.hdfs.DFSClient.createRPCNamenode(DFSClient.java:118)
        at org.apache.hadoop.hdfs.DFSClient.<init>(DFSClient.java:222)

Thanks,
Praveen

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message