Skip to content

Commit

Permalink
BIGTOP-552. Enable HDFS durable sync (Michael Morello via ptr)
Browse files Browse the repository at this point in the history
  • Loading branch information
Patrick Taylor Ramsey committed Apr 21, 2012
1 parent eac8070 commit 3e30e8b
Show file tree
Hide file tree
Showing 2 changed files with 31 additions and 0 deletions.
12 changes: 12 additions & 0 deletions bigtop-deploy/puppet/modules/hadoop-hbase/templates/hbase-site.xml
Expand Up @@ -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>
Expand Down
19 changes: 19 additions & 0 deletions bigtop-deploy/puppet/modules/hadoop/templates/hdfs-site.xml
Expand Up @@ -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>
Expand Down

0 comments on commit 3e30e8b

Please sign in to comment.