<commit_before><?xml version="1.0" encoding="UTF-8"?>

<!--
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements.  See the NOTICE file
distributed with this work for additional information
regarding copyright ownership.  The ASF licenses this file
to you under the Apache License, Version 2.0 (the
"License"); you may not use this file except in compliance
with the License.  You may obtain a copy of the License at

  http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing,
software distributed under the License is distributed on an
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
KIND, either express or implied.  See the License for the
specific language governing permissions and limitations
under the License.
-->

<configuration>
	<property>
		<name>hawq_master_address_host</name>
		<value>%master.host%</value>
		<description>The host name of hawq master.</description>
	</property>

	<property>
		<name>hawq_master_address_port</name>
		<value>%master.port%</value>
		<description>The port of hawq master.</description>
	</property>

	<property>
		<name>hawq_standby_address_host</name>
		<value>%standby.host%</value>
		<description>The host name of hawq standby master.</description>
	</property>

	<property>
		<name>hawq_segment_address_port</name>
		<value>%segment.port%</value>
		<description>The port of hawq segment.</description>
	</property>

	<property>
		<name>hawq_dfs_url</name>
		<value>%namenode.host%:%namenode.port%/%hawq.file.space%</value>
		<description>URL for accessing HDFS.</description>
	</property>

	<property>
		<name>hawq_master_directory</name>
		<value>%master.directory%</value>
		<description>The directory of hawq master.</description>
	</property>

	<property>
		<name>hawq_segment_directory</name>
		<value>%segment.directory%</value>
		<description>The directory of hawq segment.</description>
	</property> 

	<property>
		<name>hawq_master_temp_directory</name>
		<value>%master.temp.directory%</value>
		<description>The temporary directory reserved for hawq master.</description>
	</property>

	<property>
		<name>hawq_segment_temp_directory</name>
		<value>%segment.temp.directory%</value>
		<description>The temporary directory reserved for hawq segment.</description>
	</property>
     
	<!-- HAWQ resource manager parameters -->
	<property>
		<name>hawq_global_rm_type</name>
		<value>%enable_yarn%</value>
		<description>The resource manager type to start for allocating resource.
					 'none' means hawq resource manager exclusively uses whole
					 cluster; 'yarn' means hawq resource manager contacts YARN
					 resource manager to negotiate resource.
		</description>
	</property>

	<property>
		<name>hawq_rm_memory_limit_perseg</name>
		<value>64GB</value>
		<description>The limit of memory usage in a hawq segment when
					 hawq_global_rm_type is set 'none'.
		</description>
	</property>

	<property>
		<name>hawq_rm_nvcore_limit_perseg</name>
		<value>16</value>
		<description>The limit of virtual core usage in a hawq segment when
					 hawq_global_rm_type is set 'none'.
		</description>
	</property>

	<property>
		<name>hawq_rm_yarn_address</name>
		<value>%master.host%:8032</value>
		<description>The address of YARN resource manager server.</description>
	</property>

	<property>
		<name>hawq_rm_yarn_scheduler_address</name>
		<value>%master.host%:8030</value>
		<description>The address of YARN scheduler server.</description>
	</property>

	<property>
		<name>hawq_rm_yarn_queue_name</name>
		<value>default</value>
		<description>The YARN queue name to register hawq resource manager.</description>
	</property>

	<property>
		<name>hawq_rm_yarn_app_name</name>
		<value>hawq</value>
		<description>The application name to register hawq resource manager in YARN.</description>
	</property>

    <property>
        <name>hawq_rm_master_port</name>
        <value>5437</value>
        <description>The resource manager master server port number.</description>
    </property>

    <property>
        <name>hawq_rm_segment_port</name>
        <value>5438</value>
        <description>The resource manager segment server port number.</description>
    </property>
	<!-- HAWQ resource manager parameters end here. -->

	<!-- HAWQ resource enforcement parameters -->
	<property>
		<name>hawq_re_cpu_enable</name>
		<value>false</value>
		<description>The control to enable/disable CPU resource enforcement.</description>
	</property>

	<property>
		<name>hawq_re_cgroup_mount_point</name>
		<value>/sys/fs/cgroup</value>
		<description>The mount point of CGroup file system for resource enforcement.
					 For example, /sys/fs/cgroup/cpu/hawq for CPU sub-system.
		</description>
	</property>

	<property>
		<name>hawq_re_cgroup_hierarchy_name</name>
		<value>hawq</value>
		<description>The name of the hierarchy to accomodate CGroup directories/files for resource enforcement.
					 For example, /sys/fs/cgroup/cpu/hawq for CPU sub-system.
		</description><commit_msg>HAWQ-279. Add 2 guc in template-hawq-site<commit_after><?xml version="1.0" encoding="UTF-8"?>

