sumitagrawl commented on code in PR #3936:
URL: https://github.com/apache/ozone/pull/3936#discussion_r1018885603
##########
hadoop-hdds/common/src/main/java/org/apache/hadoop/hdds/scm/ScmConfigKeys.java:
##########
@@ -490,7 +490,8 @@ public final class ScmConfigKeys {
public static final String OZONE_SCM_EVENT_CONTAINER_REPORT_THREAD_POOL_SIZE
=
OZONE_SCM_EVENT_PREFIX + "ContainerReport.thread.pool.size";
public static final int OZONE_SCM_EVENT_THREAD_POOL_SIZE_DEFAULT = 10;
-
+ public static final int OZONE_SCM_EVENT_REPORT_QUEUE_WAIT_DEFAULT = 60000;
+ public static final int OZONE_SCM_EVENT_REPORT_EXEC_WAIT_DEFAULT = 120000;
Review Comment:
Add comment, its in milli second
##########
hadoop-ozone/recon/src/main/java/org/apache/hadoop/ozone/recon/scm/ReconStorageContainerManagerFacade.java:
##########
@@ -216,29 +217,39 @@ public
ReconStorageContainerManagerFacade(OzoneConfiguration conf,
// Use the same executor for both ICR and FCR.
// The Executor maps the event to a thread for DN.
// Dispatcher should always dispatch FCR first followed by ICR
+ long waitQueueThreshold = ozoneConfiguration.getInt(
+ ScmUtils.getContainerReportConfPrefix() + ".queue.wait.threshold",
+ OZONE_SCM_EVENT_REPORT_QUEUE_WAIT_DEFAULT);
+ long execWaitThreshold = ozoneConfiguration.getInt(
+ ScmUtils.getContainerReportConfPrefix() + ".execute.wait.threshold",
+ OZONE_SCM_EVENT_REPORT_EXEC_WAIT_DEFAULT);
Review Comment:
added in comment
--
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]