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

Chris Nauroth commented on HADOOP-11843:
----------------------------------------

I tried running Docker in an Ubuntu VM with 4 GB RAM.  For the full build 
command I described earlier, I got a runtime of ~16 minutes.  I think that's 
acceptable.

I tried {{TestMiniMRClientCluster}} again, and the test timed out.  This is 
another manifestation of a problem we've consistently had with configuring test 
timeout values.  It's very hard to predict the performance of the build 
environment, so setting a static timeout value is unlikely to work perfectly 
for everyone.  I don't think this is solvable in the scope of this patch.  We 
just might find that certain tests aren't working well in the Docker container, 
and we can improve on that over time.

I have one more suggestion.  Please set the {{MAVEN_OPTS}} environment variable 
to allocate a larger heap than the default to mvn processes.  Here is what we 
document in BUILDING.txt:

{code}
export MAVEN_OPTS="-Xms256m -Xmx512m"
{code}

I'll be +1 after that small change.  Thanks so much for your work on this, Nils!

> Make setting up the build environment easier
> --------------------------------------------
>
>                 Key: HADOOP-11843
>                 URL: https://issues.apache.org/jira/browse/HADOOP-11843
>             Project: Hadoop Common
>          Issue Type: New Feature
>            Reporter: Niels Basjes
>            Assignee: Niels Basjes
>         Attachments: HADOOP-11843-2015-04-17-1612.patch, 
> HADOOP-11843-2015-04-17-2226.patch, HADOOP-11843-2015-04-17-2308.patch, 
> HADOOP-11843-2015-04-19-2206.patch, HADOOP-11843-2015-04-19-2232.patch, 
> HADOOP-11843-2015-04-22-1122.patch
>
>
> ( As discussed with [~aw] )
> In AVRO-1537 a docker based solution was created to setup all the tools for 
> doing a full build. This enables much easier reproduction of any issues and 
> getting up and running for new developers.
> This issue is to 'copy/port' that setup into the hadoop project in 
> preparation for the bug squash.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to