hive-site.xml 7.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296
  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://cdhprodnm02.yili.com:9083,thrift://cdhprodnm01.yili.com:9083</value>
  7. <!-- <value>thrift://cdhproddn02.yili.com:9083</value>-->
  8. </property>
  9. <property>
  10. <name>hive.metastore.client.socket.timeout</name>
  11. <value>1800</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>false</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>true</value>
  84. </property>
  85. <property>
  86. <name>hive.vectorized.use.checked.expressions</name>
  87. <value>true</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>5</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>cdhproddn04.yili.com,cdhproddn03.yili.com,cdhproddn07.yili.com,cdhproddn06.yili.com,cdhproddn05.yili.com</value>
  202. </property>
  203. <property>
  204. <name>hive.zookeeper.client.port</name>
  205. <value>2181</value>
  206. </property>
  207. <property>
  208. <name>hive.zookeeper.namespace</name>
  209. <value>hive_zookeeper_namespace_hive</value>
  210. </property>
  211. <property>
  212. <name>hbase.zookeeper.quorum</name>
  213. <value>cdhproddn04.yili.com,cdhproddn03.yili.com,cdhproddn07.yili.com,cdhproddn06.yili.com,cdhproddn05.yili.com</value>
  214. </property>
  215. <property>
  216. <name>hbase.zookeeper.property.clientPort</name>
  217. <value>2181</value>
  218. </property>
  219. <property>
  220. <name>hive.cluster.delegation.token.store.class</name>
  221. <value>org.apache.hadoop.hive.thrift.DBTokenStore</value>
  222. </property>
  223. <property>
  224. <name>hive.server2.enable.doAs</name>
  225. <value>false</value>
  226. </property>
  227. <property>
  228. <name>hive.server2.use.SSL</name>
  229. <value>false</value>
  230. </property>
  231. <property>
  232. <name>spark.shuffle.service.enabled</name>
  233. <value>true</value>
  234. </property>
  235. <property>
  236. <name>hive.strict.checks.orderby.no.limit</name>
  237. <value>false</value>
  238. </property>
  239. <property>
  240. <name>hive.strict.checks.no.partition.filter</name>
  241. <value>false</value>
  242. </property>
  243. <property>
  244. <name>hive.strict.checks.type.safety</name>
  245. <value>false</value>
  246. </property>
  247. <property>
  248. <name>hive.strict.checks.cartesian.product</name>
  249. <value>false</value>
  250. </property>
  251. <property>
  252. <name>hive.strict.checks.bucketing</name>
  253. <value>true</value>
  254. </property>
  255. <property>
  256. <name>hive.execution.engine</name>
  257. <value>spark</value>
  258. </property>
  259. <property>
  260. <name>hive.tez.container.size</name>
  261. <value>5120</value>
  262. </property>
  263. <property>
  264. <name>hive.exec.dynamic.partition</name>
  265. <value>true</value>
  266. </property>
  267. <property>
  268. <name>hive.exec.dynamic.partition.mode</name>
  269. <value>nonstrict</value>
  270. </property>
  271. <property>
  272. <name>hive.exec.max.dynamic.partitions.pernode</name>
  273. <value>2000</value>
  274. </property>
  275. <property>
  276. <name>hive.tez.cpu.vcores</name>
  277. <value>1</value>
  278. </property>
  279. <property>
  280. <name>hive.sentry.conf.url</name>
  281. <value>file:///etc/sentry/conf/sentry-site.xml</value>
  282. </property>
  283. <property>
  284. <name>hive.metastore.client.impl</name>
  285. <value>org.apache.sentry.binding.metastore.SentryHiveMetaStoreClient</value>
  286. </property>
  287. <property>
  288. <name>hive.support.concurrency</name>
  289. <value>false</value>
  290. </property>
  291. <property>
  292. <name>tez.am.resource.memory.mb</name>
  293. <value>8192</value>
  294. </property>
  295. </configuration>