Home | About | Sematext search-lucene.com search-hadoop.com
NEW: Monitor These Apps!
elasticsearch, apache solr, apache hbase, hadoop, redis, casssandra, amazon cloudwatch, mysql, memcached, apache kafka, apache zookeeper, apache storm, ubuntu, centOS, red hat, debian, puppet labs, java, senseiDB
 Search Hadoop and all its subprojects:

Switch to Threaded View
HBase >> mail # user >> MasterNotRunningException


Copy link to this message
-
Re: MasterNotRunningException
Hi Vinay,

On your java code, how are you trying to connect to your server? Can you
send us a piece of relevant code?

JM

2013/8/16 Vinay Kumar Jaasti <[EMAIL PROTECTED]>

> Hi,
> I am running HBase( 0.94.10 and with hadoop 1.0.4) in standalone mode.
> I am able to connect to Hbase using Shell and create tables.
> I'm not able to connect to HBase using java client by getting
> MasterNotRunningException
> from logs, I can see that session is established and getting terminated. I
> tried with larger timeout(180000 ms) and still problem persists
>
> Any help is appreciated.
> Thanks
> --vinay
>
> *Exception on java client side:*
>
> Caused by: org.apache.hadoop.hbase.MasterNotRunningException: Retried 1
> times
>         at
> org.apache.hadoop.hbase.client.HBaseAdmin.<init>(HBaseAdmin.java:139)
>         at
>
> org.apache.hadoop.hbase.client.HBaseAdmin.checkHBaseAvailable(HBaseAdmin.java:1777)
>
>
>
> *HBase related logs:*
> 2013-08-16 12:19:04,986 INFO org.apache.zookeeper.server.ZooKeeperServer:
> Client attempting to establish new session at /192.168.1.114:55185
> 2013-08-16 12:19:05,160 INFO org.apache.zookeeper.server.ZooKeeperServer:
> Established session 0x14085e02df40003 with negotiated timeout 180000 for
> client /192.168.1.114:55185
> 2013-08-16 12:19:05,485 INFO
> org.apache.zookeeper.server.PrepRequestProcessor: Processed session
> termination for sessionid: 0x14085e02df40003
> 2013-08-16 12:19:05,655 INFO org.apache.zookeeper.server.NIOServerCnxn:
> Closed socket connection for client /192.168.1.114:55185 which had
> sessionid 0x14085e02df40003
>
> ----vinay
>
NEW: Monitor These Apps!
elasticsearch, apache solr, apache hbase, hadoop, redis, casssandra, amazon cloudwatch, mysql, memcached, apache kafka, apache zookeeper, apache storm, ubuntu, centOS, red hat, debian, puppet labs, java, senseiDB