devmadhuu commented on code in PR #7960:
URL: https://github.com/apache/ozone/pull/7960#discussion_r1978677591
##########
hadoop-ozone/recon/src/main/java/org/apache/hadoop/ozone/recon/tasks/ReconTaskControllerImpl.java:
##########
@@ -158,18 +158,20 @@ private void
ignoreFailedTasks(List<ReconOmTask.TaskResult> failedTasks) {
}
@Override
- public synchronized void reInitializeTasks(ReconOMMetadataManager
omMetadataManager) {
+ public synchronized void reInitializeTasks(ReconOMMetadataManager
omMetadataManager,
+ Map<String, ReconOmTask>
reconOmTaskMap) {
Collection<NamedCallableTask<ReconOmTask.TaskResult>> tasks = new
ArrayList<>();
+ Map<String, ReconOmTask> localReconOmTaskMap = reconOmTaskMap;
+ if (null == reconOmTaskMap) {
Review Comment:
Thanks @dombizita for your review. I have addressed the comments. Please
have a relook.
--
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]