Sample hawq-site.xml Configuration File

  1. <configuration>
  2. <property>
  3. <name>default_hash_table_bucket_number</name>
  4. <value>18</value>
  5. </property>
  6. <property>
  7. <name>hawq_dfs_url</name>
  8. <value>hawq.example.com:8020/hawq_default</value>
  9. </property>
  10. <property>
  11. <name>hawq_global_rm_type</name>
  12. <value>none</value>
  13. </property>
  14. <property>
  15. <name>hawq_master_address_host</name>
  16. <value>hawq.example.com</value>
  17. </property>
  18. <property>
  19. <name>hawq_master_address_port</name>
  20. <value>5432</value>
  21. </property>
  22. <property>
  23. <name>hawq_master_directory</name>
  24. <value>/data/hawq/master</value>
  25. </property>
  26. <property>
  27. <name>hawq_master_temp_directory</name>
  28. <value>/tmp/hawq/master</value>
  29. </property>
  30. <property>
  31. <name>hawq_re_cgroup_hierarchy_name</name>
  32. <value>hawq</value>
  33. </property>
  34. <property>
  35. <name>hawq_re_cgroup_mount_point</name>
  36. <value>/sys/fs/cgroup</value>
  37. </property>
  38. <property>
  39. <name>hawq_re_cpu_enable</name>
  40. <value>false</value>
  41. </property>
  42. <property>
  43. <name>hawq_rm_memory_limit_perseg</name>
  44. <value>64GB</value>
  45. </property>
  46. <property>
  47. <name>hawq_rm_nvcore_limit_perseg</name>
  48. <value>16</value>
  49. </property>
  50. <property>
  51. <name>hawq_rm_nvseg_perquery_limit</name>
  52. <value>512</value>
  53. </property>
  54. <property>
  55. <name>hawq_rm_nvseg_perquery_perseg_limit</name>
  56. <value>6</value>
  57. </property>
  58. <property>
  59. <name>hawq_rm_yarn_address</name>
  60. <value>rm.example.com:8050</value>
  61. </property>
  62. <property>
  63. <name>hawq_rm_yarn_app_name</name>
  64. <value>hawq</value>
  65. </property>
  66. <property>
  67. <name>hawq_rm_yarn_queue_name</name>
  68. <value>default</value>
  69. </property>
  70. <property>
  71. <name>hawq_rm_yarn_scheduler_address</name>
  72. <value>rm.example.com:8030</value>
  73. </property>
  74. <property>
  75. <name>hawq_segment_address_port</name>
  76. <value>40000</value>
  77. </property>
  78. <property>
  79. <name>hawq_segment_directory</name>
  80. <value>/data/hawq/segment</value>
  81. </property>
  82. <property>
  83. <name>hawq_segment_temp_directory</name>
  84. <value>/tmp/hawq/segment</value>
  85. </property>
  86. <property>
  87. <name>hawq_standby_address_host</name>
  88. <value>standbyhost.example.com</value>
  89. </property>
  90. </configuration>