Skip to content

Commit

Permalink
YARN-7430. Enable user re-mapping for Docker containers by default. C…
Browse files Browse the repository at this point in the history
…ontributed by Eric Yang.
  • Loading branch information
varun-vasu committed Nov 17, 2017
1 parent e182e77 commit 5f0b238
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -1735,7 +1735,7 @@ public static boolean isAclEnabled(Configuration conf) {
DOCKER_CONTAINER_RUNTIME_PREFIX + "enable-userremapping.allowed";

/** 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. */
public static final String NM_DOCKER_USER_REMAPPING_UID_THRESHOLD =
Expand Down

0 comments on commit 5f0b238

Please sign in to comment.