Re: Correct way to check if zookeeper is running

2020-10-29 Thread Debraj Manna
Anyone any thoughts on this one? Same has been asked in stackoverflow also https://stackoverflow.com/questions/64587307/correct-way-to-check-zookeepers-running-mode On Wed, Oct 28, 2020 at 9:37 PM Debraj Manna wrote: > Hi > > Can someone let me know what is the recommended way to

Correct way to check if zookeeper is running

2020-10-28 Thread Debraj Manna
Hi Can someone let me know what is the recommended way to check if zookeeper is running via netcat? The documentation states echo "isro" | nc localhost 2181 . But in few places it is recommended to use -q with netcat https://st

Re: Zookeeper 3.4.13 and OpenJDK

2019-10-24 Thread Debraj Manna
w > project please consider using that version. > > Regards > > Enrico > > Il gio 24 ott 2019, 13:51 Debraj Manna ha > scritto: > > > Hi > > > > Can zookeeper 3.4.13 run with OpenJDK? The documentation below also does > > not mention about OpenJDK >

Zookeeper 3.4.13 and OpenJDK

2019-10-24 Thread Debraj Manna
Hi Can zookeeper 3.4.13 run with OpenJDK? The documentation below also does not mention about OpenJDK https://zookeeper.apache.org/doc/r3.4.13/zookeeperAdmin.html#sc_requiredSoftware Can someone confirm this? Thanks

Re: The current epoch, 7, is older than the last zxid, 8589935882

2019-08-30 Thread Debraj Manna
Is there any issue with zookeeper 3.4.13? On Thu, Aug 29, 2019 at 10:13 AM Andor Molnar wrote: > Thanks for the info, I’m still looking. > So, this is an Ubuntu packaged version of ZooKeeper. > > Andor > > > > > On 2019. Aug 27., at 14:13, Debraj Manna > wro

Re: The current epoch, 7, is older than the last zxid, 8589935882

2019-08-27 Thread Debraj Manna
No I don't see the updatingEpoch file in /var/lib/zookeeper/version-2 I started zookeeper by adding set -x in /usr/bin/zookeeper-server I can see zookeeper is getting started with 3.4.13 as shown below . The complete logs are placed in the below gist https://gist.github.com/debraj-

Re: The current epoch, 7, is older than the last zxid, 8589935882

2019-08-26 Thread Debraj Manna
; > > > > On 2019. Aug 23., at 18:53, Debraj Manna > wrote: > > > > Can someone answer by below query? > > > > I am getting confused after going through ZOOKEEPER-1653 > > <https://issues.apache.org/jira/browse/ZOOKEEPER-1653> and > ZOOKEEPER-23

Re: The current epoch, 7, is older than the last zxid, 8589935882

2019-08-23 Thread Debraj Manna
I am seeing the issue in 3.4.13 also. Can someone let me know if the issue is present in 3.4.13 also? On Wed 21 Aug, 2019, 12:35 PM Debraj Manna, wrote: > With the other two zookeeper servers running I stopped the zookeeper in > the broken node and the deleted all the contents inside &g

Re: The current epoch, 7, is older than the last zxid, 8589935882

2019-08-21 Thread Debraj Manna
the issue is present in 3.4.13 also? On Wed, Aug 21, 2019 at 8:54 AM Debraj Manna wrote: > Thanks for replying. > > What is the recommended way to remove a node and delete all data from it > and make it start fresh? > > On Wed 21 Aug, 2019, 12:58 AM Enrico Olivelli, > wrote:

Re: The current epoch, 7, is older than the last zxid, 8589935882

2019-08-20 Thread Debraj Manna
> scratch, it will join the cluster and then recover data from the other > servers > > Try it in a staging env, not in production > > Enrico > > Il mar 20 ago 2019, 20:30 Debraj Manna ha > scritto: > > > The same has been asked in stackoverflow > > &

Re: The current epoch, 7, is older than the last zxid, 8589935882

2019-08-20 Thread Debraj Manna
The same has been asked in stackoverflow <https://stackoverflow.com/questions/57574298/zookeeper-error-the-current-epoch-is-older-than-the-last-zxid> also. But no response there also. Anyone any thoughts on this one? On Tue, Aug 20, 2019 at 4:43 PM Debraj Manna wrote: > Posted wrong

Re: The current epoch, 7, is older than the last zxid, 8589935882

