github.com/apache/beam/sdks/v2@v2.48.2/java/io/hcatalog/src/test/resources/hive-site.xml (about)

     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  
    11         http://www.apache.org/licenses/LICENSE-2.0
    12  
    13     Unless required by applicable law or agreed to in writing, software
    14     distributed under the License is distributed on an "AS IS" BASIS,
    15     WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    16     See the License for the specific language governing permissions and
    17     limitations under the License.
    18  -->
    19  <!-- This file is a copy of https://github.com/apache/hive/blob/master/data/conf/hive-site.xml used to support embedded Hive metastore-->
    20  <configuration>
    21  
    22  <property>
    23    <name>hive.in.test</name>
    24    <value>true</value>
    25    <description>Internal marker for test. Used for masking env-dependent values</description>
    26  </property>
    27  
    28  <!-- Properties for test folders -->
    29  <property>
    30    <name>mapreduce.jobtracker.staging.root.dir</name>
    31    <value>${test.tmp.dir}/cli/mapred/staging</value>
    32  </property>
    33  
    34  <!-- Hive Configuration can either be stored in this file or in the hadoop configuration files  -->
    35  <!-- that are implied by Hadoop setup variables.                                                -->
    36  <!-- Aside from Hadoop setup variables - this file is provided as a convenience so that Hive    -->
    37  <!-- users do not have to edit hadoop configuration files (that may be managed as a centralized -->
    38  <!-- resource).                                                                                 -->
    39  
    40  <!-- Hive Execution Parameters -->
    41  <property>
    42    <name>hadoop.tmp.dir</name>
    43    <value>${test.tmp.dir}/hadoop-tmp</value>
    44    <description>A base for other temporary directories.</description>
    45  </property>
    46  
    47  <!--
    48  <property>
    49    <name>hive.exec.reducers.max</name>
    50    <value>1</value>
    51    <description>maximum number of reducers</description>
    52  </property>
    53  -->
    54  
    55  <property>
    56    <name>hive.exec.scratchdir</name>
    57    <value>${test.tmp.dir}/scratchdir</value>
    58    <description>Scratch space for Hive jobs</description>
    59  </property>
    60  
    61  <property>
    62    <name>hive.exec.local.scratchdir</name>
    63    <value>${test.tmp.dir}/localscratchdir/</value>
    64    <description>Local scratch space for Hive jobs</description>
    65  </property>
    66  
    67  <property>
    68    <name>datanucleus.schema.autoCreateAll</name>
    69    <value>true</value>
    70  </property>
    71  
    72  <property>
    73    <name>hive.metastore.schema.verification</name>
    74    <value>false</value>
    75  </property>
    76  
    77  <property>
    78    <name>javax.jdo.option.ConnectionURL</name>
    79    <value>jdbc:derby:memory:${test.tmp.dir}/junit_metastore_db;create=true</value>
    80  </property>
    81  
    82  <property>
    83    <name>javax.jdo.option.ConnectionDriverName</name>
    84    <value>org.apache.derby.jdbc.EmbeddedDriver</value>
    85  </property>
    86  
    87  <property>
    88    <name>javax.jdo.option.ConnectionUserName</name>
    89    <value>APP</value>
    90  </property>
    91  
    92  <property>
    93    <name>javax.jdo.option.ConnectionPassword</name>
    94    <value>mine</value>
    95  </property>
    96  
    97  <property>
    98    <!--  this should eventually be deprecated since the metastore should supply this -->
    99    <name>hive.metastore.warehouse.dir</name>
   100    <value>${test.warehouse.dir}</value>
   101    <description></description>
   102  </property>
   103  
   104  <property>
   105    <name>hive.metastore.metadb.dir</name>
   106    <value>file://${test.tmp.dir}/metadb/</value>
   107    <description>
   108    Required by metastore server or if the uris argument below is not supplied
   109    </description>
   110  </property>
   111  
   112  <property>
   113    <name>test.log.dir</name>
   114    <value>${test.tmp.dir}/log/</value>
   115    <description></description>
   116  </property>
   117  
   118  <property>
   119    <name>test.data.files</name>
   120    <value>${hive.root}/data/files</value>
   121    <description></description>
   122  </property>
   123  
   124  <property>
   125    <name>test.data.scripts</name>
   126    <value>${hive.root}/data/scripts</value>
   127    <description></description>
   128  </property>
   129  
   130  <property>
   131    <name>hive.jar.path</name>
   132    <value>${maven.local.repository}/org/apache/hive/hive-exec/${hive.version}/hive-exec-${hive.version}.jar</value>
   133    <description></description>
   134  </property>
   135  
   136  <property>
   137    <name>hive.metastore.rawstore.impl</name>
   138    <value>org.apache.hadoop.hive.metastore.ObjectStore</value>
   139    <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>
   140  </property>
   141  
   142  <property>
   143    <name>hive.querylog.location</name>
   144    <value>${test.tmp.dir}/tmp</value>
   145    <description>Location of the structured hive logs</description>
   146  </property>
   147  
   148  <property>
   149    <name>hive.exec.pre.hooks</name>
   150    <value>org.apache.hadoop.hive.ql.hooks.PreExecutePrinter, org.apache.hadoop.hive.ql.hooks.EnforceReadOnlyTables, org.apache.hadoop.hive.ql.hooks.MaterializedViewRegistryPropertiesHook</value>
   151    <description>Pre Execute Hook for Tests</description>
   152  </property>
   153  
   154  <property>
   155    <name>hive.exec.post.hooks</name>
   156    <value>org.apache.hadoop.hive.ql.hooks.PostExecutePrinter</value>
   157    <description>Post Execute Hook for Tests</description>
   158  </property>
   159  
   160  <property>
   161    <name>hive.support.concurrency</name>
   162    <value>true</value>
   163    <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>
   164  </property>
   165  
   166  <property>
   167    <key>hive.unlock.numretries</key>
   168    <value>2</value>
   169    <description>The number of times you want to retry to do one unlock</description>
   170  </property>
   171  
   172  <property>
   173    <key>hive.lock.sleep.between.retries</key>
   174    <value>2</value>
   175    <description>The sleep time (in seconds) between various retries</description>
   176  </property>
   177  
   178  
   179  <property>
   180    <name>fs.pfile.impl</name>
   181    <value>org.apache.hadoop.fs.ProxyLocalFileSystem</value>
   182    <description>A proxy for local file system used for cross file system testing</description>
   183  </property>
   184  
   185  <property>
   186    <name>hive.exec.mode.local.auto</name>
   187    <value>false</value>
   188    <description>
   189      Let hive determine whether to run in local mode automatically
   190      Disabling this for tests so that minimr is not affected
   191    </description>
   192  </property>
   193  
   194  <property>
   195    <name>hive.auto.convert.join</name>
   196    <value>false</value>
   197    <description>Whether Hive enable the optimization about converting common join into mapjoin based on the input file size</description>
   198  </property>
   199  
   200  <property>
   201    <name>hive.ignore.mapjoin.hint</name>
   202    <value>false</value>
   203    <description>Whether Hive ignores the mapjoin hint</description>
   204  </property>
   205  
   206  <property>
   207    <name>hive.input.format</name>
   208    <value>org.apache.hadoop.hive.ql.io.CombineHiveInputFormat</value>
   209    <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>
   210  </property>
   211  
   212  <property>
   213    <name>hive.default.rcfile.serde</name>
   214    <value>org.apache.hadoop.hive.serde2.columnar.ColumnarSerDe</value>
   215    <description>The default SerDe hive will use for the rcfile format</description>
   216  </property>
   217  
   218  <property>
   219    <name>hive.stats.key.prefix.reserve.length</name>
   220    <value>0</value>
   221  </property>
   222  
   223  <property>
   224    <name>hive.conf.restricted.list</name>
   225    <value>dummy.config.value</value>
   226    <description>Using dummy config value above because you cannot override config with empty value</description>
   227  </property>
   228  
   229  <property>
   230    <name>hive.exec.submit.local.task.via.child</name>
   231    <value>false</value>
   232  </property>
   233  
   234  
   235  <property>
   236    <name>hive.dummyparam.test.server.specific.config.override</name>
   237    <value>from.hive-site.xml</value>
   238    <description>Using dummy param to test server specific configuration</description>
   239  </property>
   240  
   241  <property>
   242    <name>hive.dummyparam.test.server.specific.config.hivesite</name>
   243    <value>from.hive-site.xml</value>
   244    <description>Using dummy param to test server specific configuration</description>
   245  </property>
   246  
   247  <property>
   248    <name>test.var.hiveconf.property</name>
   249    <value>${hive.exec.default.partition.name}</value>
   250    <description>Test hiveconf property substitution</description>
   251  </property>
   252  
   253  <property>
   254    <name>test.property1</name>
   255    <value>value1</value>
   256    <description>Test property defined in hive-site.xml only</description>
   257  </property>
   258  
   259  <property>
   260    <name>hive.test.dummystats.aggregator</name>
   261    <value>value2</value>
   262  </property>
   263  
   264  <property>
   265    <name>hive.fetch.task.conversion</name>
   266    <value>minimal</value>
   267  </property>
   268  
   269  <property>
   270    <name>hive.users.in.admin.role</name>
   271    <value>hive_admin_user</value>
   272  </property>
   273  
   274  <property>
   275    <name>hive.security.authorization.manager</name>
   276    <value>org.apache.hadoop.hive.ql.security.authorization.plugin.sqlstd.SQLStdHiveAuthorizerFactoryForTest</value>
   277    <description>The Hive client authorization manager class name.</description>
   278  </property>
   279  
   280  <property>
   281    <name>hive.llap.io.cache.orc.size</name>
   282    <value>8388608</value>
   283  </property>
   284  
   285  <property>
   286    <name>hive.llap.io.cache.orc.arena.size</name>
   287    <value>8388608</value>
   288  </property>
   289  
   290  <property>
   291    <name>hive.llap.io.cache.orc.alloc.max</name>
   292    <value>2097152</value>
   293  </property>
   294  
   295  
   296  <property>
   297    <name>hive.llap.io.cache.orc.alloc.min</name>
   298    <value>32768</value>
   299  </property>
   300  
   301  <property>
   302    <name>hive.llap.cache.allow.synthetic.fileid</name>
   303    <value>true</value>
   304  </property>
   305  
   306  <property>
   307    <name>hive.llap.io.use.lrfu</name>
   308    <value>true</value>
   309  </property>
   310  
   311  <property>
   312    <name>hive.llap.io.allocator.direct</name>
   313    <value>false</value>
   314  </property>
   315  
   316  <property>
   317    <name>hive.stats.column.autogather</name>
   318    <value>true</value>
   319  </property>
   320  
   321  <property>
   322    <name>hive.materializedview.rewriting</name>
   323    <value>true</value>
   324  </property>
   325  
   326  <property>
   327    <name>hive.stats.fetch.bitvector</name>
   328    <value>true</value>
   329  </property>
   330  
   331  
   332  <property>
   333    <name>yarn.nodemanager.disk-health-checker.max-disk-utilization-per-disk-percentage</name>
   334    <value>99</value>
   335  </property>
   336  
   337  <property>
   338    <name>hive.query.results.cache.enabled</name>
   339    <value>false</value>
   340  </property>
   341  
   342  
   343  </configuration>