hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Akira Ajisaka (Jira)" <j...@apache.org>
Subject [jira] [Updated] (HADOOP-16849) start-build-env.sh behaves incorrectly when username is numeric only
Date Wed, 12 Feb 2020 05:14:00 GMT

     [ https://issues.apache.org/jira/browse/HADOOP-16849?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Akira Ajisaka updated HADOOP-16849:
-----------------------------------
    Fix Version/s: 2.10.1
                   3.2.2
                   3.1.4
                   3.3.0
     Hadoop Flags: Reviewed
       Resolution: Fixed
           Status: Resolved  (was: Patch Available)

Committed this to trunk, branch-3.2, branch-3.1, and branch-2.10. Thanks [~Jihyun Cho] for
the contribution!

> start-build-env.sh behaves incorrectly when username is numeric only
> --------------------------------------------------------------------
>
>                 Key: HADOOP-16849
>                 URL: https://issues.apache.org/jira/browse/HADOOP-16849
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: build
>            Reporter: Jihyun Cho
>            Assignee: Jihyun Cho
>            Priority: Minor
>             Fix For: 3.3.0, 3.1.4, 3.2.2, 2.10.1
>
>         Attachments: userid.patch
>
>
> When username is numaric only, the build environment does not run correctly.
> Here is my case.
> {noformat}
> ~/hadoop$ ./start-build-env.sh
> ...
> Successfully tagged hadoop-build-1649860140:latest
>  _   _           _                    ______
> | | | |         | |                   |  _  \
> | |_| | __ _  __| | ___   ___  _ __   | | | |_____   __
> |  _  |/ _` |/ _` |/ _ \ / _ \| '_ \  | | | / _ \ \ / /
> | | | | (_| | (_| | (_) | (_) | |_) | | |/ /  __/\ V /
> \_| |_/\__,_|\__,_|\___/ \___/| .__/  |___/ \___| \_(_)
>                               | |
>                               |_|
> This is the standard Hadoop Developer build environment.
> This has all the right tools installed required to build
> Hadoop from source.
> I have no name!@fceab279f8d1:~/hadoop$ whoami
> whoami: cannot find name for user ID 1112533
> I have no name!@fceab279f8d1:~/hadoop$ sudo ls
> sudo: unknown uid 1112533: who are you?
> {noformat}
> I changed {{USER_NAME}} to {{USER_ID}} in the script. Then it worked correctly.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

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


Mime
View raw message