Ngone51 commented on issue #28049: [SPARK-31285][CORE] Do not upper case 
schedule mode in TaskSchedulerImpl
URL: https://github.com/apache/spark/pull/28049#issuecomment-604902453
 
 
   > But if we use SchedulingMode at other place in future, we may forget upper 
it too. 
   
   
   Lets try:
   
   ```
   ConfigBuilder("spark.scheduler.mode")
         .stringConf
         .transform(_.toUpperCase(Locale.ROOT))
         .createWithDefault(SchedulingMode.FIFO.toString)
   ```

----------------------------------------------------------------
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]

Reply via email to