Docker Container Build and Run setup with foundations for adding docker integration tests. Docker images built with Hadoop 2.8.4 Hive 2.3.3 and Spark 2.3.1 and published to docker-hub
Look at quickstart document for how to setup docker and run demo
This commit is contained in:
committed by
vinoth chandar
parent
9710b5a3a6
commit
f3418e4718
16
docker/hoodie/hadoop/sparkmaster/master.sh
Normal file
16
docker/hoodie/hadoop/sparkmaster/master.sh
Normal file
@@ -0,0 +1,16 @@
|
||||
#!/bin/bash
|
||||
|
||||
export SPARK_MASTER_HOST=`hostname`
|
||||
|
||||
. "/opt/spark/sbin/spark-config.sh"
|
||||
|
||||
. "/opt/spark/bin/load-spark-env.sh"
|
||||
|
||||
mkdir -p $SPARK_MASTER_LOG
|
||||
|
||||
export SPARK_HOME=/opt/spark
|
||||
|
||||
ln -sf /dev/stdout $SPARK_MASTER_LOG/spark-master.out
|
||||
|
||||
cd /opt/spark/bin && /opt/spark/sbin/../bin/spark-class org.apache.spark.deploy.master.Master \
|
||||
--ip $SPARK_MASTER_HOST --port $SPARK_MASTER_PORT --webui-port $SPARK_MASTER_WEBUI_PORT >> $SPARK_MASTER_LOG/spark-master.out
|
||||
Reference in New Issue
Block a user