Skip to content

Commit

Permalink
Merge pull request #6718 from levpachmanov:master
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 620997220
  • Loading branch information
tfx-copybara committed Apr 2, 2024
2 parents 8787340 + 3b7f995 commit b8b9423
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tfx/examples/penguin/setup/setup_beam_on_spark.sh
Original file line number Diff line number Diff line change
Expand Up @@ -52,9 +52,9 @@ function start_spark() {
./sbin/stop-all.sh
# Authenticate to avoid CVE-2018-17190
# https://spark.apache.org/security.html
echo -e "spark.authenticate true" > $SPARK_CONF
echo -e "spark.authenticate.secret $SPARK_SECRET" > $SPARK_CONF
echo -e "spark.master.rest.enabled true" > $SPARK_CONF
echo -e "spark.authenticate true" >> $SPARK_CONF
echo -e "spark.authenticate.secret $SPARK_SECRET" >> $SPARK_CONF
echo -e "spark.master.rest.enabled true" >> $SPARK_CONF
# default web UI port (8080) is also used by Airflow
./sbin/start-master.sh -h $SPARK_HOST -p $SPARK_PORT --webui-port 8081 --properties-file $SPARK_CONF
./sbin/start-slave.sh $SPARK_LEADER_URL --properties-file $SPARK_CONF
Expand Down

0 comments on commit b8b9423

Please sign in to comment.