swagle commented on a change in pull request #233: HDDS-1873 Add API to get
last completed times for every Recon task.
URL: https://github.com/apache/hadoop-ozone/pull/233#discussion_r348791800
##########
File path:
hadoop-ozone/recon/src/main/java/org/apache/hadoop/ozone/recon/spi/impl/OzoneManagerServiceProviderImpl.java
##########
@@ -167,6 +167,30 @@ public OzoneManagerServiceProviderImpl(
this.reconTaskStatusDao = reconTaskController.getReconTaskStatusDao();
this.ozoneManagerClient = ozoneManagerClient;
this.configuration = configuration;
+
+ registerOMDBTasks();
Review comment:
Can we avoid calling this from a constructor? Is there a lifecycle method
which can do the same thing? @avijayanhwx
----------------------------------------------------------------
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]