summaryrefslogtreecommitdiff
path: root/apache-spark/spark-env.sh
blob: 14625399700eeee9e1a84bc2cff324c7ce88da19 (plain)
1
2
3
4
5
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