Guest User

Untitled

a guest
Nov 23rd, 2016
156
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 9.88 KB | None | 0 0
  1. <?xml version="1.0"?>
  2. <?xml-stylesheet type="text/xsl" href="configuration.xsl"?>
  3. <!--
  4.        Licensed to the Apache Software Foundation (ASF) under one or more
  5.   contributor license agreements.  See the NOTICE file distributed with
  6.   this work for additional information regarding copyright ownership.
  7.   The ASF licenses this file to You under the Apache License, Version 2.0
  8.   (the "License"); you may not use this file except in compliance with
  9.   the License.  You may obtain a copy of the License at
  10.       http://www.apache.org/licenses/LICENSE-2.0
  11.   Unless required by applicable law or agreed to in writing, software
  12.   distributed under the License is distributed on an "AS IS" BASIS,
  13.   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  14.   See the License for the specific language governing permissions and
  15.   limitations under the License.
  16. -->
  17.  
  18. <configuration>
  19.  
  20. <property>
  21.   <name>hive.in.test</name>
  22.   <value>true</value>
  23.   <description>Internal marker for test. Used for masking env-dependent values</description>
  24. </property>
  25.  
  26. <!-- Hive Configuration can either be stored in this file or in the hadoop configuration files  -->
  27. <!-- that are implied by Hadoop setup variables.                                                -->
  28. <!-- Aside from Hadoop setup variables - this file is provided as a convenience so that Hive    -->
  29. <!-- users do not have to edit hadoop configuration files (that may be managed as a centralized -->
  30. <!-- resource).                                                                                 -->
  31.  
  32. <!-- Hive Execution Parameters -->
  33. <property>
  34.   <name>hadoop.tmp.dir</name>
  35.   <value>${test.tmp.dir}/hadoop-tmp</value>
  36.   <description>A base for other temporary directories.</description>
  37. </property>
  38.  
  39. <!--
  40.     <property>
  41.  <name>hive.exec.reducers.max</name>
  42.  <value>1</value>
  43.  <description>maximum number of reducers</description>
  44. </property>
  45. -->
  46.  
  47. <property>
  48.   <name>hive.exec.scratchdir</name>
  49.   <value>${test.tmp.dir}/scratchdir</value>
  50.   <description>Scratch space for Hive jobs</description>
  51. </property>
  52.  
  53. <property>
  54.   <name>hive.exec.local.scratchdir</name>
  55.   <value>${test.tmp.dir}/localscratchdir/</value>
  56.   <description>Local scratch space for Hive jobs</description>
  57. </property>
  58.  
  59. <property>
  60.   <name>datanucleus.schema.autoCreateAll</name>
  61.   <value>true</value>
  62. </property>
  63.  
  64. <property>
  65.   <name>hive.metastore.schema.verification</name>
  66.   <value>false</value>
  67. </property>
  68.  
  69. <property>
  70.   <name>javax.jdo.option.ConnectionURL</name>
  71.   <value>jdbc:postgresql://localhost:5432/metastore?createDatabaseIfNotExist=true</value>
  72. </property>
  73.  
  74. <property>
  75.   <name>javax.jdo.option.ConnectionDriverName</name>
  76.   <value>org.postgresql.Driver</value>
  77. </property>
  78.  
  79. <property>
  80.   <name>javax.jdo.option.ConnectionUserName</name>
  81.   <value>hiveuser</value>
  82. </property>
  83.  
  84. <property>
  85.   <name>javax.jdo.option.ConnectionPassword</name>
  86.   <value>mypassword</value>
  87. </property>
  88.  
  89. <property>
  90.   <name>datanucleus.autoCreateSchema</name>
  91.   <value>false</value>
  92. </property>
  93.  
  94. <property>
  95.   <name>hive.metastore.uris</name>
  96.   <value>thrift://<n.n.n.n>:9083</value>
  97.   <description>IP address (or fully-qualified domain name) and port of the metastore host</description>
  98. </property>
  99.  
  100. <property>
  101.   <name>hive.metastore.schema.verification</name>
  102.   <value>true</value>
  103. </property>
  104.  
  105. <property>
  106.   <!--  this should eventually be deprecated since the metastore should supply this -->
  107.   <name>hive.metastore.warehouse.dir</name>
  108.   <value>${test.warehouse.dir}</value>
  109.   <description></description>
  110. </property>
  111.  
  112. <property>
  113.   <name>hive.metastore.metadb.dir</name>
  114.   <value>file://${test.tmp.dir}/metadb/</value>
  115.   <description>
  116.   Required by metastore server or if the uris argument below is not supplied
  117.   </description>
  118. </property>
  119.  
  120. <property>
  121.   <name>test.log.dir</name>
  122.   <value>${test.tmp.dir}/log/</value>
  123.   <description></description>
  124. </property>
  125.  
  126. <property>
  127.   <name>test.data.files</name>
  128.   <value>${hive.root}/data/files</value>
  129.   <description></description>
  130. </property>
  131.  
  132. <property>
  133.   <name>test.data.scripts</name>
  134.   <value>${hive.root}/data/scripts</value>
  135.   <description></description>
  136. </property>
  137.  
  138. <property>
  139.   <name>hive.jar.path</name>
  140.   <value>${maven.local.repository}/org/apache/hive/hive-exec/${hive.version}/hive-exec-${hive.version}.jar</value>
  141.   <description></description>
  142. </property>
  143.  
  144. <property>
  145.   <name>hive.metastore.rawstore.impl</name>
  146.   <value>org.apache.hadoop.hive.metastore.ObjectStore</value>
  147.   <description>Name of the class that implements org.apache.hadoop.hive.metastore.rawstore interface. This class is used to store and retrieval of raw metadata objects such as table, database</description>
  148. </property>
  149.  
  150. <property>
  151.   <name>hive.querylog.location</name>
  152.   <value>${test.tmp.dir}/tmp</value>
  153.   <description>Location of the structured hive logs</description>
  154. </property>
  155.  
  156. <property>
  157.   <name>hive.exec.pre.hooks</name>
  158.   <value>org.apache.hadoop.hive.ql.hooks.PreExecutePrinter, org.apache.hadoop.hive.ql.hooks.EnforceReadOnlyTables</value>
  159.   <description>Pre Execute Hook for Tests</description>
  160. </property>
  161.  
  162. <property>
  163.   <name>hive.exec.post.hooks</name>
  164.   <value>org.apache.hadoop.hive.ql.hooks.PostExecutePrinter</value>
  165.   <description>Post Execute Hook for Tests</description>
  166. </property>
  167.  
  168. <property>
  169.   <name>hive.support.concurrency</name>
  170.   <value>true</value>
  171.   <description>Whether hive supports concurrency or not. A zookeeper instance must be up and running for the default hive lock manager to support read-write locks.</description>
  172. </property>
  173.  
  174. <property>
  175.   <key>hive.unlock.numretries</key>
  176.   <value>2</value>
  177.   <description>The number of times you want to retry to do one unlock</description>
  178. </property>
  179.  
  180. <property>
  181.   <key>hive.lock.sleep.between.retries</key>
  182.   <value>2</value>
  183.   <description>The sleep time (in seconds) between various retries</description>
  184. </property>
  185.  
  186.  
  187. <property>
  188.   <name>fs.pfile.impl</name>
  189.   <value>org.apache.hadoop.fs.ProxyLocalFileSystem</value>
  190.   <description>A proxy for local file system used for cross file system testing</description>
  191. </property>
  192.  
  193. <property>
  194.   <name>hive.exec.mode.local.auto</name>
  195.   <value>false</value>
  196.   <description>
  197.     Let hive determine whether to run in local mode automatically
  198.     Disabling this for tests so that minimr is not affected
  199.   </description>
  200. </property>
  201.  
  202. <property>
  203.   <name>hive.auto.convert.join</name>
  204.   <value>false</value>
  205.   <description>Whether Hive enable the optimization about converting common join into mapjoin based on the input file size</description>
  206. </property>
  207.  
  208. <property>
  209.   <name>hive.ignore.mapjoin.hint</name>
  210.   <value>false</value>
  211.   <description>Whether Hive ignores the mapjoin hint</description>
  212. </property>
  213.  
  214. <property>
  215.   <name>hive.input.format</name>
  216.   <value>org.apache.hadoop.hive.ql.io.CombineHiveInputFormat</value>
  217.   <description>The default input format, if it is not specified, the system assigns it. It is set to HiveInputFormat for hadoop versions 17, 18 and 19, whereas it is set to CombineHiveInputFormat for hadoop 20. The user can always overwrite it - if there is a bug in CombineHiveInputFormat, it can always be manually set to HiveInputFormat. </description>
  218. </property>
  219.  
  220. <property>
  221.   <name>hive.default.rcfile.serde</name>
  222.   <value>org.apache.hadoop.hive.serde2.columnar.ColumnarSerDe</value>
  223.   <description>The default SerDe hive will use for the rcfile format</description>
  224. </property>
  225.  
  226. <property>
  227.   <name>hive.stats.key.prefix.reserve.length</name>
  228.   <value>0</value>
  229. </property>
  230.  
  231. <property>
  232.   <name>hive.conf.restricted.list</name>
  233.   <value>dummy.config.value</value>
  234.   <description>Using dummy config value above because you cannot override config with empty value</description>
  235. </property>
  236.  
  237. <property>
  238.   <name>hive.exec.submit.local.task.via.child</name>
  239.   <value>false</value>
  240. </property>
  241.  
  242.  
  243. <property>
  244.   <name>hive.dummyparam.test.server.specific.config.override</name>
  245.   <value>from.hive-site.xml</value>
  246.   <description>Using dummy param to test server specific configuration</description>
  247. </property>
  248.  
  249. <property>
  250.   <name>hive.dummyparam.test.server.specific.config.hivesite</name>
  251.   <value>hive-site.xml</value>
  252.   <description>Using dummy param to test server specific configuration</description>
  253. </property>
  254.  
  255. <property>
  256.   <name>test.var.hiveconf.property</name>
  257.   <value>${hive.exec.default.partition.name}</value>
  258.   <description>Test hiveconf property substitution</description>
  259. </property>
  260.  
  261. <property>
  262.   <name>test.property1</name>
  263.   <value>value1</value>
  264.   <description>Test property defined in hive-site.xml only</description>
  265. </property>
  266.  
  267. <property>
  268.   <name>hive.test.dummystats.aggregator</name>
  269.   <value>value2</value>
  270. </property>
  271.  
  272. <property>
  273.   <name>hive.fetch.task.conversion</name>
  274.   <value>minimal</value>
  275. </property>
  276.  
  277. <property>
  278.   <name>hive.users.in.admin.role</name>
  279.   <value>hive_admin_user</value>
  280. </property>
  281.  
  282. <property>
  283.   <name>hive.security.authorization.manager</name>
  284.   <value>org.apache.hadoop.hive.ql.security.authorization.plugin.sqlstd.SQLStdHiveAuthorizerFactoryForTest</value>
  285.   <description>The Hive client authorization manager class name.</description>
  286. </property>
  287.  
  288. <property>
  289.   <name>hive.llap.io.cache.orc.size</name>
  290.   <value>8388608</value>
  291. </property>
  292.  
  293. <property>
  294.   <name>hive.llap.io.cache.orc.arena.size</name>
  295.   <value>8388608</value>
  296. </property>
  297.  
  298. <property>
  299.   <name>hive.llap.io.cache.orc.alloc.max</name>
  300.   <value>2097152</value>
  301. </property>
  302.  
  303.  
  304. <property>
  305.   <name>hive.llap.io.cache.orc.alloc.min</name>
  306.   <value>32768</value>
  307. </property>
  308.  
  309. <property>
  310.   <name>hive.llap.cache.allow.synthetic.fileid</name>
  311.   <value>true</value>
  312. </property>
  313.  
  314. <property>
  315.   <name>hive.llap.io.use.lrfu</name>
  316.   <value>true</value>
  317. </property>
  318.  
  319.  
  320. <property>
  321.   <name>hive.llap.io.allocator.direct</name>
  322.   <value>false</value>
  323. </property>
  324.  
  325.  
  326. </configuration>
Add Comment
Please, Sign In to add comment