code: @Override
    public Deployment getDeployment(final String host, final JobId jobId) {
      final String path = Paths.configHostJob(host, jobId);
      final ZooKeeperClient client = provider.get("getDeployment");
      try {
        final byte[] data = client.getData(path);
        final Task task = parse(data, Task.class);
        return Deployment.of(jobId, task.getGoal(), task.getDeployerUser(), task.getDeployerMaster(),
            task.getDeploymentGroupName());
      } catch (KeeperException.NoNodeException e) {
        return null;
      } catch (KeeperException | IOException e) {
        throw new HeliosRuntimeException("getting deployment failed", e);
      }
    }
docs: Returns the current deployment state of {@code jobId} on {@code host}.