public synchronized JobResourceManager getResourceManager() {
    if (resourceManager == null) {
      resourceManager = new JobResourceManager(context);
    }
    return resourceManager;
  }
Get resource manager object
@return resource manager object
contrib/views/pig/src/main/java/org/apache/ambari/view/pig/resources/jobs/JobService.java