shekhars-li commented on code in PR #1682:
URL: https://github.com/apache/samza/pull/1682#discussion_r1297735420
##########
samza-core/src/main/scala/org/apache/samza/storage/ContainerStorageManagerRestoreUtil.java:
##########
@@ -338,7 +327,9 @@ private static BlobStoreManager getBlobStoreManager(Config
config, ExecutorServi
BlobStoreConfig blobStoreConfig = new BlobStoreConfig(config);
String blobStoreManagerFactory =
blobStoreConfig.getBlobStoreManagerFactory();
BlobStoreManagerFactory factory =
ReflectionUtil.getObj(blobStoreManagerFactory, BlobStoreManagerFactory.class);
- return factory.getRestoreBlobStoreManager(config, executor);
+ BlobStoreManager blobStoreManager =
factory.getRestoreBlobStoreManager(config, executor);
+ blobStoreManager.init();
Review Comment:
Removed and added a cleanup step in the end to close this blobStoreManager.
--
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]