From db859e8172338a67c336dffa5fff95b618cd0fec Mon Sep 17 00:00:00 2001 From: Weiwei Yang Date: Sun, 16 Jul 2017 22:40:20 +0800 Subject: [PATCH] HDFS-12148. Ozone: TestOzoneConfigurationFields is failing because ozone-default.xml has some missing properties. Contributed by Weiwei Yang. --- .../src/main/resources/ozone-default.xml | 31 +++++++++++++++++++ 1 file changed, 31 insertions(+) diff --git a/hadoop-hdfs-project/hadoop-hdfs/src/main/resources/ozone-default.xml b/hadoop-hdfs-project/hadoop-hdfs/src/main/resources/ozone-default.xml index cd444e9e95..bd29ce47fb 100644 --- a/hadoop-hdfs-project/hadoop-hdfs/src/main/resources/ozone-default.xml +++ b/hadoop-hdfs-project/hadoop-hdfs/src/main/resources/ozone-default.xml @@ -327,6 +327,37 @@ + + ozone.scm.max.container.report.threads + 100 + + Maximum number of threads to process container reports in scm. + Each container report from a datanode is processed by scm in + a worker thread, fetched from a thread pool. This property is + used to control the maximum size of the thread pool. + + + + + ozone.scm.container.reports.wait.timeout.seconds + 300 + + Maximum time to wait in seconds for processing all container + reports from a node pool. It determines the timeout for a + node pool reports. + + + + + ozone.scm.container.report.processing.interval.seconds + 60 + + Time interval in seconds for scm to process container reports + for a node pool. Scm handles node pool reports in a cyclic clock + manner, it fetches pools periodically with this time interval. + + + dfs.container.ipc 50011