From 1409c9da7c3605f00849ee60662560a8625be7b4 Mon Sep 17 00:00:00 2001 From: Akira Ajisaka Date: Wed, 12 Feb 2020 14:06:23 +0900 Subject: [PATCH] HADOOP-16849. start-build-env.sh behaves incorrectly when username is numeric only. Contributed by Jihyun Cho. (cherry picked from commit 9709afe67d8ed45c3dfb53e45fe1efdc0814ac6c) Conflicts: start-build-env.sh --- start-build-env.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/start-build-env.sh b/start-build-env.sh index 284f8892e7d..18eba2cd33a 100755 --- a/start-build-env.sh +++ b/start-build-env.sh @@ -74,5 +74,5 @@ docker run --rm=true -t -i \ -v "${PWD}:/home/${USER_NAME}/hadoop${V_OPTS:-}" \ -w "/home/${USER_NAME}/hadoop" \ -v "${HOME}/.m2:/home/${USER_NAME}/.m2${V_OPTS:-}" \ - -u "${USER_NAME}" \ + -u "${USER_ID}" \ "hadoop-build-${USER_ID}"