From d725dd8af682f0877cf523744d9801174b727f4e Mon Sep 17 00:00:00 2001 From: Akira Ajisaka Date: Fri, 29 May 2015 11:36:08 +0900 Subject: [PATCH] HDFS-8443. Document dfs.namenode.service.handler.count in hdfs-site.xml. Contributed by J.Andreina. --- hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt | 3 +++ .../src/main/resources/hdfs-default.xml | 16 +++++++++++++++- 2 files changed, 18 insertions(+), 1 deletion(-) diff --git a/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt b/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt index 1c9b25ea22..514076bfec 100644 --- a/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt +++ b/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt @@ -585,6 +585,9 @@ Release 2.8.0 - UNRELEASED HDFS-8482. Rename BlockInfoContiguous to BlockInfo. (Zhe Zhang via wang) + HDFS-8443. Document dfs.namenode.service.handler.count in hdfs-site.xml. + (J.Andreina via aajisaka) + OPTIMIZATIONS HDFS-8026. Trace FSOutputSummer#writeChecksumChunks rather than diff --git a/hadoop-hdfs-project/hadoop-hdfs/src/main/resources/hdfs-default.xml b/hadoop-hdfs-project/hadoop-hdfs/src/main/resources/hdfs-default.xml index 7f0730b07f..7b579cb51c 100644 --- a/hadoop-hdfs-project/hadoop-hdfs/src/main/resources/hdfs-default.xml +++ b/hadoop-hdfs-project/hadoop-hdfs/src/main/resources/hdfs-default.xml @@ -602,7 +602,21 @@ dfs.namenode.handler.count 10 - The number of server threads for the namenode. + The number of Namenode RPC server threads that listen to + requests from clients. + If dfs.namenode.servicerpc-address is not configured then + Namenode RPC server threads listen to requests from all nodes. + + + + + dfs.namenode.service.handler.count + 10 + The number of Namenode RPC server threads that listen to + requests from DataNodes and from all other non-client nodes. + dfs.namenode.service.handler.count will be valid only if + dfs.namenode.servicerpc-address is configured. +