You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@bigtop.apache.org by pt...@apache.org on 2012/04/23 22:21:58 UTC

svn commit: r1329426 - in /incubator/bigtop/branches/branch-0.3/bigtop-deploy/puppet/modules: hadoop-hbase/templates/hbase-site.xml hadoop/templates/hdfs-site.xml

Author: ptr
Date: Mon Apr 23 20:21:57 2012
New Revision: 1329426

URL: http://svn.apache.org/viewvc?rev=1329426&view=rev
Log:
BIGTOP-552. Enable HDFS durable sync (Michael Morello via ptr)

(cherry picked from commit 751512590a7bbb5ea5b16cfc4a83ec45005a902f)

Modified:
    incubator/bigtop/branches/branch-0.3/bigtop-deploy/puppet/modules/hadoop-hbase/templates/hbase-site.xml
    incubator/bigtop/branches/branch-0.3/bigtop-deploy/puppet/modules/hadoop/templates/hdfs-site.xml

Modified: incubator/bigtop/branches/branch-0.3/bigtop-deploy/puppet/modules/hadoop-hbase/templates/hbase-site.xml
URL: http://svn.apache.org/viewvc/incubator/bigtop/branches/branch-0.3/bigtop-deploy/puppet/modules/hadoop-hbase/templates/hbase-site.xml?rev=1329426&r1=1329425&r2=1329426&view=diff
==============================================================================
--- incubator/bigtop/branches/branch-0.3/bigtop-deploy/puppet/modules/hadoop-hbase/templates/hbase-site.xml (original)
+++ incubator/bigtop/branches/branch-0.3/bigtop-deploy/puppet/modules/hadoop-hbase/templates/hbase-site.xml Mon Apr 23 20:21:57 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/branch-0.3/bigtop-deploy/puppet/modules/hadoop/templates/hdfs-site.xml
URL: http://svn.apache.org/viewvc/incubator/bigtop/branches/branch-0.3/bigtop-deploy/puppet/modules/hadoop/templates/hdfs-site.xml?rev=1329426&r1=1329425&r2=1329426&view=diff
==============================================================================
--- incubator/bigtop/branches/branch-0.3/bigtop-deploy/puppet/modules/hadoop/templates/hdfs-site.xml (original)
+++ incubator/bigtop/branches/branch-0.3/bigtop-deploy/puppet/modules/hadoop/templates/hdfs-site.xml Mon Apr 23 20:21:57 2012
@@ -110,6 +110,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>