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 Plain View
Hadoop >> mail # user >> Re: HBase MasterNotRunningException


Copy link to this message
-
Re: HBase MasterNotRunningException
Hi Jilani,

It seems like a firewall issue. You will need to open appropriate ports or
disable the firewall on the machine you are running the service.

HTH,
Anil

On Thu, Aug 30, 2012 at 7:46 AM, Jilani Shaik <[EMAIL PROTECTED]> wrote:

> I am able to connect to HBase using Java client if the client is on the
> same box where Hadoop and HBase are installed. If the client is on other
> box either windows or linux, I am getting the error as below
>
> org.apache.zookeeper.server.NIOServerCnxn: Closed socket connection for
> client
>
> Please suggest me how to identify and fix the issue.
>
> Thank You,
> Jilani
>
> On Thu, Aug 30, 2012 at 7:00 PM, Jilani Shaik <[EMAIL PROTECTED]>
> wrote:
>
> > Hi,
> >
> > I have installed and configured  Hadoop(hadoop-1.0.3) and
> > HBase(hbase-0.94.1) in a single Fedora linux box, where HBase
> > as pseudo cluster setup.
> >
> > I am able to connect the HBase suing shell from console and able to
> create
> > and scan table. But when I tried to contact the same using java
> application
> > I am not able to connect the HBase.
> >
> > Output of "jps" as follows
> > 16872 HRegionServer
> > 16603 HQuorumPeer
> > 15821 DataNode
> > 16047 JobTracker
> > 16667 HMaster
> > 17984 Jps
> > 15680 NameNode
> > 15959 SecondaryNameNode
> > 16179 TaskTracker
> >
> > The error log for zoo keeper of HBase is as follows
> >
> > 2012-08-30 18:44:19,231 INFO
> > org.apache.zookeeper.server.NIOServerCnxnFactory: Accepted socket
> > connection from /192.265.47.219:58357
> > 2012-08-30 18:44:19,232 INFO org.apache.zookeeper.server.ZooKeeperServer:
> > Client attempting to establish new session at /192.265.47.219:58357
> > 2012-08-30 18:44:19,236 INFO org.apache.zookeeper.server.ZooKeeperServer:
> > Established session 0x13977a18091000e with negotiated timeout 180000 for
> > client /192.265.47.219:58357
> > 2012-08-30 18:45:16,245 INFO
> > org.apache.zookeeper.server.PrepRequestProcessor: Processed session
> > termination for sessionid: 0x13977a18091000e
> > 2012-08-30 18:45:16,252 INFO org.apache.zookeeper.server.NIOServerCnxn:
> > Closed socket connection for client /192.265.47.219 :58357 which had
> > sessionid 0x13977a18091000e
> > 2012-08-30 18:45:16,256 INFO
> > org.apache.zookeeper.server.NIOServerCnxnFactory: Accepted socket
> > connection from /192.265.47.219:58373
> > 2012-08-30 18:45:16,257 INFO org.apache.zookeeper.server.ZooKeeperServer:
> > Client attempting to establish new session at /192.265.47.219:58373
> > 2012-08-30 18:45:16,264 INFO org.apache.zookeeper.server.ZooKeeperServer:
> > Established session 0x13977a18091000f with negotiated timeout 180000 for
> > client /192.265.47.219:58373
> > 2012-08-30 18:46:21,279 INFO
> > org.apache.zookeeper.server.PrepRequestProcessor: Processed session
> > termination for sessionid: 0x13977a18091000f
> > 2012-08-30 18:46:21,286 INFO org.apache.zookeeper.server.NIOServerCnxn:
> > Closed socket connection for client /192.265.47.219:58373 which had
> > sessionid 0x13977a18091000f
> > 2012-08-30 18:46:21,291 INFO
> > org.apache.zookeeper.server.NIOServerCnxnFactory: Accepted socket
> > connection from /192.265.47.219:58391
> > 2012-08-30 18:46:21,292 INFO org.apache.zookeeper.server.ZooKeeperServer:
> > Client attempting to establish new session at /192.265.47.219:58391
> > 2012-08-30 18:46:21,298 INFO org.apache.zookeeper.server.ZooKeeperServer:
> > Established session 0x13977a180910010 with negotiated timeout 180000 for
> > client /192.265.47.219:58391
> > 2012-08-30 18:46:53,302 INFO
> > org.apache.zookeeper.server.PrepRequestProcessor: Processed session
> > termination for sessionid: 0x13977a180910010
> > 2012-08-30 18:46:53,309 INFO org.apache.zookeeper.server.NIOServerCnxn:
> > Closed socket connection for client /192.265.47.219:58391 which had
> > sessionid 0x13977a180910010
> >
> >
> > Below is the exception from java program
> >
> > Aug 30, 2012 6:45:13 PM org.apache.zookeeper.ZooKeeper close
> > INFO: Session: 0x13977a18091000e closed
> > Aug 30, 2012 6:45:13 PM org.apache.zookeeper.ClientCnxn$EventThread run

Thanks & Regards,
Anil Gupta
+
Jilani Shaik 2012-08-30, 15:20
+
anil gupta 2012-08-30, 15:28
+
Jilani Shaik 2012-08-30, 15:45
+
anil gupta 2012-08-30, 18:21
+
anil gupta 2012-08-30, 18:22
+
Jilani Shaik 2012-08-30, 19:17
+
Stack 2012-08-30, 22:40
+
anil gupta 2012-08-30, 22:54
+
anil gupta 2012-08-30, 22:56
+
Jilani Shaik 2012-08-31, 06:01
+
Jilani Shaik 2012-08-31, 09:48
+
Jilani Shaik 2012-08-30, 13:30
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