Env: Hortonworks 2.1
Error: connection refused error:
- It’s a snapshot that started with nodes /A/B/C present. Before it got to B, both B and C got removed. So, the snapshot contains only /A, but the txn log starts with “delete C”. When it replays the log, it tries to increment the cversion of the parent, which is /A/B. It isn’t present in the snapshot and the recovery crashes.
- The log space is full
- Remove the /var/zookeeper/version-2 solves the problem