HeartSaVioR commented on issue #25705: [SPARK-29003][CORE] Fix deadlock in 
startup of Spark History Server
URL: https://github.com/apache/spark/pull/25705#issuecomment-530161932
 
 
   You can find all implementations for ApplicationHistoryProvider in IDE, for 
me, IntelliJ. Other than FsHistoryProvider, they're in test suites.
   
   Seems like you missed to add start() for all places initializing 
FsHistoryProvider, which means calling startPolling() is missing: for testing, 
background threads will not be launched so that's OK, but initializing disk 
manager and validating log directory are missing. Test suites don't concern 
about it so test passes, but given it's unintentional to not add start(), we 
would be better to fix that.

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