On 2019/04/08 23:11:50, Josh Elser wrote:
>
>
> On 4/7/19 10:44 PM, melank...@synergentl.com wrote:
> >
> >
> > On 2019/04/04 15:15:37, Josh Elser wrote:
> >> Looks like your RegionServer process might have died if you can't
> >> connect to its RPC port.
> >>
> >> Did you look in the RegionServer log for any mention of an ERROR or
> >> FATAL log message?
> >>
> >> On 4/4/19 8:20 AM, melank...@synergentl.com wrote:
> >>> I have installed Hadoop single node
> >>> http://intellitech.pro/tutorial-hadoop-first-lab/ and Hbase
> >>> http://intellitech.pro/hbase-installation-on-ubuntu/ successfully. I am
> >>> using a Java agent to connect to the Hbase. After a random time period
> >>> Hbase stop working and the java agent gives following error message.
> >>>
> >>> Call exception, tries=7, retries=7, started=8321 ms ago, cancelled=false,
> >>> msg=Call to db-2.c.xxx-dev.internal/xx.xx.0.21:16201 failed on connection
> >>> exception:
> >>> org.apache.hbase.thirdparty.io.netty.channel.AbstractChannel$AnnotatedConnectException:
> >>> Connection refused: db-2.c.xxx-dev.internal/xx.xx.0.21:16201,
> >>> details=row 'xxx,001:155390400,99' on table
> >>> 'hbase:meta' at region=hbase:meta,,1.1588230740,
> >>> hostname=db-2.c.xxx-dev.internal,16201,1553683263844, seqNum=-1
> >>> Here are the Hbase and zookeeper logs
> >>>
> >>> hbase-hduser-regionserver-db-2.log
> >>>
> >>> [main] zookeeper.ZooKeeperMain: Processing delete 2019-03-30 02:11:44,089
> >>> DEBUG [main-SendThread(localhost:2181)] zookeeper.ClientCnxn: Reading
> >>> reply sessionid:0x169bd98c099006e, packet:: clientPath:null
> >>> serverPath:null finished:false header:: 1,2 replyHeader:: 1,300964,0
> >>> request::
> >>> '/hbase/rs/db-2.c.stl-cardio-dev.internal%2C16201%2C1553683263844,-1
> >>> response:: null
> >>> hbase-hduser-zookeeper-db-2.log
> >>>
> >>> server.FinalRequestProcessor: sessionid:0x169bd98c099004a
> >>> type:getChildren cxid:0x28e3ad zxid:0xfffe txntype:unknown
> >>> reqpath:/hbase/splitWAL
> >>> my hbase-site.xml file is as follows
> >>>
> >>>
> >>>//Here you have to set the path where you want HBase to store its
> >>> files.
> >>>
> >>>hbase.rootdir
> >>>hdfs://localhost:9000/hbase
> >>>
> >>>
> >>>hbase.zookeeper.quorum
> >>>localhost
> >>>
> >>>//Here you have to set the path where you want HBase to store its
> >>> built in zookeeper files.
> >>>
> >>>hbase.zookeeper.property.dataDir
> >>>${hbase.tmp.dir}/zookeeper
> >>>
> >>>
> >>>hbase.cluster.distributed
> >>>true
> >>>
> >>>
> >>>hbase.zookeeper.property.clientPort
> >>>2181
> >>>
> >>>
> >>> when I restart the Hbase it will start working again and stop working
> >>> after few days. I am wondering what would be the fix for this.
> >>>
> >>> Thanks.
> >>> BR,
> >>> Melanka
> >>>
> >> Hi Josh,
> > Sorry for the late reply. I restarted the Hbase on 05/04/2019 and it was
> > again down on 06/04/2019 at 00.06 AM.
> >
> > Log from hbase-root-regionserver-db-2 is as follows.
> >
> > 2019-04-04 04:42:26,047 DEBUG [main-SendThread(localhost:2181)]
> > zookeeper.ClientCnxn: Reading reply sessionid:0x169d86a879b00bf, packet::
> > clientPath:null serverPath:null finished:false header:: 67,2 replyHeader::
> > 67,776370,0 request::
> > '/hbase/rs/db-2.c.stl-cardio-dev.internal%2C16201%2C1554352093266,-1
> > response:: null
> > 2019-04-04 04:42:26,047 DEBUG [main-EventThread]
> > zookeeper.ZooKeeperWatcher: regionserver:16201-0x169d86a879b00bf,
> > quorum=localhost:2181, baseZNode=/hbase Received ZooKeeper Event,
> > type=NodeDeleted, state=SyncConnected,
> > path=/hbase/rs/db-2.c.stl-cardio-dev.internal,16201,1554352093266
> > 2019-04-04 04:42:26,047 DEBUG [main-EventThread]
> > zookeeper.ZooKeeperWatcher: regionserver:16201-0x169d86a879b00bf,
> > quorum=localhost:2181, baseZNode=/hbase Received ZooKeeper Event,
> > type=NodeChildrenChanged, state=SyncConnected, path=/hbase/rs
> > 2019-04-04 04:42:26,050 DEBUG
> > [regionserver/db-2.c.xxx-dev.internal/xx.xxx.0.21:16201]
> > zookeeper.ZooKeeper: Closing session: 0x169d86a879b00bf
> > 2019-04-04 04:42:26,050 DEBUG
> > [regionserver/db-2.c.xxx-dev.internal/xx.xx.0.21:16201]
> > zookeeper.ClientCnxn: Closing client for session: 0x169d86a879b00bf
> > 2019-04-04 04:42:26,056 DEBUG [main-SendThread(localhost:2181)]
> > zookeeper.ClientCnxn: Reading reply sessionid:0x169d86a879b00bf, packet::
> > clientPath:null serverPath:null finished:false header:: 68,-11
> > replyHeader:: 68,776371,0 request:: null response:: null
> > 2019-04-04 04:42:26,056 DEBUG
> > [regionserver/db-2.c.xxx-dev.internal/xx.xxx.0.21:16201]
> > zookeeper.ClientCnxn: Disconnecting client for session: 0x169d86a879b00bf
> > 2019-04-04 04:42:26,056 INFO
> > [regionserver/db-2.c.xxx-dev.internal/xxx.xxx.0.21:16201]
> > zookeeper.ZooKeeper: Session: 0x169d86a879b00bf closed
> > 2019-04-04 04:42:26,056