Author: ptr
Date: Sat Apr 21 00:33:00 2012
New Revision: 1328547
URL: http://svn.apache.org/viewvc?rev=1328547&view=rev
Log:
BIGTOP-552. Enable HDFS durable sync (Michael Morello via ptr)
(cherry picked from commit 751512590a7bbb5ea5b16cfc4a83ec45005a902f)
Modified:
incubator/bigtop/trunk/bigtop-deploy/puppet/modules/hadoop-hbase/templates/hbase-site.xml
incubator/bigtop/trunk/bigtop-deploy/puppet/modules/hadoop/templates/hdfs-site.xml
Modified:
incubator/bigtop/trunk/bigtop-deploy/puppet/modules/hadoop-hbase/templates/hbase-site.xml
URL:
http://svn.apache.org/viewvc/incubator/bigtop/trunk/bigtop-deploy/puppet/modules/hadoop-hbase/templates/hbase-site.xml?rev=1328547&r1=1328546&r2=1328547&view=diff
==============================================================================
---
incubator/bigtop/trunk/bigtop-deploy/puppet/modules/hadoop-hbase/templates/hbase-site.xml
(original)
+++
incubator/bigtop/trunk/bigtop-deploy/puppet/modules/hadoop-hbase/templates/hbase-site.xml
Sat Apr 21 00:33:00 2012
@@ -37,6 +37,18 @@
<value><%= rootdir %></value>
</property>
+ <property>
+ <name>dfs.support.append</name>
+ <value>true</value>
+ </property>
+
+<% if has_variable?("hdfs_shortcut_reader_user") %>
+ <property>
+ <name>dfs.client.read.shortcircuit</name>
+ <value>true</value>
+ </property>
+<% end %>
+
<% if kerberos_realm != "" %>
<property>
<name>hbase.regionserver.kerberos.principal</name>
Modified:
incubator/bigtop/trunk/bigtop-deploy/puppet/modules/hadoop/templates/hdfs-site.xml
URL:
http://svn.apache.org/viewvc/incubator/bigtop/trunk/bigtop-deploy/puppet/modules/hadoop/templates/hdfs-site.xml?rev=1328547&r1=1328546&r2=1328547&view=diff
==============================================================================
---
incubator/bigtop/trunk/bigtop-deploy/puppet/modules/hadoop/templates/hdfs-site.xml
(original)
+++
incubator/bigtop/trunk/bigtop-deploy/puppet/modules/hadoop/templates/hdfs-site.xml
Sat Apr 21 00:33:00 2012
@@ -168,6 +168,25 @@
<name>dfs.data.dir</name>
<value><%= hdfs_data_dirs.join(",") %></value>
</property>
+
+<% if has_variable?("hdfs_support_append") %>
+ <property>
+ <name>dfs.support.append</name>
+ <value><%= hdfs_support_append %></value>
+ </property>
+<% end %>
+
+<% if has_variable?("hdfs_shortcut_reader_user") %>
+ <property>
+ <name>dfs.client.read.shortcircuit</name>
+ <value>true</value>
+ </property>
+
+ <property>
+ <name>dfs.block.local-path-access.user</name>
+ <value><%= hdfs_shortcut_reader_user %></value>
+ </property>
+<% end %>
<property>
<name>dfs.name.dir</name>