AMBARI-7098. ipc.server.tcpnodelay should be enabled by default (aonishuk)

Project: http://git-wip-us.apache.org/repos/asf/ambari/repo
Commit: http://git-wip-us.apache.org/repos/asf/ambari/commit/641e177b
Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/641e177b
Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/641e177b

Branch: refs/heads/branch-alerts-dev
Commit: 641e177b885311d952de31362f2247620b910b72
Parents: 15e4032
Author: Andrew Onishuk <aonis...@hortonworks.com>
Authored: Tue Sep 2 22:24:34 2014 +0300
Committer: Andrew Onishuk <aonis...@hortonworks.com>
Committed: Tue Sep 2 22:24:34 2014 +0300

----------------------------------------------------------------------
 .../HDP/2.0.6/services/HDFS/configuration/core-site.xml  | 11 +++++++++++
 1 file changed, 11 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ambari/blob/641e177b/ambari-server/src/main/resources/stacks/HDP/2.0.6/services/HDFS/configuration/core-site.xml
----------------------------------------------------------------------
diff --git 
a/ambari-server/src/main/resources/stacks/HDP/2.0.6/services/HDFS/configuration/core-site.xml
 
b/ambari-server/src/main/resources/stacks/HDP/2.0.6/services/HDFS/configuration/core-site.xml
index 569b1fe..52764ac 100644
--- 
a/ambari-server/src/main/resources/stacks/HDP/2.0.6/services/HDFS/configuration/core-site.xml
+++ 
b/ambari-server/src/main/resources/stacks/HDP/2.0.6/services/HDFS/configuration/core-site.xml
@@ -89,6 +89,17 @@
     <description>Defines the maximum number of retries for IPC 
connections.</description>
   </property>
 
+  <property>
+    <name>ipc.server.tcpnodelay</name>
+    <value>true</value>
+    <description>Turn on/off Nagle's algorithm for the TCP socket
+      connection on
+      the server. Setting to true disables the algorithm and may
+      decrease latency
+      with a cost of more/smaller packets.
+    </description>
+  </property>
+
   <!-- Web Interface Configuration -->
   <property>
     <name>mapreduce.jobtracker.webinterface.trusted</name>

Reply via email to