Shashwat, Thanks ! it worked. What's the reason for the change?
BTW, Hadoop worked without any changes to the /etc/hosts. Praveen On Wed, Jan 18, 2012 at 11:42 PM, Doug Meil <[email protected]>wrote: > > Thanks Shashwat... > > The loopback-on-Ubuntu advice was just added to the Book/RefGuide last > week in Troubleshooting but it's not up on the website yet (sorry!). > > > > > > On 1/18/12 11:56 AM, "shashwat shriparv" <[email protected]> > wrote: > > >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$HConnectionImplementati > >>on.getHRegionConnection(HConnectionManager.java:1176) > >> > at > >> > > >> > >>org.apache.hadoop.hbase.master.ServerManager.getServerConnection(ServerMa > >>nager.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(AssignmentMan > >>ager.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(HMaste > >>rCommandLine.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.jav > >>a:206) > >> > at org.apache.hadoop.net.NetUtils.connect(NetUtils.java:404) > >> > at > >> > > >> > >>org.apache.hadoop.hbase.ipc.HBaseClient$Connection.setupIOstreams(HBaseCl > >>ient.java:328) > >> > at > >> > > >> > >>org.apache.hadoop.hbase.ipc.HBaseClient.getConnection(HBaseClient.java:88 > >>3) > >> > at org.apache.hadoop.hbase.ipc.HBaseClient.call(HBaseClient.java:750) > >> > at > >>org.apache.hadoop.hbase.ipc.HBaseRPC$Invoker.invoke(HBaseRPC.java:257) > >> > at $Proxy7.getProtocolVersion(Unknown Source) > >> > at org.apache.hadoop.hbase.ipc.HBaseRPC.getProxy(HBaseRPC.java:419) > >> > at org.apache.hadoop.hbase.ipc.HBaseRPC.getProxy(HBaseRPC.java:393) > >> > at org.apache.hadoop.hbase.ipc.HBaseRPC.getProxy(HBaseRPC.java:444) > >> > at > >>org.apache.hadoop.hbase.ipc.HBaseRPC.waitForProxy(HBaseRPC.java:349) > >> > ... 12 more > >> > > >> > When trying to create a table in the shell the below error is thrown > >> > > >> > hbase(main):001:0> create 'test', 'data' > >> > > >> > ERROR: org.apache.hadoop.hbase.NotAllMetaRegionsOnlineException: > >> > org.apache.hadoop.hbase.NotAllMetaRegionsOnlineException: Timed out > >> > (10000ms) > >> > > >> > Also, stopping the HBase goes on for ever. Had to stop it using the > >>kill > >> > command. > >> > > >> > Regards, > >> > Praveen > >> > > >> > > >> > > > > > > > >-- > >Shashwat Shriparv > > >
