Env: Hortonworks 2.1

Error: connection refused error:

Reason: 

  1. 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.
  2. The log space is full

Solution:

  1. Remove the /var/zookeeper/version-2 solves the problem

 

Advertisements