[
https://issues.apache.org/jira/browse/HADOOP-11843?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14501596#comment-14501596
]
Chris Nauroth commented on HADOOP-11843:
----------------------------------------
I ran into a few problems while testing this. First, I got an "invalid ENV
format" error. I was able to fix that by removing the '=' from the ENV line.
The next problem I hit was that the volumes mounted from the host showed as
owned by root within the container, which made them inaccessible to my
logged-in user.
For both problems, I believe the root cause was that I was running an older
version of Docker (1.0.0). I upgraded to 1.6.0, and that solved both problems.
Let's document the minimum required version inside BUILDING.txt.
Otherwise, it looks good. I've run a few mvn commands successfully. I do see
that TestNativeIO is failing, perhaps due to some quirk to file permissions
handling within the container. I don't think this needs to stop check-in
though. I think we can work towards getting this committed, and then address
individual test failures as follow-ups.
I'm testing a few more build commands. I'll report back again with the
results, probably later tonight.
> 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
>
>
> ( 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)