cachedMaster = new Pair<Master, Machine>( null, Machine.NO_MACHINE );
}
}
protected Pair<Master, Machine> getMasterFromZooKeeper( boolean wait )
{
<BUG>Machine master = getMasterBasedOn( getAllMachines( wait ).values() );
invalidateMaster();
MasterClient masterClient = null;</BUG>
if ( master != Machine.NO_MACHINE &&
master.getMachineId() != getMyMachineId() )

cachedMaster = new Pair<Master, Machine>( null, Machine.NO_MACHINE );
}
}
protected Pair<Master, Machine> getMasterFromZooKeeper( boolean wait )
{
Machine master = getMasterBasedOn( getAllMachines( wait ).values() );
MasterClient masterClient = null;
if ( cachedMaster.other().getMachineId() != master.getMachineId() )
{
invalidateMaster();
if ( master != Machine.NO_MACHINE &&
master.getMachineId() != getMyMachineId() )
