Package org.apache.drill.yarn.zk


package org.apache.drill.yarn.zk
Interface between the Application Master and ZooKeeper. Classes here manage two registrations: Drillbits and the AM itself.

Drillbit registration is used to confirm that Drillbits have indeed come online. If Drillbits fail to come online, then the AM concludes that somethign went wrong. If Drilbits drop offline unexpectedly, the AM concludes that the Drillbit is sick and restarts it.

The AM registry prevents two AMs from attempting to manage the same cluster.