hive-site.xml 7.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <!--Autogenerated by Cloudera Manager-->
  3. <configuration>
  4. <property>
  5. <name>hive.metastore.uris</name>
  6. <value>thrift://10.116.1.72:9083</value>
  7. <!-- <value>thrift://cdhtestdn02.yili.com:9083</value> -->
  8. </property>
  9. <property>
  10. <name>hive.metastore.client.socket.timeout</name>
  11. <value>3600</value>
  12. </property>
  13. <property>
  14. <name>hive.metastore.warehouse.dir</name>
  15. <value>/user/hive/warehouse</value>
  16. </property>
  17. <property>
  18. <name>hive.warehouse.subdir.inherit.perms</name>
  19. <value>true</value>
  20. </property>
  21. <property>
  22. <name>hive.auto.convert.join</name>
  23. <value>true</value>
  24. </property>
  25. <property>
  26. <name>hive.auto.convert.join.noconditionaltask.size</name>
  27. <value>1073741824</value>
  28. </property>
  29. <property>
  30. <name>hive.optimize.bucketmapjoin.sortedmerge</name>
  31. <value>true</value>
  32. </property>
  33. <property>
  34. <name>hive.smbjoin.cache.rows</name>
  35. <value>10000</value>
  36. </property>
  37. <property>
  38. <name>hive.server2.logging.operation.enabled</name>
  39. <value>true</value>
  40. </property>
  41. <property>
  42. <name>hive.server2.logging.operation.log.location</name>
  43. <value>/var/log/hive/operation_logs</value>
  44. </property>
  45. <property>
  46. <name>mapred.reduce.tasks</name>
  47. <value>-1</value>
  48. </property>
  49. <property>
  50. <name>hive.exec.reducers.bytes.per.reducer</name>
  51. <value>67108864</value>
  52. </property>
  53. <property>
  54. <name>hive.exec.copyfile.maxsize</name>
  55. <value>33554432</value>
  56. </property>
  57. <property>
  58. <name>hive.exec.reducers.max</name>
  59. <value>1099</value>
  60. </property>
  61. <property>
  62. <name>hive.vectorized.groupby.checkinterval</name>
  63. <value>4096</value>
  64. </property>
  65. <property>
  66. <name>hive.vectorized.groupby.flush.percent</name>
  67. <value>0.1</value>
  68. </property>
  69. <property>
  70. <name>hive.compute.query.using.stats</name>
  71. <value>true</value>
  72. </property>
  73. <property>
  74. <name>hive.vectorized.execution.enabled</name>
  75. <value>false</value>
  76. </property>
  77. <property>
  78. <name>hive.vectorized.execution.reduce.enabled</name>
  79. <value>false</value>
  80. </property>
  81. <property>
  82. <name>hive.vectorized.use.vectorized.input.format</name>
  83. <value>false</value>
  84. </property>
  85. <property>
  86. <name>hive.vectorized.use.checked.expressions</name>
  87. <value>false</value>
  88. </property>
  89. <property>
  90. <name>hive.vectorized.use.vector.serde.deserialize</name>
  91. <value>false</value>
  92. </property>
  93. <property>
  94. <name>hive.vectorized.adaptor.usage.mode</name>
  95. <value>chosen</value>
  96. </property>
  97. <property>
  98. <name>hive.vectorized.input.format.excludes</name>
  99. <value>org.apache.hadoop.hive.ql.io.parquet.MapredParquetInputFormat</value>
  100. </property>
  101. <property>
  102. <name>hive.merge.mapfiles</name>
  103. <value>true</value>
  104. </property>
  105. <property>
  106. <name>hive.merge.mapredfiles</name>
  107. <value>true</value>
  108. </property>
  109. <property>
  110. <name>hive.cbo.enable</name>
  111. <value>false</value>
  112. </property>
  113. <property>
  114. <name>hive.fetch.task.conversion</name>
  115. <value>minimal</value>
  116. </property>
  117. <property>
  118. <name>hive.fetch.task.conversion.threshold</name>
  119. <value>268435456</value>
  120. </property>
  121. <property>
  122. <name>hive.limit.pushdown.memory.usage</name>
  123. <value>0.1</value>
  124. </property>
  125. <property>
  126. <name>hive.merge.sparkfiles</name>
  127. <value>true</value>
  128. </property>
  129. <property>
  130. <name>hive.merge.smallfiles.avgsize</name>
  131. <value>16777216</value>
  132. </property>
  133. <property>
  134. <name>hive.merge.size.per.task</name>
  135. <value>268435456</value>
  136. </property>
  137. <property>
  138. <name>hive.optimize.reducededuplication</name>
  139. <value>true</value>
  140. </property>
  141. <property>
  142. <name>hive.optimize.reducededuplication.min.reducer</name>
  143. <value>4</value>
  144. </property>
  145. <property>
  146. <name>hive.map.aggr</name>
  147. <value>true</value>
  148. </property>
  149. <property>
  150. <name>hive.map.aggr.hash.percentmemory</name>
  151. <value>0.5</value>
  152. </property>
  153. <property>
  154. <name>hive.optimize.sort.dynamic.partition</name>
  155. <value>false</value>
  156. </property>
  157. <!--'hive.execution.engine', originally set to 'mr' (non-final), is overridden below by a safety valve-->
  158. <property>
  159. <name>spark.executor.memory</name>
  160. <value>9488947609b</value>
  161. </property>
  162. <property>
  163. <name>spark.driver.memory</name>
  164. <value>11596411699b</value>
  165. </property>
  166. <property>
  167. <name>spark.executor.cores</name>
  168. <value>4</value>
  169. </property>
  170. <property>
  171. <name>spark.yarn.driver.memoryOverhead</name>
  172. <value>1228m</value>
  173. </property>
  174. <property>
  175. <name>spark.yarn.executor.memoryOverhead</name>
  176. <value>1596m</value>
  177. </property>
  178. <property>
  179. <name>spark.dynamicAllocation.enabled</name>
  180. <value>true</value>
  181. </property>
  182. <property>
  183. <name>spark.dynamicAllocation.initialExecutors</name>
  184. <value>1</value>
  185. </property>
  186. <property>
  187. <name>spark.dynamicAllocation.minExecutors</name>
  188. <value>1</value>
  189. </property>
  190. <property>
  191. <name>spark.dynamicAllocation.maxExecutors</name>
  192. <value>2147483647</value>
  193. </property>
  194. <property>
  195. <name>hive.metastore.execute.setugi</name>
  196. <value>true</value>
  197. </property>
  198. <!--'hive.support.concurrency', originally set to 'true' (non-final), is overridden below by a safety valve-->
  199. <property>
  200. <name>hive.zookeeper.quorum</name>
  201. <!-- <value>10.116.1.76,10.116.1.77,10.116.1.78</value> -->
  202. <value>cdhtestdn06.yili.com,cdhtestdn07.yili.com,cdhtestdn08.yili.com</value>
  203. </property>
  204. <property>
  205. <name>hive.zookeeper.client.port</name>
  206. <value>2181</value>
  207. </property>
  208. <property>
  209. <name>hive.zookeeper.namespace</name>
  210. <value>hive_zookeeper_namespace_hive</value>
  211. </property>
  212. <property>
  213. <name>hive.cluster.delegation.token.store.class</name>
  214. <value>org.apache.hadoop.hive.thrift.DBTokenStore</value>
  215. </property>
  216. <property>
  217. <name>hive.server2.enable.doAs</name>
  218. <value>false</value>
  219. </property>
  220. <property>
  221. <name>hive.server2.use.SSL</name>
  222. <value>false</value>
  223. </property>
  224. <property>
  225. <name>spark.shuffle.service.enabled</name>
  226. <value>true</value>
  227. </property>
  228. <property>
  229. <name>hive.strict.checks.orderby.no.limit</name>
  230. <value>false</value>
  231. </property>
  232. <property>
  233. <name>hive.strict.checks.no.partition.filter</name>
  234. <value>false</value>
  235. </property>
  236. <property>
  237. <name>hive.strict.checks.type.safety</name>
  238. <value>false</value>
  239. </property>
  240. <property>
  241. <name>hive.strict.checks.cartesian.product</name>
  242. <value>false</value>
  243. </property>
  244. <property>
  245. <name>hive.strict.checks.bucketing</name>
  246. <value>true</value>
  247. </property>
  248. <!-- <property>
  249. <name>hive.execution.engine</name>
  250. <value>tez</value>
  251. </property> -->
  252. <property>
  253. <name>hive.tez.container.size</name>
  254. <value>5120</value>
  255. </property>
  256. <property>
  257. <name>hive.exec.dynamic.partition</name>
  258. <value>true</value>
  259. </property>
  260. <property>
  261. <name>hive.exec.dynamic.partition.mode</name>
  262. <value>nonstrict</value>
  263. </property>
  264. <property>
  265. <name>hive.exec.max.dynamic.partitions.pernode</name>
  266. <value>2000</value>
  267. </property>
  268. <property>
  269. <name>hive.tez.cpu.vcores</name>
  270. <value>1</value>
  271. </property>
  272. <property>
  273. <name>hive.sentry.conf.url</name>
  274. <value>file:///etc/sentry/conf/sentry-site.xml</value>
  275. </property>
  276. <property>
  277. <name>hive.support.concurrency</name>
  278. <value>false</value>
  279. </property>
  280. <property>
  281. <name>tez.am.resource.memory.mb</name>
  282. <value>8192</value>
  283. </property>
  284. </configuration>