summaryrefslogtreecommitdiff
path: root/apache-spark/spark-env.sh
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2017-09-20 12:20:41 +0200
committerErich Eckner <git@eckner.net>2017-09-20 12:20:41 +0200
commit046b5d8334ec0b16253079407c6b1c652eb8b925 (patch)
treecd0941f169b77bf10bb78affa6ca3188c02d22e3 /apache-spark/spark-env.sh
parentc0a1033ef093daa270ec480effee6b709b3e8ab9 (diff)
downloadarchlinuxewe.git.save-046b5d8334ec0b16253079407c6b1c652eb8b925.tar.xz
apache-spark neu
Diffstat (limited to 'apache-spark/spark-env.sh')
-rw-r--r--apache-spark/spark-env.sh6
1 files changed, 6 insertions, 0 deletions
diff --git a/apache-spark/spark-env.sh b/apache-spark/spark-env.sh
new file mode 100644
index 00000000..14625399
--- /dev/null
+++ b/apache-spark/spark-env.sh
@@ -0,0 +1,6 @@
+#!/usr/bin/env bash
+
+export JAVA_HOME=/usr/lib/jvm/default-runtime
+export SPARK_DIST_CLASSPATH=$(hadoop classpath)
+SPARK_MASTER_IP=localhost
+SPARK_LOCAL_IP=localhost