You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-issues@hadoop.apache.org by "Hadoop QA (JIRA)" <ji...@apache.org> on 2015/11/17 07:58:10 UTC

[jira] [Commented] (HADOOP-12576) Same owner of maven repository on Docker container to build user

    [ https://issues.apache.org/jira/browse/HADOOP-12576?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15008163#comment-15008163 ] 

Hadoop QA commented on HADOOP-12576:
------------------------------------

| (x) *{color:red}-1 overall{color}* |
\\
\\
|| Vote || Subsystem || Runtime || Comment ||
| {color:blue}0{color} | {color:blue} reexec {color} | {color:blue} 0m 9s {color} | {color:blue} docker + precommit patch detected. {color} |
| {color:green}+1{color} | {color:green} @author {color} | {color:green} 0m 0s {color} | {color:green} The patch does not contain any @author tags. {color} |
| {color:red}-1{color} | {color:red} test4tests {color} | {color:red} 0m 0s {color} | {color:red} The patch doesn't appear to include any new or modified tests. Please justify why no new tests are needed for this patch. Also please list what manual steps were performed to verify this patch. {color} |
| {color:green}+1{color} | {color:green} mvnsite {color} | {color:green} 6m 0s {color} | {color:green} trunk passed {color} |
| {color:green}+1{color} | {color:green} mvnsite {color} | {color:green} 4m 49s {color} | {color:green} the patch passed {color} |
| {color:red}-1{color} | {color:red} shellcheck {color} | {color:red} 0m 10s {color} | {color:red} The applied patch generated 5 new shellcheck issues (total was 96, now 101). {color} |
| {color:red}-1{color} | {color:red} whitespace {color} | {color:red} 0m 0s {color} | {color:red} The patch has 253 line(s) that end in whitespace. Use git apply --whitespace=fix. {color} |
| {color:red}-1{color} | {color:red} whitespace {color} | {color:red} 0m 6s {color} | {color:red} The patch has 1 line(s) with tabs. {color} |
| {color:red}-1{color} | {color:red} unit {color} | {color:red} 2m 3s {color} | {color:red} root in the patch failed with JDK v1.8.0_66. {color} |
| {color:green}+1{color} | {color:green} unit {color} | {color:green} 5m 19s {color} | {color:green} root in the patch passed with JDK v1.7.0_85. {color} |
| {color:green}+1{color} | {color:green} asflicense {color} | {color:green} 0m 24s {color} | {color:green} Patch does not generate ASF License warnings. {color} |
| {color:black}{color} | {color:black} {color} | {color:black} 19m 5s {color} | {color:black} {color} |
\\
\\
|| Subsystem || Report/Notes ||
| Docker |  Image:yetus/hadoop:date2015-11-17 |
| JIRA Patch URL | https://issues.apache.org/jira/secure/attachment/12772675/HADOOP-12576.01.patch |
| JIRA Issue | HADOOP-12576 |
| Optional Tests |  asflicense  mvnsite  unit  shellcheck  |
| uname | Linux 07465f0240e8 3.13.0-36-lowlatency #63-Ubuntu SMP PREEMPT Wed Sep 3 21:56:12 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux |
| Build tool | maven |
| Personality | /home/jenkins/jenkins-slave/workspace/PreCommit-HADOOP-Build/patchprocess/apache-yetus-4659377/precommit/personality/hadoop.sh |
| git revision | trunk / a7f776f |
| shellcheck | v0.4.1 |
| shellcheck | https://builds.apache.org/job/PreCommit-HADOOP-Build/8080/artifact/patchprocess/diff-patch-shellcheck.txt |
| whitespace | https://builds.apache.org/job/PreCommit-HADOOP-Build/8080/artifact/patchprocess/whitespace-eol.txt |
| whitespace | https://builds.apache.org/job/PreCommit-HADOOP-Build/8080/artifact/patchprocess/whitespace-tabs.txt |
| unit | https://builds.apache.org/job/PreCommit-HADOOP-Build/8080/artifact/patchprocess/patch-unit-root-jdk1.8.0_66.txt |
| JDK v1.7.0_85  Test Results | https://builds.apache.org/job/PreCommit-HADOOP-Build/8080/testReport/ |
| modules | C: . U: . |
| Max memory used | 269MB |
| Powered by | Apache Yetus   http://yetus.apache.org |
| Console output | https://builds.apache.org/job/PreCommit-HADOOP-Build/8080/console |


This message was automatically generated.



> 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
>            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)