Brought back support for SPARK_WORKER_INSTANCES.