class HadoopUserOverlay implements ContainerOverlay {

	@Override
	public void configure(ContainerSpecification container) throws IOException {
		if(ugi != null) {
			// overlay the Hadoop user identity (w/ tokens)
			container.getEnvironmentVariables().put("HADOOP_USER_NAME", ugi.getUserName());
		}
	}

	public  HadoopUserOverlay(@Nullable UserGroupInformation ugi);

}