isStream ? "stream" : "job", deploymentUnit.getName(), status);
getClient().setData().forPath(
Paths.build(isStream ? Paths.STREAM_DEPLOYMENTS : Paths.JOB_DEPLOYMENTS,
deploymentUnit.getName(), Paths.STATUS),
ZooKeeperUtils.mapToBytes(status.toMap()));
}
/**
* Get all the module deployment requests.
*