[
https://issues.apache.org/jira/browse/HADOOP-12576?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15012523#comment-15012523
]
Kai Sasaki commented on HADOOP-12576:
-------------------------------------
[~ozawa] Thank you so much for confirming. It's also reasonable way.
The main point I submitted is for docker beginners. And the developers of
Hadoop should not be assumed to be used to Docker.
Therefore the instruction according to the latest Docker usage might be helpful
as well as HADOOP-12575.
BTW, in my environment (Ubuntu 14.04) docker service name is {{docker}} not
{{docker.io}}. Is it caused by the difference of installation way?
> Same owner of maven repository on Docker container to build user
> ----------------------------------------------------------------
>
> Key: HADOOP-12576
> URL: https://issues.apache.org/jira/browse/HADOOP-12576
> Project: Hadoop Common
> Issue Type: Improvement
> Affects Versions: 3.0.0
> Reporter: Kai Sasaki
> Assignee: Kai Sasaki
> Priority: Trivial
> Labels: docker
> Attachments: HADOOP-12576.01.patch
>
>
> When local maven repository has not yet created, docker container launched by
> {{start-build-env.sh}} create it owned by launching user. {{docker}} command
> ofter be run by root user unless manipulating docker unix groups.
> In that case, maven local repository is created by root user and building
> process inside container fails.
> It is better to make sure to create maven local repository by just the user
> who trying to build before launching docker container if not exist maven
> local repository.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)