incubator-blur-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rahul challapalli <challapallira...@gmail.com>
Subject Re: Zookeeper Session Timeout
Date Thu, 06 Jun 2013 14:35:08 GMT
I will check the GC related suggestions. I am using the MiniCluster class
to start the serverd, then add a table followed by loading data using
classes in thrift.util package. This was doing just fine until recently.
Thanks


On Thu, Jun 6, 2013 at 5:51 AM, Aaron McCurry <amccurry@gmail.com> wrote:

> I haven't seen this problem, however I have not run a smoke test on Blur in
> a month or so.  I will try to run a test today.  However this sounds like a
> GC problem, perhaps the heap size is not set high enough?
>
> By adding -Xloggc to you jvm options you can see if their are long pauses
> in GC which would cause the timeout.  You can look in the blur-env.sh for
> an example of how to use it.
>
> Also what is the number of tables and number of shards in each table.  How
> much heap are you running?  How large are the rows you are running?
>
> Thanks.
>
> Aaron
>
>
> On Wed, Jun 5, 2013 at 11:58 PM, rahul challapalli <
> challapallirahul@gmail.com> wrote:
>
> > I am getting the timeout error when trying to load some data into a table
> > using mutations. Is anyone else facing a similar issue? Below is part of
> > the error
> >
> > INFO  20130605_20:54:42:042_PDT [SessionTracker] server.ZooKeeperServer:
> > Expiring session 0x13f179d607a0001, timeout of 40000ms exceeded
> >
> > INFO  20130605_20:54:42:042_PDT [ProcessThread(sid:0 cport:-1):]
> > server.PrepRequestProcessor: Processed session termination for sessionid:
> > 0x13f179d607a0002
> >
> > INFO  20130605_20:54:42:042_PDT [ProcessThread(sid:0 cport:-1):]
> > server.PrepRequestProcessor: Processed session termination for sessionid:
> > 0x13f179d607a0001
> >
> > INFO  20130605_20:54:43:043_PDT [Thread-Watcher]
> concurrent.ThreadWatcher:
> > Thread [Thread[index-manager-mutate4,5,main]] has been executing for
> > [43,467 ms]
> >
> > INFO  20130605_20:54:43:043_PDT [Thread-Watcher]
> concurrent.ThreadWatcher:
> > Thread [Thread[thrift-processors5,5,main]] has been executing for [43,467
> > ms]
> >
> > INFO  20130605_20:54:51:051_PDT
> > [pool-3-thread-1-SendThread(localhost:21810)] zookeeper.ClientCnxn:
> Client
> > session timed out, have not heard from server in 50705ms for sessionid
> > 0x13f179d607a0002, closing socket connection and attempting reconnect
> >
> > INFO  20130605_20:54:51:051_PDT [SyncThread:0] server.NIOServerCnxn:
> Closed
> > socket connection for client /127.0.0.1:59893 which had sessionid
> > 0x13f179d607a0002
> >
> > INFO  20130605_20:54:51:051_PDT
> > [main-SendThread(fe80:0:0:0:0:0:0:1%1:21810)] zookeeper.ClientCnxn:
> Client
> > session timed out, have not heard from server in 50856ms for sessionid
> > 0x13f179d607a0001, closing socket connection and attempting reconnect
> >
> > WARN  20130605_20:54:51:051_PDT [NIOServerCxn.Factory:
> > 0.0.0.0/0.0.0.0:21810]
> > server.NIOServerCnxn: caught end of stream exception
> >
> > EndOfStreamException: Unable to read additional data from client
> sessionid
> > 0x13f179d607a0002, likely client has closed socket
> >
> > at org.apache.zookeeper.server.NIOServerCnxn.doIO(NIOServerCnxn.java:220)
> >
> > at org.apache.zookeeper.server.NIOServerCnxnFactory.run(
> > NIOServerCnxnFactory.java:208)
> >
> > at java.lang.Thread.run(Thread.java:680)
> >
> >
> > - Rahul
> >
>

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