replace spark.executor.registeredRatio with spark.executor.minRegisteredNum & support yarn mode