mTaskName = Configuration.get(Constants.INTEGRATION_MESOS_ALLUXIO_MASTER_NAME);
mMasterCount++;
mMasterTaskId = mLaunchedTasks;
} else if (mMasterLaunched && !mWorkers.contains(offer.getHostname())
&& offerCpu >= workerCpu && offerMem >= workerMem
<BUG>&& OfferUtils.hasAvailableWorkerPorts(offer)) {
final String memSize = FormatUtils.getSizeFromBytes((long) workerMem * Constants.MB);</BUG>
executorBuilder
.setName("Alluxio Worker Executor")
.setSource("worker")

mTaskName = Configuration.get(Constants.INTEGRATION_MESOS_ALLUXIO_MASTER_NAME);
mMasterCount++;
mMasterTaskId = mLaunchedTasks;
} else if (mMasterLaunched && !mWorkers.contains(offer.getHostname())
&& offerCpu >= workerCpu && offerMem >= workerMem
&& OfferUtils.hasAvailableWorkerPorts(offer)) {
LOG.debug("Creating Alluxio Worker executor");
final String memSize = FormatUtils.getSizeFromBytes((long) workerMem * Constants.MB);
executorBuilder
.setName("Alluxio Worker Executor")
.setSource("worker")
