private static synchronized ResourceProvider ensureHostProvider() {
    if (hostResourceProvider == null) {
      hostResourceProvider = ClusterControllerHelper.getClusterController().
          ensureResourceProvider(Resource.Type.Host);
    }
    return hostResourceProvider;
  }
Get the host resource provider instance.

@return host resourece provider instance
ambari-server/src/main/java/org/apache/ambari/server/controller/internal/BaseClusterRequest.java