HADOOP-16849. start-build-env.sh behaves incorrectly when username is numeric only. Contributed by Jihyun Cho.

This commit is contained in:
Akira Ajisaka 2020-02-12 14:06:23 +09:00
parent 9b8a78d97b
commit 9709afe67d
No known key found for this signature in database
GPG Key ID: C1EDBB9CA400FD50

View File

@ -89,5 +89,5 @@ docker run --rm=true $DOCKER_INTERACTIVE_RUN \
-w "/home/${USER_NAME}/hadoop" \
-v "${HOME}/.m2:/home/${USER_NAME}/.m2${V_OPTS:-}" \
-v "${HOME}/.gnupg:/home/${USER_NAME}/.gnupg${V_OPTS:-}" \
-u "${USER_NAME}" \
-u "${USER_ID}" \
"hadoop-build-${USER_ID}" "$@"