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 "Arpit Agarwal (JIRA)" <ji...@apache.org> on 2015/04/21 19:08:59 UTC

[jira] [Comment Edited] (HADOOP-11843) Make setting up the build environment easier

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

Arpit Agarwal edited comment on HADOOP-11843 at 4/21/15 5:08 PM:
-----------------------------------------------------------------

This is a great idea. Got the container started on Mac with the following steps.

{code}
$ brew install docker boot2docker
$ boot2docker init -m 4096
$ boot2docker start
$ $(boot2docker shellinit)
$ ./start-build-env.sh
{code}

As Chris already pointed out the performance with boot2docker makes it impractical. For now we can go with Niels's recommendation of a linux VM. I often build in Centos/Ubuntu VMs on OS X and the performance is not significantly worse than building natively.


was (Author: arpitagarwal):
This is a great idea. Got the container started on Mac with the following steps.

{code}
$ brew install docker boot2docker
$ boot2docker init -m 4096
$ boot2docker start
$ $(boot2docker shellinit)
$ ./start-build-env.sh
{code}

As Chris already pointed out the performance with boot2docker makes it impractical. For now we can go with Neal's recommendation of a linux VM. I often build in Centos/Ubuntu VMs on OS X and the performance is not significantly worse than building natively.

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