<commit_before><?xml version="1.0"?>
<?xml-stylesheet type="text/xsl" href="configuration.xsl"?>
<!--
################################################
#
#              Generated by Chef
#
################################################
-->
<configuration>
  <property>
    <name>hbase.rootdir</name>
    <value>hdfs://<%= node.chef_environment %>/hbase</value>
  </property>
  <property>
    <name>hbase.zookeeper.quorum</name>
    <value><%= @zk_hosts.map{ |s| float_host(s[:hostname]) + ":2181" }.join(",") %></value> 
  </property>
  <property>
    <name>hbase.cluster.distributed</name>
    <value>true</value>
  </property>
  <property>
    <name>fail.fast.expired.active.master</name>
    <value><%= #{@master_hosts.length > 1 ? "true" : "false"} %></value>
  </property>
  <property>
    <name>hbase.master.wait.on.regionservers.mintostart</name>
    <value><%= #{@rs_hosts.length/2+1} %></value>
  </property>
</configuration><commit_msg>Fix for Add tunings from http://hbase.apache.org/book/important_configuration (15e9c15894)<commit_after><?xml version="1.0"?>
<?xml-stylesheet type="text/xsl" href="configuration.xsl"?>
<!--
################################################
#
#              Generated by Chef
#
################################################
-->
<configuration>
  <property>
    <name>hbase.rootdir</name>
    <value>hdfs://<%= node.chef_environment %>/hbase</value>
  </property>
  <property>
    <name>hbase.zookeeper.quorum</name>
    <value><%= @zk_hosts.map{ |s| float_host(s[:hostname]) + ":2181" }.join(",") %></value> 
  </property>
  <property>
    <name>hbase.cluster.distributed</name>
    <value>true</value>
  </property>
  <property>
    <name>fail.fast.expired.active.master</name>
    <value><%= @master_hosts.length > 1 ? "true" : "false" %></value>
  </property>
  <property>
    <name>hbase.master.wait.on.regionservers.mintostart</name>
    <value><%= @rs_hosts.length/2+1 %></value>
  </property>
</configuration>
{'fraction_non_alphanumeric': 0.2956743002544529, 'fraction_numerical': 0.013231552162849873, 'mean_word_length': 4.3863013698630136, 'pattern_counts': {'":': 2, '<': 81, '<?xml version=': 2, '>': 83, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 4}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5830141', 'n_tokens_mistral': 698, 'n_tokens_neox': 660, 'n_words': 95}