From d232625f735e06b89360d8f5847c4331076ac477 Mon Sep 17 00:00:00 2001 From: Akira Ajisaka Date: Mon, 21 Nov 2016 14:05:15 +0900 Subject: [PATCH] HDFS-11113. Document dfs.client.read.striped configuration in hdfs-default.xml. Contributed by Rakesh R. --- .../hadoop-hdfs/src/main/resources/hdfs-default.xml | 9 +++++++++ .../org/apache/hadoop/tools/TestHdfsConfigFields.java | 1 + 2 files changed, 10 insertions(+) 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 a605972a1a..5d6376afa8 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 @@ -3372,6 +3372,15 @@ + + dfs.client.read.striped.threadpool.size + 18 + + The maximum number of threads used for parallel reading + in striped layout. + + + dfs.client.replica.accessor.builder.classes diff --git a/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/tools/TestHdfsConfigFields.java b/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/tools/TestHdfsConfigFields.java index bf29428a20..3bbb609a45 100644 --- a/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/tools/TestHdfsConfigFields.java +++ b/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/tools/TestHdfsConfigFields.java @@ -41,6 +41,7 @@ public class TestHdfsConfigFields extends TestConfigurationFieldsBase { public void initializeMemberVariables() { xmlFilename = new String("hdfs-default.xml"); configurationClasses = new Class[] { HdfsClientConfigKeys.class, + HdfsClientConfigKeys.StripedRead.class, DFSConfigKeys.class}; // Set error modes