tedyu commented on PR #38902:
URL: https://github.com/apache/spark/pull/38902#issuecomment-1341283614

   bq. when they increases 20s to hadoop.service.shutdown.timeout
   
   Here is my proposed change:
   ```
           if (hadoopTimeout-GRACE_PERIOD_FOR_HADOOP <= awaitSeconds) {
               awaitSeconds = hadoopTimeout-GRACE_PERIOD_FOR_HADOOP
   ```
   where `GRACE_PERIOD_FOR_HADOOP` is 8. This means the user cannot increase 
beyond 22s (for the default value of `hadoop.service.shutdown.timeout`).
   
   @dongjoon-hyun 
   Can you take a closer look at this PR since @pan3793 doesn't object ?
   
   Thanks


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

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to