hadoop-common-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From lium...@apache.org
Subject [34/50] [abbrv] hadoop git commit: HDFS-11113. Document dfs.client.read.striped configuration in hdfs-default.xml. Contributed by Rakesh R.
Date Tue, 22 Nov 2016 23:11:28 GMT
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 <aajisaka@apache.org>
Authored: Mon Nov 21 14:05:15 2016 +0900
Committer: Akira Ajisaka <aajisaka@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-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-commits-help@hadoop.apache.org


Mime
View raw message