LuciferYang commented on code in PR #36200:
URL: https://github.com/apache/spark/pull/36200#discussion_r936272269
##########
common/network-yarn/src/main/java/org/apache/spark/network/yarn/YarnShuffleService.java:
##########
@@ -337,19 +336,12 @@ private void loadSecretsFromDb() throws IOException {
FileSystem fs = FileSystem.getLocal(_conf);
fs.mkdirs(new Path(secretsFile.getPath()), new FsPermission((short) 0700));
- db = LevelDBProvider.initLevelDB(secretsFile, CURRENT_VERSION, mapper);
+ db = DBProvider.initDB(secretsFile, CURRENT_VERSION, mapper);
Review Comment:
https://github.com/apache/spark/blob/31ab8bc4d5df0c84cb5542200b286defea037cc2/common/network-yarn/src/main/java/org/apache/spark/network/yarn/YarnShuffleService.java#L121-L124
When adding the `rocksdb` implementation, need to add new configuration to
make the file name have `.rdb` suffix
--
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]