[ https://issues.apache.org/jira/browse/HADOOP-17880?focusedWorklogId=654369&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-654369 ]
ASF GitHub Bot logged work on HADOOP-17880: ------------------------------------------- Author: ASF GitHub Bot Created on: 23/Sep/21 06:03 Start Date: 23/Sep/21 06:03 Worklog Time Spent: 10m Work Description: ZhendongBai commented on a change in pull request #3349: URL: https://github.com/apache/hadoop/pull/3349#discussion_r714492238 ########## 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: ok, I will revert the file. -- 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: common-issues-unsubscr...@hadoop.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org Issue Time Tracking ------------------- Worklog Id: (was: 654369) Time Spent: 3h 50m (was: 3h 40m) > 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 50m > 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: common-issues-unsubscr...@hadoop.apache.org For additional commands, e-mail: common-issues-h...@hadoop.apache.org