public class HadoopUserOverlay extends Object implements ContainerOverlay
The overlay essentially configures Hadoop's UserGroupInformation class, establishing
the effective username for filesystem calls to HDFS in non-secure clusters.
In secure clusters, the configured keytab establishes the effective user.
The following environment variables are set in the container: - HADOOP_USER_NAME
| 限定符和类型 | 类和说明 |
|---|---|
static class |
HadoopUserOverlay.Builder
A builder for the
HadoopUserOverlay. |
| 构造器和说明 |
|---|
HadoopUserOverlay(org.apache.hadoop.security.UserGroupInformation ugi) |
public HadoopUserOverlay(@Nullable org.apache.hadoop.security.UserGroupInformation ugi)
public void configure(ContainerSpecification container) throws IOException
ContainerOverlayconfigure 在接口中 ContainerOverlayIOExceptionpublic static HadoopUserOverlay.Builder newBuilder()
Copyright © 2014–2022 The Apache Software Foundation. All rights reserved.