Class Auditor

  • All Implemented Interfaces:

              help="Auditor related stats")
    public class Auditor
    extends java.lang.Object
    implements java.lang.AutoCloseable
    Auditor is a single entity in the entire Bookie cluster and will be watching all the bookies under 'ledgerrootpath/available' zkpath. When any of the bookie failed or disconnected from zk, he will start initiating the re-replication activities by keeping all the corresponding ledgers of the failed bookie as underreplicated znode in zk.

    TODO: eliminate the direct usage of zookeeper here {@link}