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:12:35 UTC

[hadoop] branch branch-2.10 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-2.10
in repository https://gitbox.apache.org/repos/asf/hadoop.git


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

commit 9a14ccc74ed60f17eae06fe8f2a0d4a6ef755a2f
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 18e3a8c..d3d26f7 100755
--- a/start-build-env.sh
+++ b/start-build-env.sh
@@ -46,5 +46,5 @@ docker run --rm=true -t -i \
   -v "${PWD}:/home/${USER_NAME}/hadoop" \
   -w "/home/${USER_NAME}/hadoop" \
   -v "${HOME}/.m2:/home/${USER_NAME}/.m2" \
-  -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