[
https://issues.apache.org/jira/browse/HADOOP-14026?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15840117#comment-15840117
]
Gergő Pásztor commented on HADOOP-14026:
----------------------------------------
[~aw] Yeah, but we can't assume that somebody's login name not contains any
non-english characters nor any upper case english characters. Docker's rule for
image names is much more strict than a usual OS's rule for login names. Check
out this for example: http://stackoverflow.com/a/25388074
I spent some hours to debug what's the problem with the script, because the
error message was misleading. I found out that my user name contains an upper
case english character. I can imagine that I'm not the only one who fell into
this trap.
> start-build-env.sh: invalid docker image name
> ---------------------------------------------
>
> Key: HADOOP-14026
> URL: https://issues.apache.org/jira/browse/HADOOP-14026
> Project: Hadoop Common
> Issue Type: Bug
> Components: build
> Reporter: Gergő Pásztor
> Assignee: Gergő Pásztor
> Attachments: HADOOP-14026_v1.patch
>
>
> start-build-env.sh using the current user name to generate a docker image
> name. But the current user name can contains some not english characters and
> upper letters (after all this is usually the name/nickname of the owner).
> Both of them are not supported in docker image names, so the script will fail.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]