Author: ptr Date: Sat Apr 21 00:28:29 2012 New Revision: 1328546 URL: http://svn.apache.org/viewvc?rev=1328546&view=rev Log: BIGTOP-552. Enable HDFS durable sync (Michael Morello via ptr)
Modified: incubator/bigtop/branches/hadoop-0.23/bigtop-deploy/puppet/modules/hadoop-hbase/templates/hbase-site.xml incubator/bigtop/branches/hadoop-0.23/bigtop-deploy/puppet/modules/hadoop/templates/hdfs-site.xml Modified: incubator/bigtop/branches/hadoop-0.23/bigtop-deploy/puppet/modules/hadoop-hbase/templates/hbase-site.xml URL: http://svn.apache.org/viewvc/incubator/bigtop/branches/hadoop-0.23/bigtop-deploy/puppet/modules/hadoop-hbase/templates/hbase-site.xml?rev=1328546&r1=1328545&r2=1328546&view=diff ============================================================================== --- incubator/bigtop/branches/hadoop-0.23/bigtop-deploy/puppet/modules/hadoop-hbase/templates/hbase-site.xml (original) +++ incubator/bigtop/branches/hadoop-0.23/bigtop-deploy/puppet/modules/hadoop-hbase/templates/hbase-site.xml Sat Apr 21 00:28:29 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/branches/hadoop-0.23/bigtop-deploy/puppet/modules/hadoop/templates/hdfs-site.xml URL: http://svn.apache.org/viewvc/incubator/bigtop/branches/hadoop-0.23/bigtop-deploy/puppet/modules/hadoop/templates/hdfs-site.xml?rev=1328546&r1=1328545&r2=1328546&view=diff ============================================================================== --- incubator/bigtop/branches/hadoop-0.23/bigtop-deploy/puppet/modules/hadoop/templates/hdfs-site.xml (original) +++ incubator/bigtop/branches/hadoop-0.23/bigtop-deploy/puppet/modules/hadoop/templates/hdfs-site.xml Sat Apr 21 00:28:29 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>