You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@hbase.apache.org by James Young <br...@gmail.com> on 2012/02/21 04:33:33 UTC

RegionObserver issue: ZooKeeperServer: Refusing session request as it has seen zxid 0x38 our last zxid is 0x30 client must try another server

Hi there,

Thanks for the help i have got from this HBASE group.

Here is a new question:  I was trying to implement a region observer
which creates/updates a row if it detects some operation for a table.

But the region observer stopped at some point and the log shows:
"ZooKeeperServer: Refusing session request for client
/0:0:0:0:0:0:0:1%0:56366 as it has seen zxid 0x38 our last zxid is
0x30 client must try another server"



I am not sure what this means and how to solve that. I also don't know
if a region observer can write something to another region on anther
region observer.

Thanks for the help.

Best,
James

Re: RegionObserver issue: ZooKeeperServer: Refusing session request as it has seen zxid 0x38 our last zxid is 0x30 client must try another server

Posted by James Young <br...@gmail.com>.
Thanks.
I am using hbase0.92 with zookeeper 3.4.2
Here is more log

2012-02-21 13:36:35,908 INFO org.apache.zookeeper.ClientCnxn: Session
establishment complete on server
fe80:0:0:0:0:0:0:1%1/fe80:0:0:0:0:0:0:1%1:2181, sessionid =
0x1359e6906420004, negotiated timeout = 40000
2012-02-21 13:36:35,912 DEBUG
org.apache.hadoop.hbase.client.HConnectionManager$HConnectionImplementation:
Lookedup root region location,
connection=org.apache.hadoop.hbase.client.HConnectionManager$HConnectionImplementation@6bb5eba4;
serverName=10.0.1.2,50191,1329802578542
2012-02-21 13:36:35,918 DEBUG
org.apache.hadoop.hbase.client.HConnectionManager$HConnectionImplementation:
Cached location for .META.,,1.1028785192 is 10.0.1.2:50191
2012-02-21 13:36:35,922 DEBUG
org.apache.hadoop.hbase.client.MetaScanner: Scanning .META. starting
at row=testTable,,00000000000000 for max=10 rows using
org.apache.hadoop.hbase.client.HConnectionManager$HConnectionImplementation@6bb5eba4
2012-02-21 13:36:35,926 DEBUG
org.apache.hadoop.hbase.client.HConnectionManager$HConnectionImplementation:
Cached location for
testTable,,1329790813692.174f8027a6554def12dbd95c167ee441. is
10.0.1.2:50191
2012-02-21 13:36:35,934 DEBUG
org.apache.hadoop.hbase.regionserver.HRegion: Got preGet for row:
A-O-1-1-1-1-1-1-1-1-1-1-1-1-1-1-20120221-3
2012-02-21 13:36:35,951 DEBUG
org.apache.hadoop.hbase.regionserver.HRegion: Got preGet for row:
A-A-O-1-1-1-1-1-1-1-1-1-1-1-1-1-20120221-3
2012-02-21 13:36:35,969 DEBUG
org.apache.hadoop.hbase.regionserver.HRegion: Got preGet for row:
A-A-A-O-1-1-1-1-1-1-1-1-1-1-1-1-20120221-3
2012-02-21 13:36:35,987 DEBUG
org.apache.hadoop.hbase.regionserver.HRegion: Got preGet for row:
A-A-A-A-O-1-1-1-1-1-1-1-1-1-1-1-20120221-3
2012-02-21 13:36:36,006 DEBUG
org.apache.hadoop.hbase.regionserver.HRegion: Got preGet for row:
A-A-A-A-A-O-1-1-1-1-1-1-1-1-1-1-20120221-3
2012-02-21 13:36:36,023 DEBUG
org.apache.hadoop.hbase.regionserver.HRegion: Got preGet for row:
A-A-A-A-A-A-O-1-1-1-1-1-1-1-1-1-20120221-3
2012-02-21 13:36:36,039 DEBUG
org.apache.hadoop.hbase.regionserver.HRegion: Got preGet for row:
A-A-A-A-A-A-A-O-1-1-1-1-1-1-1-1-20120221-3
2012-02-21 13:36:36,059 DEBUG
org.apache.hadoop.hbase.regionserver.HRegion: Got preGet for row:
A-A-A-A-A-A-A-A-O-1-1-1-1-1-1-1-20120221-3
2012-02-21 13:36:36,060 INFO
org.apache.zookeeper.server.NIOServerCnxnFactory: Accepted socket
connection from /127.0.0.1:50246
2012-02-21 13:36:36,061 INFO
org.apache.zookeeper.server.ZooKeeperServer: Refusing session request
for client /127.0.0.1:50246 as it has seen zxid 0x38 our last zxid is
0x30 client must try another server
2012-02-21 13:36:36,061 INFO
org.apache.zookeeper.server.NIOServerCnxn: Closed socket connection
for client /127.0.0.1:50246 (no session established for client)
2012-02-21 13:36:36,087 DEBUG
org.apache.hadoop.hbase.regionserver.HRegion: Got preGet for row:
A-A-A-A-A-A-A-A-A-O-1-1-1-1-1-1-20120221-3
2012-02-21 13:36:36,502 INFO
org.apache.zookeeper.server.NIOServerCnxnFactory: Accepted socket
connection from /fe80:0:0:0:0:0:0:1%1:50247
2012-02-21 13:36:36,502 INFO
org.apache.zookeeper.server.ZooKeeperServer: Refusing session request
for client /fe80:0:0:0:0:0:0:1%1:50247 as it has seen zxid 0x38 our
last zxid is 0x30 client must try another server
2012-02-21 13:36:36,503 INFO
org.apache.zookeeper.server.NIOServerCnxn: Closed socket connection
for client /fe80:0:0:0:0:0:0:1%1:50247 (no session established for
client)
2012-02-21 13:36:38,119 INFO
org.apache.zookeeper.server.NIOServerCnxnFactory: Accepted socket
connection from /0:0:0:0:0:0:0:1%0:50249
2012-02-21 13:36:38,119 INFO
org.apache.zookeeper.server.ZooKeeperServer: Refusing session request
for client /0:0:0:0:0:0:0:1%0:50249 as it has seen zxid 0x38 our last
zxid is 0x30 client must try another server




