Re: acceptedEpoch and currentEpoch values not matching exception message

2019-01-22 Thread Andor Molnar
Hi,

Looks there’re a couple of overlapping Jiras around this issue like this:
https://issues.apache.org/jira/browse/ZOOKEEPER-1621 


Mohammad Arshad has provided a patch for ZK-2307 and promised to create a 
rebased PR. Maybe you should ping him to do that or create a PR yourself if you 
feel confidence.

Either way we can fix this for the 3.5 release the earliest.

To workaround the problem I think you should manually update the epoch files to 
match and let ZooKeeper start.

Regards,
Andor




> On 2019. Jan 22., at 12:09, hrvoje  wrote:
> 
> Hi,
> 
> I have zookeeper.version=3.4.10, and I have the same problem, and I see:
> 
> https://issues.apache.org/jira/browse/ZOOKEEPER-2307
> 
> So, this issue is still not resolved, what are my options then? The problem
> appeared due to disk full, and now I cannot start zookeeper.
> 
> 
> 
> --
> Sent from: http://zookeeper-user.578899.n2.nabble.com/



Re: acceptedEpoch and currentEpoch values not matching exception message

2019-01-22 Thread hrvoje
Hi,

I have zookeeper.version=3.4.10, and I have the same problem, and I see:

https://issues.apache.org/jira/browse/ZOOKEEPER-2307

So, this issue is still not resolved, what are my options then? The problem
appeared due to disk full, and now I cannot start zookeeper.



--
Sent from: http://zookeeper-user.578899.n2.nabble.com/


Re: acceptedEpoch and currentEpoch values not matching exception message

2015-09-22 Thread Flavio Junqueira
Hi Otis,

I suppose you didn't notice but 10 and f are 16 and 15 in hexadecimal, 
respectively. 

You shouldn't edit those files, and it is indeed incorrect the behavior you 
observed. We would need to see the logs to determine what happened more 
precisely.

-Flavio

> On 21 Sep 2015, at 21:23, Otis Gospodnetić  wrote:
> 
> Hi,
> 
> I've got one of these after a ZK restart... and now ZK doesn't want to
> start:
> 
> java.io.IOException: The current epoch, 10 is less than the accepted epoch,
> f
> 
> cat version-2/acceptedEpoch
> 15
> 
> cat version-2/currentEpoch
> 16
> 
> Questions:
> * Where does that "10" come from if currentEpoch file shows 16?
> * Where does that "f" come from if acceptedEpoch shoes 15?
> * Can I manually edit files and fix up numbers? (once I figure out which
> files to edit)
> 
> Thanks,
> Otis
> --
> Monitoring * Alerting * Anomaly Detection * Centralized Log Management
> Solr & Elasticsearch Support * http://sematext.com/



Re: acceptedEpoch and currentEpoch values not matching exception message

2015-09-22 Thread Otis Gospodnetić
For posterity:

We removed both files, restarted this ZK instance, and ZK recovered.
Never figured out where "10" and "f" were from.

I think this is ZK 3.4.5, but I didn't check.

Otis
--
Monitoring * Alerting * Anomaly Detection * Centralized Log Management
Solr & Elasticsearch Support * http://sematext.com/


On Tue, Sep 22, 2015 at 12:23 AM, Otis Gospodnetić <
otis.gospodne...@gmail.com> wrote:

> Hi,
>
> I've got one of these after a ZK restart... and now ZK doesn't want to
> start:
>
> java.io.IOException: The current epoch, 10 is less than the accepted
> epoch, f
>
> cat version-2/acceptedEpoch
> 15
>
> cat version-2/currentEpoch
> 16
>
> Questions:
> * Where does that "10" come from if currentEpoch file shows 16?
> * Where does that "f" come from if acceptedEpoch shoes 15?
> * Can I manually edit files and fix up numbers? (once I figure out which
> files to edit)
>
> Thanks,
> Otis
> --
> Monitoring * Alerting * Anomaly Detection * Centralized Log Management
> Solr & Elasticsearch Support * http://sematext.com/
>
>


acceptedEpoch and currentEpoch values not matching exception message

2015-09-21 Thread Otis Gospodnetić
Hi,

I've got one of these after a ZK restart... and now ZK doesn't want to
start:

java.io.IOException: The current epoch, 10 is less than the accepted epoch,
f

cat version-2/acceptedEpoch
15

cat version-2/currentEpoch
16

Questions:
* Where does that "10" come from if currentEpoch file shows 16?
* Where does that "f" come from if acceptedEpoch shoes 15?
* Can I manually edit files and fix up numbers? (once I figure out which
files to edit)

Thanks,
Otis
--
Monitoring * Alerting * Anomaly Detection * Centralized Log Management
Solr & Elasticsearch Support * http://sematext.com/