long masterCpu = Configuration.getInt(Constants.INTEGRATION_MASTER_RESOURCE_CPU);
long masterMem =
Configuration.getBytes(Constants.INTEGRATION_MASTER_RESOURCE_MEM) / Constants.MB;
long workerCpu = Configuration.getInt(Constants.INTEGRATION_WORKER_RESOURCE_CPU);
long workerMem =
<BUG>Configuration.getBytes(Constants.INTEGRATION_WORKER_RESOURCE_MEM) / Constants.MB;
for (Protos.Offer offer : offers) {</BUG>
Protos.Offer.Operation.Launch.Builder launch = Protos.Offer.Operation.Launch.newBuilder();
double offerCpu = 0;
double offerMem = 0;

long masterCpu = Configuration.getInt(Constants.INTEGRATION_MASTER_RESOURCE_CPU);
long masterMem =
Configuration.getBytes(Constants.INTEGRATION_MASTER_RESOURCE_MEM) / Constants.MB;
long workerCpu = Configuration.getInt(Constants.INTEGRATION_WORKER_RESOURCE_CPU);
long workerMem =
Configuration.getBytes(Constants.INTEGRATION_WORKER_RESOURCE_MEM) / Constants.MB;
LOG.info(String.format("Master launched %b, master count %d, "
+ "requested master cpu %d and mem %d MB",
mMasterLaunched, mMasterCount, masterCpu, masterMem));
for (Protos.Offer offer : offers) {
Protos.Offer.Operation.Launch.Builder launch = Protos.Offer.Operation.Launch.newBuilder();
double offerCpu = 0;
double offerMem = 0;
