hadoop-zookeeper-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Patrick Hunt <ph...@apache.org>
Subject Re: Exception causing close of session
Date Mon, 30 Aug 2010 18:29:37 GMT
No, by reset I meant purging the ZK database (rm -fr ..../zkdatadir). I've
seen a number of cases like this now, where a user plays with hbase for a
while and wants to reset back to a state with no data in hbase. They
shutdown some of the hbase/zk processes but not all of them (and as a result
old zk sessions are hanging around). Really we should invalidate the
session:
https://issues.apache.org/jira/browse/ZOOKEEPER-583

Patrick

On Fri, Aug 27, 2010 at 12:00 PM, Ted Dunning <ted.dunning@gmail.com> wrote:

> Patrick,
>
> Can you clarify what reset means?  It doesn't mean just restart, does it?
>
> On Thu, Aug 26, 2010 at 5:05 PM, Patrick Hunt <phunt@apache.org> wrote:
>
> > > Client has seen zxid 0xfa4 our last zxid is 0x42
> >
> > Someone reset the zk server database without restarting the clients. As a
> > result the client is "forward" in time relative to the cluster.
> >
> > Patrick
> >
> >
> > On 08/26/2010 04:03 PM, Ted Yu wrote:
> >
> >> Hi,
> >> zookeeper-3.2.2 is used out of HBase 0.20.5
> >>
> >> Linux sjc1-.com 2.6.18-92.el5 #1 SMP Tue Jun 10 18:51:06 EDT 2008 x86_64
> >> x86_64 x86_64 GNU/Linux
> >>
> >> In hbase-hadoop-zookeeper-sjc1-cml-grid00.log, I see a lot of the
> >> following:
> >>
> >> 2010-08-26 22:58:01,930 INFO org.apache.zookeeper.server.NIOServerCnxn:
> >> closing session:0x0 NIOServerCnxn:
> >> java.nio.channels.SocketChannel[connected
> >> local=/10.201.9.40:2181 remote=/10.201.9.22:63316]
> >> 2010-08-26 22:58:02,097 INFO org.apache.zookeeper.server.NIOServerCnxn:
> >> Connected to /10.201.9.22:63317 lastZxid 4004
> >> 2010-08-26 22:58:02,097 WARN org.apache.zookeeper.server.NIOServerCnxn:
> >> Client has seen zxid 0xfa4 our last zxid is 0x42
> >> 2010-08-26 22:58:02,097 WARN org.apache.zookeeper.server.NIOServerCnxn:
> >> Exception causing close of session 0x0 due to java.io.IOException:
> Client
> >> has seen zxid 0xfa4 our last zxid is 0x42
> >>
> >> If you can shed some thought on root cause, that would be great.
> >>
> >>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message