Skip to content

Commit 9709afe

Browse files
committed
HADOOP-16849. start-build-env.sh behaves incorrectly when username is numeric only. Contributed by Jihyun Cho.
1 parent 9b8a78d commit 9709afe

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

start-build-env.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,5 +89,5 @@ docker run --rm=true $DOCKER_INTERACTIVE_RUN \
8989
-w "/home/${USER_NAME}/hadoop" \
9090
-v "${HOME}/.m2:/home/${USER_NAME}/.m2${V_OPTS:-}" \
9191
-v "${HOME}/.gnupg:/home/${USER_NAME}/.gnupg${V_OPTS:-}" \
92-
-u "${USER_NAME}" \
92+
-u "${USER_ID}" \
9393
"hadoop-build-${USER_ID}" "$@"

0 commit comments

Comments
 (0)