Hi Pavan, Before you try to connect with the Java API, just try with the Shell and look at the logs and WebUI.
So few things. 1) Have you updated you /etc/hosts file with your host name to point to you local IP; 2) Have you checked the WebUI in you browser to see if your master is running; 3) What is into your log file? JM 2013/7/15 Pavan Sudheendra <[email protected]> > I've been trying to run examples from HBase-The definitve guide and > i've been encountering with this error and i'm not able to get past > it. I'm running in Stand alone mode if that helps. > > > Exception in thread "main" > org.apache.hadoop.hbase.MasterNotRunningException: � > 17136@ubuntulocalhost,32992,1373877731444 > at > > org.apache.hadoop.hbase.client.HConnectionManager$HConnectionImplementation.getMaster(HConnectionManager.java:615) > at org.apache.hadoop.hbase.client.HBaseAdmin.<init>(HBaseAdmin.java:94) > at util.HBaseHelper.<init>(HBaseHelper.java:29) > at util.HBaseHelper.getHelper(HBaseHelper.java:33) > at client.PutExample.main(PutExample.java:22) > > > But my HMaster process is running: > > hduser@ubuntu:/home/ubuntu/hbase-book/ch03$ jps > 17602 Jps > 8709 NameNode > 8929 DataNode > 9472 TaskTracker > 9252 JobTracker > 9172 SecondaryNameNode > 17136 HMaster > > > -- > Regards- > Pavan >
