Good point, Venkateswara Rao. Some time ago, we worked on this scenarios. Here is a patch available. HDFS-3562 Here we just tried to keep at application side. But as a long term solution this could be placed at BK side as utility module? So that all applications can benefit.
Note: As I remember RetryableZookeeper idea was taken from HBase. Regards, Uma On Mon, Jun 6, 2016 at 9:42 AM, Venkateswara Rao Jujjuri <jujj...@gmail.com> wrote: > If a bookie looses connection with ZK, connection gets reestablished and > life goes on. How are we handling it on the client case? Should we retry at > library level? > or leave it up to the application? Any discussion/thoughts on this? > > -- > Jvrao > --- > First they ignore you, then they laugh at you, then they fight you, then > you win. - Mahatma Gandhi >