// Before we try anything, check to see if we can read users/root out of Zookeeper, as it should be guaranteed to exist and ACLed
// This is to ensure we have the right secret before we can muck around with anything
ZooReaderWriter.validateSecret();
log.info("trying to get master lock");
LockWatcher masterLockWatcher = new ZooLock.LockWatcher() {
public void lostLock(LockLossReason reason) {
Halt.halt("Master lock in zookeeper lost (reason = " + reason + "), exiting!", -1);
}
@Override