public void setHdfsApi(HdfsApi api)  {
    UserLocalObjects.setHdfsApi(api, context);
  }
Set HdfsApi delegate
@param api HdfsApi instance
contrib/views/pig/src/main/java/org/apache/ambari/view/pig/services/BaseService.java