code: private String getJobId(TaskControllerContext context) {
      String taskId = context.task.getTaskID().toString();
      TaskAttemptID tId = TaskAttemptID.forName(taskId);
      String jobId = tId.getJobID().toString();
      return jobId;
    }
docs: get the Job ID from the information in the TaskControllerContext