You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@yetus.apache.org by bu...@apache.org on 2015/09/23 04:23:58 UTC

[28/50] [abbrv] yetus git commit: HADOOP-12297. test-patch's basedir and patch-dir must be directories under the user's home in docker mode if using boot2docker (Kengo Seki via aw)

HADOOP-12297. test-patch's basedir and patch-dir must be directories under the user's home in docker mode if using boot2docker (Kengo Seki via aw)


Project: http://git-wip-us.apache.org/repos/asf/yetus/repo
Commit: http://git-wip-us.apache.org/repos/asf/yetus/commit/5821d5c6
Tree: http://git-wip-us.apache.org/repos/asf/yetus/tree/5821d5c6
Diff: http://git-wip-us.apache.org/repos/asf/yetus/diff/5821d5c6

Branch: refs/heads/master
Commit: 5821d5c6afe5efbed9926adf8b9dff556ed0a84e
Parents: 942def2
Author: Allen Wittenauer <aw...@apache.org>
Authored: Thu Aug 13 12:56:33 2015 -0700
Committer: Allen Wittenauer <aw...@apache.org>
Committed: Thu Aug 13 12:56:33 2015 -0700

----------------------------------------------------------------------
 dev-support/docs/precommit-advanced.md | 2 ++
 1 file changed, 2 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/yetus/blob/5821d5c6/dev-support/docs/precommit-advanced.md
----------------------------------------------------------------------
diff --git a/dev-support/docs/precommit-advanced.md b/dev-support/docs/precommit-advanced.md
index a424199..3185512 100644
--- a/dev-support/docs/precommit-advanced.md
+++ b/dev-support/docs/precommit-advanced.md
@@ -28,6 +28,8 @@ By default, test-patch runs in the same shell where it was launched.  It can alt
 
 The `--docker` parameter tells test-patch to run in Docker mode. The `--dockerfile` parameter allows one to provide a custom Dockerfile. The Dockerfile should contain all of the necessary binaries and tooling needed to run the test.  However be aware that test-patch will copy this file and append its necessary hooks to re-launch itself prior to executing docker.
 
+NOTE: If you are using Boot2Docker, you must use directories under /Users (OSX) or C:\Users (Windows) as the base and patchprocess directories (specified by the --basedir and --patch-dir options respectively), because automatically mountable directories are limited to them. See [the Docker documentation](https://docs.docker.com/userguide/dockervolumes/#mount-a-host-directory-as-a-data-volume).
+
 Dockerfile images will be named with a test-patch prefix and suffix with either a date or a git commit hash. By using this information, test-patch will automatically manage broken/stale container images that are hanging around if it is run in --jenkins mode.  In this way, if Docker fails to build the image, the disk space should eventually be cleaned and returned back to the system.
 
 # Maven Specific