swagle commented on a change in pull request #819: HDDS-1501 : Create a Recon
task interface to update internal DB on updates from OM.
URL: https://github.com/apache/hadoop/pull/819#discussion_r284470960
##########
File path:
hadoop-ozone/ozone-recon/src/main/java/org/apache/hadoop/ozone/recon/ReconServerConfigKeys.java
##########
@@ -112,6 +112,10 @@
public static final String OZONE_RECON_SQL_MAX_IDLE_CONNECTION_TEST_STMT =
"ozone.recon.sql.db.conn.idle.test";
+ public static final String OZONE_RECON_TASK_THREAD_COUNT_KEY =
+ "ozone.recon.task.thread.count";
+ public static final int OZONE_RECON_TASK_THREAD_COUNT_DEFAULT = 1;
Review comment:
Why create a fix sized threadpool vs create a thread per task?
----------------------------------------------------------------
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]