Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 894F3200BEE for ; Wed, 23 Nov 2016 02:47:43 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id 88122160B1C; Wed, 23 Nov 2016 01:47:43 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id F1D6B160B38 for ; Wed, 23 Nov 2016 02:47:40 +0100 (CET) Received: (qmail 99978 invoked by uid 500); 23 Nov 2016 01:47:40 -0000 Mailing-List: contact commits-help@tinkerpop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@tinkerpop.apache.org Delivered-To: mailing list commits@tinkerpop.apache.org Received: (qmail 99710 invoked by uid 99); 23 Nov 2016 01:47:40 -0000 Received: from git1-us-west.apache.org (HELO git1-us-west.apache.org) (140.211.11.23) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 23 Nov 2016 01:47:40 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id 151FCE2F11; Wed, 23 Nov 2016 01:47:40 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: okram@apache.org To: commits@tinkerpop.apache.org Date: Wed, 23 Nov 2016 01:48:07 -0000 Message-Id: <3263c410d88d431d839acd2262f4ad61@git.apache.org> In-Reply-To: References: X-Mailer: ASF-Git Admin Mailer Subject: [29/50] [abbrv] tinkerpop git commit: added doc archived-at: Wed, 23 Nov 2016 01:47:43 -0000 added doc Project: http://git-wip-us.apache.org/repos/asf/tinkerpop/repo Commit: http://git-wip-us.apache.org/repos/asf/tinkerpop/commit/1e80537b Tree: http://git-wip-us.apache.org/repos/asf/tinkerpop/tree/1e80537b Diff: http://git-wip-us.apache.org/repos/asf/tinkerpop/diff/1e80537b Branch: refs/heads/TINKERPOP-1520 Commit: 1e80537bc0d25a847f3efda36ef23c086ac9b59f Parents: 5c43053 Author: Robert Dale Authored: Sat Nov 19 04:10:04 2016 -0500 Committer: Robert Dale Committed: Sat Nov 19 04:10:04 2016 -0500 ---------------------------------------------------------------------- .../developer/development-environment.asciidoc | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/tinkerpop/blob/1e80537b/docs/src/dev/developer/development-environment.asciidoc ---------------------------------------------------------------------- diff --git a/docs/src/dev/developer/development-environment.asciidoc b/docs/src/dev/developer/development-environment.asciidoc index 2369133..f7ef0b7 100644 --- a/docs/src/dev/developer/development-environment.asciidoc +++ b/docs/src/dev/developer/development-environment.asciidoc @@ -56,7 +56,7 @@ Docker Integration ------------------ TinkerPop provides a shell script, that can start several build tasks within a Docker container. The -required Docker images will be built automatically if they don't exist yet. Thus the first invokation +required Docker images will be built automatically if they don't exist yet. Thus the first invocation of the Docker script is expected to take some time. The script can be found under `PROJECT_HOME/docker/build.sh`. The following tasks are currently @@ -70,11 +70,27 @@ supported: A list of command line options is provided by `docker/build.sh --help`. The container will install, configure and start all required dependencies, such as Hadoop. +Options can be passed to Docker by setting the `TINKERPOP_DOCKER_OPTS` environment variable. A speed boost can +be gained at the expense of memory by using tmpfs and the special directory `/usr/src/tinkermem`. + +[source,bash] +.Build in-memory +---- +TINKERPOP_DOCKER_OPTS="--tmpfs /usr/src/tinkermem:exec,mode=0755,rw,noatime,size=2000m" +---- + +[source,bash] +.Disable IPv6 for Hadoop +---- +TINKERPOP_DOCKER_OPTS="--sysctl net.ipv6.conf.all.disable_ipv6=1 --sysctl net.ipv6.conf.default.disable_ipv6=1" +---- + If the container is used to generate the user docs, it will start a web server and show the URL that is used to host the HTML docs. After finishing all tasks, the script will immediately destroy the container. + IDE Setup with Intellij -----------------------