hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Allen Wittenauer (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HADOOP-11933) run test-patch.sh in a docker container under Jenkins
Date Wed, 20 May 2015 04:17:01 GMT

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

Allen Wittenauer updated HADOOP-11933:
    Attachment: HADOOP-11933.04.patch

* jdk 7 and 8 are now in the image
* maven opts moved out of dockerfile and into the test-patch launcher
* --java-home can now control the JVM used in the docker image
* --reexec mode now works properly
* parameterized test-patch-docker.sh
* docker commands now honor --debug
* images now stamped with the last git commit EXCEPT if test-patch, etc are patched.  then
it uses a date.  as a result...
* much more aggressive image cleaning in jenkins mode
* fixed the shellcheck edge case error
* after many experiments, we always import the maven repo.  we can always revisit this, but
for the most part, there just isn't anyway to win here without a lot of pain and/or better
organization amongst all potential jenkins users
* much cleanup of hard-coded paths. in fact...
* now support docker mode if patch-dir isn't relative
* now report the docker tagged image name in the footer
* some general function re-arrangement to try and speed up when we can switch to docker mode

It isn't in this patch, but with a bit more work, it should be possible to run the nightlies
in this environment as well.  Theoretically, it should be a lot easier to do that work now.

> run test-patch.sh in a docker container under Jenkins
> -----------------------------------------------------
>                 Key: HADOOP-11933
>                 URL: https://issues.apache.org/jira/browse/HADOOP-11933
>             Project: Hadoop Common
>          Issue Type: Test
>            Reporter: Allen Wittenauer
>            Assignee: Allen Wittenauer
>         Attachments: HADOOP-11933.00.patch, HADOOP-11933.01.patch, HADOOP-11933.02.patch,
HADOOP-11933.03.patch, HADOOP-11933.04.patch
> because of how hard it is to control the content of the Jenkins environment, it would
be beneficial to run it in a docker container so that we can have tight control of the environment

This message was sent by Atlassian JIRA

View raw message