YARN-7430. Enable user re-mapping for Docker containers by default. Contributed by Eric Yang.
(cherry picked from commit5f0b238a11
) (cherry picked from commit9cf9627e20
)
This commit is contained in:
parent
e4344d45cb
commit
f23f49d4ee
|
@ -1611,7 +1611,7 @@ public class YarnConfiguration extends Configuration {
|
||||||
DOCKER_CONTAINER_RUNTIME_PREFIX + "enable-userremapping.allowed";
|
DOCKER_CONTAINER_RUNTIME_PREFIX + "enable-userremapping.allowed";
|
||||||
|
|
||||||
/** Set enable user remapping as false by default. */
|
/** Set enable user remapping as false by default. */
|
||||||
public static final boolean DEFAULT_NM_DOCKER_ENABLE_USER_REMAPPING = false;
|
public static final boolean DEFAULT_NM_DOCKER_ENABLE_USER_REMAPPING = true;
|
||||||
|
|
||||||
/** lower limit for acceptable uids of user remapped user. */
|
/** lower limit for acceptable uids of user remapped user. */
|
||||||
public static final String NM_DOCKER_USER_REMAPPING_UID_THRESHOLD =
|
public static final String NM_DOCKER_USER_REMAPPING_UID_THRESHOLD =
|
||||||
|
|
Loading…
Reference in New Issue