@Override
    public Resource getResource() {
      return Resource.newInstance(memory, vcores);
    }
A single instance in an Llap Service.
llap-client/src/java/org/apache/hadoop/hive/llap/registry/impl/LlapFixedRegistryImpl.java