hive-site.xml 9.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <?xml-stylesheet type="text/xsl" href="configuration.xsl"?>
  3. <!--
  4. /**
  5. *
  6. * Licensed to the Apache Software Foundation (ASF) under one
  7. * or more contributor license agreements. See the NOTICE file
  8. * distributed with this work for additional information
  9. * regarding copyright ownership. The ASF licenses this file
  10. * to you under the Apache License, Version 2.0 (the
  11. * "License"); you may not use this file except in compliance
  12. * with the License. You may obtain a copy of the License at
  13. *
  14. * http://www.apache.org/licenses/LICENSE-2.0
  15. *
  16. * Unless required by applicable law or agreed to in writing, software
  17. * distributed under the License is distributed on an "AS IS" BASIS,
  18. * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  19. * See the License for the specific language governing permissions and
  20. * limitations under the License.
  21. */
  22. -->
  23. <configuration>
  24. <property>
  25. <name>datanucleus.schema.autoCreateTables</name>
  26. <value>true</value>
  27. </property>
  28. <property>
  29. <name>hbase.zookeeper.quorum</name>
  30. <value>172.23.21.17:2181,172.23.21.15:2181,172.23.21.10:2181</value>
  31. </property>
  32. <property>
  33. <name>hive.cluster.delegation.token.store.class</name>
  34. <value>org.apache.hadoop.hive.thrift.ZooKeeperTokenStore</value>
  35. </property>
  36. <property>
  37. <name>hive.cluster.delegation.token.store.zookeeper.connectString</name>
  38. <value>172.23.21.17:2181,172.23.21.10:2181,172.23.21.15:2181</value>
  39. </property>
  40. <property>
  41. <name>hive.downloaded.resources.dir</name>
  42. <value>/data/emr/hive/tmp/${hive.session.id}_resources</value>
  43. </property>
  44. <property>
  45. <name>hive.exec.dynamic.partition.mode</name>
  46. <value>nonstrict</value>
  47. </property>
  48. <property>
  49. <name>hive.exec.local.scratchdir</name>
  50. <value>/data/emr/hive/tmp</value>
  51. </property>
  52. <property>
  53. <name>hive.exec.parallel</name>
  54. <value>true</value>
  55. </property>
  56. <property>
  57. <name>hive.exec.parallel.thread.number</name>
  58. <value>16</value>
  59. </property>
  60. <property>
  61. <name>hive.execution.engine</name>
  62. <value>tez</value>
  63. </property>
  64. <property>
  65. <name>hive.fetch.task.aggr</name>
  66. <value>true</value>
  67. </property>
  68. <property>
  69. <name>hive.hwi.listen.host</name>
  70. <value>0.0.0.0</value>
  71. </property>
  72. <property>
  73. <name>hive.hwi.listen.port</name>
  74. <value>7002</value>
  75. </property>
  76. <property>
  77. <name>hive.llap.daemon.output.service.port</name>
  78. <value>7009</value>
  79. </property>
  80. <property>
  81. <name>hive.llap.daemon.rpc.port</name>
  82. <value>7007</value>
  83. </property>
  84. <property>
  85. <name>hive.llap.daemon.web.port</name>
  86. <value>7008</value>
  87. </property>
  88. <property>
  89. <name>hive.llap.daemon.yarn.shuffle.port</name>
  90. <value>7006</value>
  91. </property>
  92. <property>
  93. <name>hive.llap.management.rpc.port</name>
  94. <value>7005</value>
  95. </property>
  96. <property>
  97. <name>hive.merge.mapfiles</name>
  98. <value>true</value>
  99. </property>
  100. <property>
  101. <name>hive.merge.mapredfiles</name>
  102. <value>true</value>
  103. </property>
  104. <property>
  105. <name>hive.merge.size.per.task</name>
  106. <value>134217728</value>
  107. </property>
  108. <property>
  109. <name>hive.merge.smallfiles.avgsize</name>
  110. <value>134217728</value>
  111. </property>
  112. <property>
  113. <name>hive.merge.sparkfiles</name>
  114. <value>true</value>
  115. </property>
  116. <property>
  117. <name>hive.merge.tezfiles</name>
  118. <value>true</value>
  119. </property>
  120. <property>
  121. <name>hive.metastore.alter.notifications.basic</name>
  122. <value>false</value>
  123. </property>
  124. <property>
  125. <name>hive.metastore.db.encoding</name>
  126. <value>UTF-8</value>
  127. </property>
  128. <property>
  129. <name>hive.metastore.dml.events</name>
  130. <value>true</value>
  131. </property>
  132. <property>
  133. <name>hive.metastore.event.db.listener.timetolive</name>
  134. <value>172800s</value>
  135. </property>
  136. <property>
  137. <name>hive.metastore.event.db.notification.api.auth</name>
  138. <value>false</value>
  139. </property>
  140. <property>
  141. <name>hive.metastore.kerberos.keytab.file</name>
  142. <value>/var/krb5kdc/emr.keytab</value>
  143. </property>
  144. <property>
  145. <name>hive.metastore.kerberos.principal</name>
  146. <value>hadoop/_HOST@EMR-56L6ZNTS</value>
  147. </property>
  148. <property>
  149. <name>hive.metastore.metrics.enabled</name>
  150. <value>false</value>
  151. </property>
  152. <property>
  153. <name>hive.metastore.notifications.add.thrift.objects</name>
  154. <value>true</value>
  155. </property>
  156. <property>
  157. <name>hive.metastore.port</name>
  158. <value>7004</value>
  159. </property>
  160. <property>
  161. <name>hive.metastore.sasl.enabled</name>
  162. <value>true</value>
  163. </property>
  164. <property>
  165. <name>hive.metastore.schema.verification</name>
  166. <value>false</value>
  167. </property>
  168. <property>
  169. <name>hive.metastore.schema.verification.record.version</name>
  170. <value>false</value>
  171. </property>
  172. <property>
  173. <name>hive.metastore.server.max.message.size</name>
  174. <value>858993459</value>
  175. </property>
  176. <property>
  177. <name>hive.metastore.transactional.event.listeners</name>
  178. <value>org.apache.hive.hcatalog.listener.DbNotificationListener</value>
  179. </property>
  180. <property>
  181. <name>hive.metastore.uris</name>
  182. <value>thrift://172.23.21.7:7004,thrift://172.23.21.8:7004</value>
  183. </property>
  184. <property>
  185. <name>hive.metastore.warehouse.dir</name>
  186. <value>/user/hive/warehouse</value>
  187. </property>
  188. <property>
  189. <name>hive.querylog.location</name>
  190. <value>/data/emr/hive/tmp</value>
  191. </property>
  192. <property>
  193. <name>hive.server2.authentication</name>
  194. <value>kerberos</value>
  195. </property>
  196. <property>
  197. <name>hive.server2.authentication.kerberos.keytab</name>
  198. <value>/var/krb5kdc/emr.keytab</value>
  199. </property>
  200. <property>
  201. <name>hive.server2.authentication.kerberos.principal</name>
  202. <value>hadoop/_HOST@EMR-56L6ZNTS</value>
  203. </property>
  204. <property>
  205. <name>hive.server2.logging.operation.log.location</name>
  206. <value>/data/emr/hive/tmp/operation_logs</value>
  207. </property>
  208. <property>
  209. <name>hive.server2.metrics.enabled</name>
  210. <value>true</value>
  211. </property>
  212. <property>
  213. <name>hive.server2.support.dynamic.service.discovery</name>
  214. <value>true</value>
  215. </property>
  216. <property>
  217. <name>hive.server2.thrift.bind.host</name>
  218. <value>172.23.21.11</value>
  219. </property>
  220. <property>
  221. <name>hive.server2.thrift.http.port</name>
  222. <value>7000</value>
  223. </property>
  224. <property>
  225. <name>hive.server2.thrift.max.worker.threads</name>
  226. <value>1000</value>
  227. </property>
  228. <property>
  229. <name>hive.server2.thrift.port</name>
  230. <value>7001</value>
  231. </property>
  232. <property>
  233. <name>hive.server2.webui.host</name>
  234. <value>0.0.0.0</value>
  235. </property>
  236. <property>
  237. <name>hive.server2.webui.port</name>
  238. <value>7003</value>
  239. </property>
  240. <property>
  241. <name>hive.server2.zookeeper.namespace</name>
  242. <value>hiveserver2</value>
  243. </property>
  244. <property>
  245. <name>hive.stats.autogather</name>
  246. <value>true</value>
  247. </property>
  248. <property>
  249. <name>hive.tez.auto.reducer.parallelism</name>
  250. <value>true</value>
  251. </property>
  252. <property>
  253. <name>hive.tez.container.size</name>
  254. <value>1024</value>
  255. </property>
  256. <property>
  257. <name>hive.zookeeper.client.port</name>
  258. <value>2181</value>
  259. </property>
  260. <property>
  261. <name>hive.zookeeper.quorum</name>
  262. <value>172.23.21.17:2181,172.23.21.15:2181,172.23.21.10:2181</value>
  263. </property>
  264. <property>
  265. <name>io.compression.codec.lzo.class</name>
  266. <value>com.hadoop.compression.lzo.LzoCodec</value>
  267. </property>
  268. <property>
  269. <name>io.compression.codecs</name>
  270. <value>org.apache.hadoop.io.compress.DefaultCodec,org.apache.hadoop.io.compress.GzipCodec,com.hadoop.compression.lzo.LzoCodec,com.hadoop.compression.lzo.LzopCodec,org.apache.hadoop.io.compress.SnappyCodec</value>
  271. </property>
  272. <property>
  273. <name>javax.jdo.option.ConnectionDriverName</name>
  274. <value>com.mysql.jdbc.Driver</value>
  275. </property>
  276. <property>
  277. <name>javax.jdo.option.ConnectionPassword</name>
  278. <value>enochLk9j7Hv35</value>
  279. </property>
  280. <property>
  281. <name>javax.jdo.option.ConnectionURL</name>
  282. <value>jdbc:mysql://172.23.21.6:3306/hivemetastore?useSSL=false&amp;createDatabaseIfNotExist=true&amp;characterEncoding=UTF-8</value>
  283. </property>
  284. <property>
  285. <name>javax.jdo.option.ConnectionUserName</name>
  286. <value>root</value>
  287. </property>
  288. <property>
  289. <name>mapreduce.input.fileinputformat.list-status.num-threads</name>
  290. <value>5</value>
  291. </property>
  292. <property>
  293. <name>spark.yarn.jars</name>
  294. <value>hdfs:///spark/jars/*</value>
  295. </property>
  296. </configuration>