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

(cherry picked from commit 9709afe67d)

Conflicts:
	start-build-env.sh
This commit is contained in:
Akira Ajisaka 2020-02-12 14:06:23 +09:00
parent 2861936228
commit 9a14ccc74e
No known key found for this signature in database
GPG Key ID: C1EDBB9CA400FD50
1 changed files with 1 additions and 1 deletions

View File

@ -46,5 +46,5 @@ docker run --rm=true -t -i \
-v "${PWD}:/home/${USER_NAME}/hadoop" \ -v "${PWD}:/home/${USER_NAME}/hadoop" \
-w "/home/${USER_NAME}/hadoop" \ -w "/home/${USER_NAME}/hadoop" \
-v "${HOME}/.m2:/home/${USER_NAME}/.m2" \ -v "${HOME}/.m2:/home/${USER_NAME}/.m2" \
-u "${USER_NAME}" \ -u "${USER_ID}" \
"hadoop-build-${USER_ID}" "hadoop-build-${USER_ID}"