jiangxb1987 commented on a change in pull request #27768: [SPARK-31018][CORE]
Deprecate support of multiple workers on the same host in Standalone
URL: https://github.com/apache/spark/pull/27768#discussion_r388499978
##########
File path: sbin/decommission-slave.sh
##########
@@ -40,6 +40,7 @@ fi
if [ "$SPARK_WORKER_INSTANCES" = "" ]; then
"${SPARK_HOME}/sbin"/spark-daemon.sh decommission
org.apache.spark.deploy.worker.Worker 1
else
+ echo "WARNING: Support of multiple workers on the same host is deprecated in
Spark 3.0 and is going to be removed in Spark 3.1."
Review comment:
I don't think this warning message is necessary, but we can consider add
comment in the script to say the env `SPARK_WORKER_INSTANCES` is deprecated.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]