2019-08-20 Thread Debraj Manna
currentEpoch 7support@platform2:/var/lib/zookeeper/version-2$ sudo cat currentEpoch.tmp 8support@platform2 On Tue, Aug 20, 2019 at 3:14 PM Debraj Manna wrote: > Hi > > I am using a zookeeper ensemble of 3 nodes running 3.4.13. Sometimes after > reboot of machine zookeeper is not starting and

The current epoch, 7, is older than the last zxid, 8589935882

2019-08-20 Thread Debraj Manna
Hi I am using a zookeeper ensemble of 3 nodes running 3.4.13. Sometimes after reboot of machine zookeeper is not starting and I am seeing the below errors in logs. I have seen https://issues.apache.org/jira/browse/ZOOKEEPER-1653 . Can someone let me if this is fixed in 3.4.13 or not as I can see

Zookeeper 3.4.13 - Back and restore a zookeeper cluster

2019-03-01 Thread Debraj Manna
Hi Can someone let me know how can I back up and restore a zookeeper ensemble of 3 nodes? I am looking for back up and restore by shutting down all nodes in the ensemble. Zookeeper Version - 3.4.13 Thanks,

Setting OnOutOfMemoryError for server process

2019-01-29 Thread Debraj Manna
Hi Can someone let me know is there any recommended way to use OnOutOfMemoryError JVM params with zookeeper 3.4.13 server? I can see a related JIRA for this https://issues.apache.org/jira/browse/ZOOKEEPER-2185 . But this seems to have been added in 3.5.1 & 3.6.0. Thanks, Debraj

Re: Is zookeeper 3.4.13 client backward compatible with 3.4.8?

2018-09-04 Thread Debraj Manna
f Apache ZooKeeper about backward compatibility. > > Regards, Tamaas > > On Tue, Sep 4, 2018 at 10:36 AM Debraj Manna > wrote: > >> I am also seeing a transitive dependency of zookeeper jar 3.4.5-cdh5.15.1 >> in my mvn dependency tree. >> >> Is 3.4.5-cdh5.15.1 als

Re: Is zookeeper 3.4.13 client backward compatible with 3.4.8?

2018-09-04 Thread Debraj Manna
Debraj Manna wrote: > Thanks Tamaas for replying. > > On Thu 30 Aug, 2018, 9:51 PM Tamas Penzes, > wrote: > >> Hi Debraj, >> >> ZooKeeper 3.4.13 is only 5 bugfix version above 3.4.8. They are from the >> same major.minor version, which means they must be compat

Re: Is zookeeper 3.4.13 client backward compatible with 3.4.8?

2018-08-30 Thread Debraj Manna
the root cause > of any issue. > > Regards, Tamaas > > On Thu, Aug 30, 2018 at 5:54 PM Debraj Manna > wrote: > > > Hi > > > > I have read about the backward compatability as mentioned in the > confluence > > page > > <https://cwiki.apache.org/

Is zookeeper 3.4.13 client backward compatible with 3.4.8?

2018-08-30 Thread Debraj Manna
Hi I have read about the backward compatability as mentioned in the confluence page . But I am still having the below doubt can someone confirm I upgraded to zookeeper servers to 3.4.13 from 3.4.8. I want to upgrade java cli

Re: How to upgrade zookeeper from 3.4.8 to 3.4.13?

2018-08-30 Thread Debraj Manna
tory. > > Well, at least this is my understanding. > > > > On Thu, Aug 30, 2018 at 12:01 PM Debraj Manna > wrote: > > > Thanks Norbert for replying. > > > > What is the intention of this check *for i in > "$ZOOBINDIR"/../zookeeper-*.* > > *jar*

Re: How to upgrade zookeeper from 3.4.8 to 3.4.13?

2018-08-30 Thread Debraj Manna
the version would be prone to error. > > Anyway, to answer your question, first of all I would just try to delete > the old .jar, and see if that solves the problem. > > Regards, > Norbert > > On Thu, Aug 30, 2018 at 9:01 AM Debraj Manna > wrote: > > > Cros

How to upgrade zookeeper from 3.4.8 to 3.4.13?

2018-08-30 Thread Debraj Manna
Cross-posting from stackoverflow I am trying to upgrade zookeeper from 3.4.8 to 3.4.13. Before upgrade the content of /usr/lib/zookeeper drwxr-xr-x 5 root root 4.0K Aug 23 08:39 . drwxr-xr-x 77 root roo