fix build docs error - CTR
Project: http://git-wip-us.apache.org/repos/asf/tinkerpop/repo Commit: http://git-wip-us.apache.org/repos/asf/tinkerpop/commit/34f924e5 Tree: http://git-wip-us.apache.org/repos/asf/tinkerpop/tree/34f924e5 Diff: http://git-wip-us.apache.org/repos/asf/tinkerpop/diff/34f924e5 Branch: refs/heads/TINKERPOP-1897 Commit: 34f924e50db3a20a3ba538c4e16bbfcfa9e7b873 Parents: 7bff988 Author: Robert Dale <robd...@gmail.com> Authored: Thu Mar 8 15:52:40 2018 -0500 Committer: Robert Dale <robd...@gmail.com> Committed: Thu Mar 8 15:52:40 2018 -0500 ---------------------------------------------------------------------- docs/src/recipes/olap-spark-yarn.asciidoc | 1 + 1 file changed, 1 insertion(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/tinkerpop/blob/34f924e5/docs/src/recipes/olap-spark-yarn.asciidoc ---------------------------------------------------------------------- diff --git a/docs/src/recipes/olap-spark-yarn.asciidoc b/docs/src/recipes/olap-spark-yarn.asciidoc index 634adeb..1543829 100644 --- a/docs/src/recipes/olap-spark-yarn.asciidoc +++ b/docs/src/recipes/olap-spark-yarn.asciidoc @@ -105,6 +105,7 @@ conf.setProperty('spark.executor.extraClassPath', "./$archive/*:$hadoopConfDir") conf.setProperty('spark.driver.extraLibraryPath', "$hadoop/lib/native:$hadoop/lib/native/Linux-amd64-64") conf.setProperty('spark.executor.extraLibraryPath', "$hadoop/lib/native:$hadoop/lib/native/Linux-amd64-64") conf.setProperty('gremlin.spark.persistContext', 'true') +hdfs.copyFromLocal('data/tinkerpop-modern.kryo', 'tinkerpop-modern.kryo') graph = GraphFactory.open(conf) g = graph.traversal().withComputer(SparkGraphComputer) g.V().group().by(values('name')).by(both().count())