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:
parent
bf09bfa2db
commit
1409c9da7c
|
@ -74,5 +74,5 @@ docker run --rm=true -t -i \
|
||||||
-v "${PWD}:/home/${USER_NAME}/hadoop${V_OPTS:-}" \
|
-v "${PWD}:/home/${USER_NAME}/hadoop${V_OPTS:-}" \
|
||||||
-w "/home/${USER_NAME}/hadoop" \
|
-w "/home/${USER_NAME}/hadoop" \
|
||||||
-v "${HOME}/.m2:/home/${USER_NAME}/.m2${V_OPTS:-}" \
|
-v "${HOME}/.m2:/home/${USER_NAME}/.m2${V_OPTS:-}" \
|
||||||
-u "${USER_NAME}" \
|
-u "${USER_ID}" \
|
||||||
"hadoop-build-${USER_ID}"
|
"hadoop-build-${USER_ID}"
|
||||||
|
|
Loading…
Reference in New Issue