s0nskar commented on code in PR #2670:
URL: https://github.com/apache/celeborn/pull/2670#discussion_r1708745155
##########
service/src/main/java/org/apache/celeborn/server/common/service/config/DynamicConfigServiceFactory.java:
##########
@@ -32,12 +44,13 @@ public static ConfigService getConfigService(CelebornConf
celebornConf) throws I
if (_INSTANCE == null) {
synchronized (DynamicConfigServiceFactory.class) {
if (_INSTANCE == null) {
- String configStoreBackend =
celebornConf.dynamicConfigStoreBackend().get();
- if ("FS".equals(configStoreBackend)) {
- _INSTANCE = new FsConfigServiceImpl(celebornConf);
- } else {
- _INSTANCE = new DbConfigServiceImpl(celebornConf);
- }
+ String configStoreBackendName =
celebornConf.dynamicConfigStoreBackend().get();
+ String configStoreBackendClass =
+ dynamicConfigStoreBackendShortNames.getOrDefault(
Review Comment:
i was sort of following what spark does for shuffle manager. It allows short
names for `sort` and `tungesten-sort` but if user is passing custom shuffle
manager then they have to pass fully qualified name.
--
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]