You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-commits@hadoop.apache.org by aa...@apache.org on 2020/02/12 05:11:33 UTC

[hadoop] branch branch-3.1 updated: HADOOP-16849. start-build-env.sh behaves incorrectly when username is numeric only. Contributed by Jihyun Cho.

This is an automated email from the ASF dual-hosted git repository.

aajisaka pushed a commit to branch branch-3.1
in repository https://gitbox.apache.org/repos/asf/hadoop.git


The following commit(s) were added to refs/heads/branch-3.1 by this push:
     new 1409c9d  HADOOP-16849. start-build-env.sh behaves incorrectly when username is numeric only. Contributed by Jihyun Cho.
1409c9d is described below

commit 1409c9da7c3605f00849ee60662560a8625be7b4
Author: Akira Ajisaka <aa...@apache.org>
AuthorDate: Wed Feb 12 14:06:23 2020 +0900

    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 284f889..18eba2c 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}"


---------------------------------------------------------------------
To unsubscribe, e-mail: common-commits-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-commits-help@hadoop.apache.org