anuengineer commented on a change in pull request #861: HDDS-1596. Create
service endpoint to download configuration from SCM
URL: https://github.com/apache/hadoop/pull/861#discussion_r288733426
##########
File path:
hadoop-hdds/container-service/src/main/java/org/apache/hadoop/ozone/HddsDatanodeService.java
##########
@@ -141,7 +142,12 @@ public Void call() throws Exception {
StringUtils
.startupShutdownMessage(HddsDatanodeService.class, args, LOG);
}
- start(createOzoneConfiguration());
+ OzoneConfiguration ozoneConfiguration = createOzoneConfiguration();
+ if (DiscoveryUtil.loadGlobalConfig(ozoneConfiguration)) {
+ //reload the configuratioin with the dowloaded new configs.
Review comment:
nit: typo "configuratioin"
----------------------------------------------------------------
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]