On Tue, Feb 21, 2012 at 12:56 PM, Stack <st...@duboce.net> wrote:
> On Mon, Feb 20, 2012 at 7:33 PM, James Young <br...@gmail.com> wrote:
>> Thanks for the help i have got from this HBASE group.
>>
>> Here is a new question:  I was trying to implement a region observer
>> which creates/updates a row if it detects some operation for a table.
>>
>> But the region observer stopped at some point and the log shows:
>> "ZooKeeperServer: Refusing session request for client
>> /0:0:0:0:0:0:0:1%0:56366 as it has seen zxid 0x38 our last zxid is
>> 0x30 client must try another server"
>>
>>
>>
>> I am not sure what this means and how to solve that. I also don't know
>> if a region observer can write something to another region on anther
>> region observer.
>>
>
> More log please James and tell us your zk version.
>
> Go easy,
> St.Ack

Re: RegionObserver issue: ZooKeeperServer: Refusing session request as it has seen zxid 0x38 our last zxid is 0x30 client must try another server

Posted by Stack <st...@duboce.net>.
On Mon, Feb 20, 2012 at 7:33 PM, James Young <br...@gmail.com> wrote:
> Thanks for the help i have got from this HBASE group.
>
> Here is a new question:  I was trying to implement a region observer
> which creates/updates a row if it detects some operation for a table.
>
> But the region observer stopped at some point and the log shows:
> "ZooKeeperServer: Refusing session request for client
> /0:0:0:0:0:0:0:1%0:56366 as it has seen zxid 0x38 our last zxid is
> 0x30 client must try another server"
>
>
>
> I am not sure what this means and how to solve that. I also don't know
> if a region observer can write something to another region on anther
> region observer.
>

More log please James and tell us your zk version.

Go easy,
St.Ack