LuciferYang commented on code in PR #38220:
URL: https://github.com/apache/spark/pull/38220#discussion_r993201467
##########
common/network-yarn/src/main/java/org/apache/spark/network/yarn/YarnShuffleService.java:
##########
@@ -493,6 +496,49 @@ protected Path getRecoveryPath(String fileName) {
return _recoveryPath;
}
+ private void migrateRecoveryDb() throws IOException {
+ Preconditions.checkNotNull(_recoveryPath,
+ "recovery path should not be null if NM recovery is enabled");
+
+ DBBackend registeredExecutorsDbBackend =
findExistedDbBackend(RECOVERY_FILE_NAME);
Review Comment:
line 503 ~ line 511 can be extract into a general method and put into the
helper class
--
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]