Home | About | Sematext search-lucene.com search-hadoop.com
 Search Hadoop and all its subprojects:

Switch to Threaded View
HBase, mail # user - Exception starting HBase


Copy link to this message
-
Re: Exception starting HBase
shashwat shriparv 2012-01-18, 16:56
You extracted the jar file ment what??? you will receive the archieve file
that you need to extract .....
some of the problem you can check :

   1. Change 127.0.1.1 to 127.0.0.1 in your hosts file.
   - Your host file shoud look something like

               127.0.0.1 localhost
               127.0.0.1 ubuntu.ubuntu-domain ubuntu

   1. Try to ssh your localhost and see you can connect.
   2. Check if you have sun java installed and path is set to java
   3. Configuration should have
   4.
   5. <property>
   6.     <name>hbase.rootdir</name>
   7.     <value>/localpath/hbase</value>
   8. </property>
   9.
   10. Check these options and see if it works <goog_1064349700>
   11.
   <goog_1064349700>
   12.
   <goog_1064349700>
   13. Regards  <goog_1064349700>
   14. Shashwat
On Wed, Jan 18, 2012 at 9:56 PM, Praveen Sripati
<[EMAIL PROTECTED]>wrote:

> Hi,
>
> I tried the same steps on another Ubuntu instance and getting the same
> exception in the log file. Am I missing any steps in the installation? I
> have extracted hbase jar file and ran the bin/start-hbase.sh command.
>
> Regards,
> Praveen
>
> On Wed, Jan 18, 2012 at 4:48 PM, Praveen Sripati
> <[EMAIL PROTECTED]>wrote:
>
> >
> > Hi,
> >
> > I have installed HBase 0.90.5 on Ubuntu 11.10 and ran the
> > bin/start-hbase.sh command without any changes to the configuration
> files.
> > jps outputs only HMaster and in the log file the below exception is in
> the
> > hbase-praveensripati-master-ubuntu-host.log file. How do I get around
> this
> > error?
> >
> > 2012-01-18 11:40:51,929 DEBUG
> > org.apache.hadoop.hbase.master.ServerManager: New connection to
> > localhost,46402,1326867045447
> > 2012-01-18 11:40:51,946 INFO org.apache.hadoop.ipc.HbaseRPC: Server at /
> > 127.0.0.1:46402 could not be reached after 1 tries, giving up.
> > 2012-01-18 11:40:51,947 WARN
> > org.apache.hadoop.hbase.master.AssignmentManager: Failed assignment of
> > -ROOT-,,0.70236052 to serverName=localhost,46402,1326867045447,
> > load=(requests=0, regions=0, usedHeap=27, maxHeap=993), trying to assign
> > elsewhere instead; retry=0
> > org.apache.hadoop.hbase.client.RetriesExhaustedException: Failed setting
> > up proxy interface org.apache.hadoop.hbase.ipc.HRegionInterface to /
> > 127.0.0.1:46402 after attempts=1
> > at org.apache.hadoop.hbase.ipc.HBaseRPC.waitForProxy(HBaseRPC.java:355)
> > at
> >
> org.apache.hadoop.hbase.client.HConnectionManager$HConnectionImplementation.getHRegionConnection(HConnectionManager.java:1176)
> > at
> >
> org.apache.hadoop.hbase.master.ServerManager.getServerConnection(ServerManager.java:627)
> > at
> >
> org.apache.hadoop.hbase.master.ServerManager.sendRegionOpen(ServerManager.java:564)
> > at
> >
> org.apache.hadoop.hbase.master.AssignmentManager.assign(AssignmentManager.java:1065)
> > at
> >
> org.apache.hadoop.hbase.master.AssignmentManager.assign(AssignmentManager.java:875)
> > at
> >
> org.apache.hadoop.hbase.master.AssignmentManager.assign(AssignmentManager.java:855)
> > at
> >
> org.apache.hadoop.hbase.master.AssignmentManager.assignRoot(AssignmentManager.java:1334)
> > at
> >
> org.apache.hadoop.hbase.master.HMaster.assignRootAndMeta(HMaster.java:426)
> > at
> >
> org.apache.hadoop.hbase.master.HMaster.finishInitialization(HMaster.java:383)
> > at org.apache.hadoop.hbase.master.HMaster.run(HMaster.java:279)
> > at
> >
> org.apache.hadoop.hbase.master.HMasterCommandLine$LocalHMaster.run(HMasterCommandLine.java:193)
> > at java.lang.Thread.run(Thread.java:662)
> > Caused by: java.net.ConnectException: Connection refused
> > at sun.nio.ch.SocketChannelImpl.checkConnect(Native Method)
> > at sun.nio.ch.SocketChannelImpl.finishConnect(SocketChannelImpl.java:567)
> > at
> >
> org.apache.hadoop.net.SocketIOWithTimeout.connect(SocketIOWithTimeout.java:206)
> > at org.apache.hadoop.net.NetUtils.connect(NetUtils.java:404)
> > at
> >
> org.apache.hadoop.hbase.ipc.HBaseClient$Connection.setupIOstreams(HBaseClient.java:328)
> > at
> >
> org.apache.hadoop.hbase.ipc.HBaseClient.getConnection(HBaseClient.java:883)

Shashwat Shriparv