Github user huor commented on a diff in the pull request:
https://github.com/apache/incubator-hawq/pull/138#discussion_r46233696
--- Diff: src/backend/utils/misc/etc/hawq-site.xml ---
@@ -20,103 +20,133 @@ under the License.
-->
<configuration>
- <property>
- <name>hawq_master_address_host</name>
- <value>localhost</value>
- <description>The host name of hawq master.</description>
- </property>
-
- <property>
- <name>hawq_master_address_port</name>
- <value>5432</value>
- <description>The port of hawq master.</description>
- </property>
-
- <property>
- <name>hawq_segment_address_port</name>
- <value>40000</value>
- <description>The port of hawq segment.</description>
- </property>
-
- <property>
- <name>hawq_dfs_url</name>
- <value>localhost:8020/hawq_default</value>
- <description>URL for accessing HDFS.</description>
- </property>
-
- <property>
- <name>hawq_master_directory</name>
- <value>~/hawq-data-directory/masterdd</value>
- <description>The directory of hawq master.</description>
- </property>
-
- <property>
- <name>hawq_segment_directory</name>
- <value>~/hawq-data-directory/segmentdd</value>
- <description>The directory of hawq segment.</description>
- </property>
-
- <property>
- <name>hawq_master_temp_directory</name>
- <value>/tmp</value>
- <description>The temporary directory reserved for hawq
master.</description>
- </property>
-
- <property>
- <name>hawq_segment_temp_directory</name>
- <value>/tmp</value>
- <description>The temporary directory reserved for hawq
segment.</description>
- </property>
+ <property>
+ <name>hawq_master_address_host</name>
+ <value>localhost</value>
+ <description>The host name of hawq master.</description>
+ </property>
+
+ <property>
+ <name>hawq_master_address_port</name>
+ <value>5432</value>
+ <description>The port of hawq master.</description>
+ </property>
+
+ <property>
+ <name>hawq_standby_address_host</name>
+ <value>none</value>
+ <description>The host name of hawq standby master.</description>
+ </property>
+
+ <property>
+ <name>hawq_segment_address_port</name>
+ <value>40000</value>
+ <description>The port of hawq segment.</description>
+ </property>
+
+ <property>
+ <name>hawq_dfs_url</name>
+ <value>localhost:8020/hawq_default</value>
+ <description>URL for accessing HDFS.</description>
+ </property>
+
+ <property>
+ <name>hawq_master_directory</name>
+ <value>~/hawq-data-directory/masterdd</value>
+ <description>The directory of hawq master.</description>
+ </property>
+
+ <property>
+ <name>hawq_segment_directory</name>
+ <value>~/hawq-data-directory/segmentdd</value>
+ <description>The directory of hawq segment.</description>
+ </property>
+
+ <property>
+ <name>hawq_master_temp_directory</name>
+ <value>/tmp</value>
+ <description>The temporary directory reserved for hawq
master.</description>
+ </property>
+
+ <property>
+ <name>hawq_segment_temp_directory</name>
+ <value>/tmp</value>
+ <description>The temporary directory reserved for hawq
segment.</description>
+ </property>
- <!-- HAWQ resource manager parameters -->
- <property>
- <name>hawq_global_rm_type</name>
- <value>none</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>localhost:8032</value>
- <description>The address of YARN resource manager
server.</description>
- </property>
-
- <property>
- <name>hawq_rm_yarn_scheduler_address</name>
- <value>localhost: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>
-
+ <!-- HAWQ resource manager parameters -->
+ <property>
+ <name>hawq_global_rm_type</name>
+ <value>none</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>localhost:8032</value>
+ <description>The address of YARN resource manager
server.</description>
+ </property>
+
+ <property>
+ <name>hawq_rm_yarn_scheduler_address</name>
+ <value>localhost: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>
+ <!-- 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>
--- End diff --
The previous value for "hawq_re_cgroup_hierarchy_name" is "hadoop-yarn". In
the unification of properties, we changed it to "hawq" which is more
meaningful. Please update it to "hawq" in Ambari accordingly. Thanks.
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---