Skip to content

Commit

Permalink
fix filename
Browse files Browse the repository at this point in the history
  • Loading branch information
thanh-nguyen-dang committed Jun 11, 2024
1 parent 695c55d commit bf55441
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion spark/master/master.sh
Original file line number Diff line number Diff line change
Expand Up @@ -26,5 +26,5 @@ function addConfig() {
sed -i "/<\/configuration>/ s/.*/${escapedEntry}\n&/" $path
}

cd /spark/bin && /spark/sbin/../bin/spark-class -Dlog4j.configuration=file:/spark/conf/log4j.properties org.apache.spark.deploy.master.Master \
cd /spark/bin && /spark/sbin/../bin/spark-class -Dlog4j.configuration=file:/spark/conf/log4j2.properties 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
2 changes: 1 addition & 1 deletion spark/worker/worker.sh
Original file line number Diff line number Diff line change
Expand Up @@ -14,5 +14,5 @@ cp /spark/conf/log4j2.properties.template /spark/conf/log4j2.properties
sed -i 's/= info/= DEBUG/g' /spark/conf/log4j2.properties
echo "logger.org.apache.spark=DEBUG" >> /spark/conf/log4j2.properties

/spark/sbin/../bin/spark-class -Dlog4j.configuration=file:/spark/conf/log4j.properties org.apache.spark.deploy.worker.Worker \
/spark/sbin/../bin/spark-class -Dlog4j.configuration=file:/spark/conf/log4j2.properties org.apache.spark.deploy.worker.Worker \
--webui-port $SPARK_WORKER_WEBUI_PORT $SPARK_MASTER >> $SPARK_WORKER_LOG/spark-worker.out

0 comments on commit bf55441

Please sign in to comment.