You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tinkerpop.apache.org by sp...@apache.org on 2016/12/07 20:02:33 UTC

[10/50] tinkerpop git commit: build faster with in-memory fs make giraph wait less

build faster with in-memory fs
make giraph wait less


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

Branch: refs/heads/TINKERPOP-1490
Commit: a39c2fa23989bd9874205a4970c7647020eb0c7e
Parents: 3441f3f
Author: Robert Dale <ro...@gmail.com>
Authored: Thu Nov 17 17:01:47 2016 -0500
Committer: Robert Dale <ro...@gmail.com>
Committed: Thu Nov 17 17:01:47 2016 -0500

----------------------------------------------------------------------
 docker/scripts/build.sh                           |  7 +++++++
 giraph-gremlin/src/test/resources/giraph-site.xml | 12 ++++++++++++
 2 files changed, 19 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/tinkerpop/blob/a39c2fa2/docker/scripts/build.sh
----------------------------------------------------------------------
diff --git a/docker/scripts/build.sh b/docker/scripts/build.sh
index 2ee4dff..47da2b8 100755
--- a/docker/scripts/build.sh
+++ b/docker/scripts/build.sh
@@ -56,6 +56,13 @@ TINKERPOP_BUILD_OPTIONS=""
 [ -z "${INCLUDE_NEO4J}" ] || TINKERPOP_BUILD_OPTIONS="${TINKERPOP_BUILD_OPTIONS} -DincludeNeo4j"
 [ -z "${BUILD_JAVA_DOCS}" ] && TINKERPOP_BUILD_OPTIONS="${TINKERPOP_BUILD_OPTIONS} -Dmaven.javadoc.skip=true"
 
+# If the tmpfs (in-memory filesystem exists, use it)
+if [ -d "/usr/src/tinkermem" ]; then
+  echo Copying source to in-memory tmpfs
+  rsync -a . /usr/src/tinkermem
+  cd /usr/src/tinkermem
+fi
+
 mvn clean install process-resources ${TINKERPOP_BUILD_OPTIONS} || exit 1
 [ -z "${BUILD_JAVA_DOCS}" ] || mvn process-resources -Djavadoc || exit 1
 

http://git-wip-us.apache.org/repos/asf/tinkerpop/blob/a39c2fa2/giraph-gremlin/src/test/resources/giraph-site.xml
----------------------------------------------------------------------
diff --git a/giraph-gremlin/src/test/resources/giraph-site.xml b/giraph-gremlin/src/test/resources/giraph-site.xml
new file mode 100644
index 0000000..9862296
--- /dev/null
+++ b/giraph-gremlin/src/test/resources/giraph-site.xml
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<?xml-stylesheet type="text/xsl" href="configuration.xsl"?>
+<configuration>
+    <property>
+        <name>giraph.zkServerlistPollMsecs</name>
+        <value>500</value>
+    </property>
+    <property>
+        <name>giraph.logLevel</name>
+        <value>info</value>
+    </property>
+</configuration>