HDFS-11113. Document dfs.client.read.striped configuration in hdfs-default.xml. Contributed by Rakesh R.
Project: http://git-wip-us.apache.org/repos/asf/hadoop/repo Commit: http://git-wip-us.apache.org/repos/asf/hadoop/commit/d232625f Tree: http://git-wip-us.apache.org/repos/asf/hadoop/tree/d232625f Diff: http://git-wip-us.apache.org/repos/asf/hadoop/diff/d232625f Branch: refs/heads/HADOOP-13345 Commit: d232625f735e06b89360d8f5847c4331076ac477 Parents: c65d6b6 Author: Akira Ajisaka <aajis...@apache.org> Authored: Mon Nov 21 14:05:15 2016 +0900 Committer: Akira Ajisaka <aajis...@apache.org> Committed: Mon Nov 21 14:05:15 2016 +0900 ---------------------------------------------------------------------- .../hadoop-hdfs/src/main/resources/hdfs-default.xml | 9 +++++++++ .../java/org/apache/hadoop/tools/TestHdfsConfigFields.java | 1 + 2 files changed, 10 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/hadoop/blob/d232625f/hadoop-hdfs-project/hadoop-hdfs/src/main/resources/hdfs-default.xml ---------------------------------------------------------------------- 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 a605972..5d6376a 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 @@ -3373,6 +3373,15 @@ </property> <property> + <name>dfs.client.read.striped.threadpool.size</name> + <value>18</value> + <description> + The maximum number of threads used for parallel reading + in striped layout. + </description> +</property> + +<property> <name>dfs.client.replica.accessor.builder.classes</name> <value></value> <description> http://git-wip-us.apache.org/repos/asf/hadoop/blob/d232625f/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/tools/TestHdfsConfigFields.java ---------------------------------------------------------------------- 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 bf29428..3bbb609 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 --------------------------------------------------------------------- To unsubscribe, e-mail: common-commits-unsubscr...@hadoop.apache.org For additional commands, e-mail: common-commits-h...@hadoop.apache.org