<!--
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements.  See the NOTICE file
distributed with this work for additional information
regarding copyright ownership.  The ASF licenses this file
to you under the Apache License, Version 2.0 (the
"License"); you may not use this file except in compliance
with the License.  You may obtain a copy of the License at

  http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing,
software distributed under the License is distributed on an
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
KIND, either express or implied.  See the License for the
specific language governing permissions and limitations
under the License.
-->

<configuration>
	<property>
		<name>hawq_master_address_host</name>
		<value>%master.host%</value>
		<description>The host name of hawq master.</description>
	</property>

	<property>
		<name>hawq_master_address_port</name>
		<value>%master.port%</value>
		<description>The port of hawq master.</description>
	</property>

	<property>
		<name>hawq_standby_address_host</name>
		<value>%standby.host%</value>
		<description>The host name of hawq standby master.</description>
	</property>

	<property>
		<name>hawq_segment_address_port</name>
		<value>%segment.port%</value>
		<description>The port of hawq segment.</description>
	</property>

	<property>
		<name>hawq_dfs_url</name>
		<value>%namenode.host%:%namenode.port%/%hawq.file.space%</value>
		<description>URL for accessing HDFS.</description>
	</property>

	<property>
		<name>hawq_master_directory</name>
		<value>%master.directory%</value>
		<description>The directory of hawq master.</description>
	</property>

	<property>
		<name>hawq_segment_directory</name>
		<value>%segment.directory%</value>
		<description>The directory of hawq segment.</description>
	</property> 

	<property>
		<name>hawq_master_temp_directory</name>
		<value>%master.temp.directory%</value>
		<description>The temporary directory reserved for hawq master.</description>
	</property>

	<property>
		<name>hawq_segment_temp_directory</name>
		<value>%segment.temp.directory%</value>
		<description>The temporary directory reserved for hawq segment.</description>
	</property>
     
	<!-- HAWQ resource manager parameters -->
	<property>
		<name>hawq_global_rm_type</name>
		<value>%enable_yarn%</value>
		<description>The resource manager type to start for allocating resource.
					 'none' means hawq resource manager exclusively uses whole
					 cluster; 'yarn' means hawq resource manager contacts YARN
					 resource manager to negotiate resource.
		</description>
	</property>

	<property>
		<name>hawq_rm_memory_limit_perseg</name>
		<value>64GB</value>
		<description>The limit of memory usage in a hawq segment when
					 hawq_global_rm_type is set 'none'.
		</description>
	</property>

	<property>
		<name>hawq_rm_nvcore_limit_perseg</name>
		<value>16</value>
		<description>The limit of virtual core usage in a hawq segment when
					 hawq_global_rm_type is set 'none'.
		</description>
	</property>

	<property>
		<name>hawq_rm_yarn_address</name>
		<value>%master.host%:8032</value>
		<description>The address of YARN resource manager server.</description>
	</property>

	<property>
		<name>hawq_rm_yarn_scheduler_address</name>
		<value>%master.host%:8030</value>
		<description>The address of YARN scheduler server.</description>
	</property>

	<property>
		<name>hawq_rm_yarn_queue_name</name>
		<value>default</value>
		<description>The YARN queue name to register hawq resource manager.</description>
	</property>

	<property>
		<name>hawq_rm_yarn_app_name</name>
		<value>hawq</value>
		<description>The application name to register hawq resource manager in YARN.</description>
	</property>

	<property>
		<name>hawq_rm_master_port</name>
		<value>5437</value>
		<description>The resource manager master server port number.</description>
	</property>

	<property>
		<name>hawq_rm_segment_port</name>
		<value>5438</value>
		<description>The resource manager segment server port number.</description>
	</property>
	<!-- HAWQ resource manager parameters end here. -->

	<!-- HAWQ resource enforcement parameters -->
	<property>
		<name>hawq_re_cpu_enable</name>
		<value>false</value>
		<description>The control to enable/disable CPU resource enforcement.</description>
	</property>

	<property>
		<name>hawq_re_cgroup_mount_point</name>
		<value>/sys/fs/cgroup</value>
		<description>The mount point of CGroup file system for resource enforcement.
					 For example, /sys/fs/cgroup/cpu/hawq for CPU sub-system.
		</description>
	</property>

	<property>
		<name>hawq_re_cgroup_hierarchy_name</name>
		<value>hawq</value>
		<description>The name of the hierarchy to accomodate CGroup directories/files for resource enforcement.
					 For example, /sys/fs/cgroup/cpu/hawq for CPU sub-system.
		</description>
{'fraction_non_alphanumeric': 0.1177989670242352, 'fraction_numerical': 0.005760826380611839, 'mean_word_length': 4.70158550396376, 'pattern_counts': {'":': 0, '<': 349, '<?xml version=': 2, '>': 349, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, 'xml': 2}, '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': '3394787', 'n_tokens_mistral': 3462, 'n_tokens_neox': 3107, 'n_words': 834}