[
https://issues.apache.org/jira/browse/HADOOP-17880?focusedWorklogId=650972&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-650972
]
ASF GitHub Bot logged work on HADOOP-17880:
-------------------------------------------
Author: ASF GitHub Bot
Created on: 15/Sep/21 08:46
Start Date: 15/Sep/21 08:46
Worklog Time Spent: 10m
Work Description: ZhendongBai commented on a change in pull request #3349:
URL: https://github.com/apache/hadoop/pull/3349#discussion_r708974753
##########
File path: BUILDING.txt
##########
@@ -21,38 +21,15 @@ The easiest way to get an environment with all the
appropriate tools is by means
of the provided Docker config.
This requires a recent version of docker (1.4.1 and higher are known to work).
-On Linux:
+On Linux or Mac:
Install Docker and run this command:
$ ./start-build-env.sh
-On Mac:
- First make sure Virtualbox and docker toolbox are installed.
- You can use docker toolbox as described in
http://docs.docker.com/mac/step_one/.
- $ docker-machine create --driver virtualbox \
- --virtualbox-memory "4096" hadoopdev
- $ eval $(docker-machine env hadoopdev)
- $ ./start-build-env.sh
-
-The prompt which is then presented is located at a mounted version of the
source tree
-and all required tools for testing and building have been installed and
configured.
-
Note that from within this docker environment you ONLY have access to the
Hadoop source
tree from where you started. So if you need to run
dev-support/bin/test-patch /path/to/my.patch
then the patch must be placed inside the hadoop source tree.
-
-Known issues:
-- On Mac with Boot2Docker the performance on the mounted directory is
currently extremely slow.
- This is a known problem related to boot2docker on the Mac.
- See:
- https://github.com/boot2docker/boot2docker/issues/593
- This issue has been resolved as a duplicate, and they point to a new feature
for utilizing NFS mounts
- as the proposed solution:
- https://github.com/boot2docker/boot2docker/issues/64
- An alternative solution to this problem is to install Linux native inside a
virtual machine
- and run your IDE and Docker etc inside that VM.
Review comment:
@GauthamBanasandra but when this PR merged, at some point, we can build
hadoop 2.10.0 just with docker directly. And I don't know when the BUILDING.txt
should change and how to describe that.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
Issue Time Tracking
-------------------
Worklog Id: (was: 650972)
Time Spent: 3h 20m (was: 3h 10m)
> build hadoop 2.10.0 with docker machine failed
> ----------------------------------------------
>
> Key: HADOOP-17880
> URL: https://issues.apache.org/jira/browse/HADOOP-17880
> Project: Hadoop Common
> Issue Type: Bug
> Affects Versions: 2.10.0
> Environment: mac os x86_64
> Reporter: baizhendong
> Priority: Major
> Labels: pull-request-available
> Time Spent: 3h 20m
> Remaining Estimate: 0h
>
> 1. currently, we build the hadoop 2.10.0 with docker machine, and must
> install Virtual Box, and for hadoop 3.x, just build with docker only.
> 2. besides this, the docker image dependency is out of date, and some of them
> is unavaialble, for example – jdk7
> 3. but just building hadoop 2.10.0 with hadoop 3.x build script without
> modification is not working, for the protocol buffer version is not 2.5.0,
> and it's not work for native build.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]