怎样做网站优化 知乎,wordpress管理邮件,天津网站建设方案维护,如何制作单页网站目录 系统版本说明
hive安装包下载及解压
上传mysql-connector-java的jar包
配置环境变量
进入conf配置文件中#xff0c;将文件重命名
在hadoop集群上创建文件夹 创建本地目录
修改hive-site.xml文件
同步到其他的节点服务器
修改node02中的配置 hive-site.xml
修改…
目录 系统版本说明
hive安装包下载及解压
上传mysql-connector-java的jar包
配置环境变量
进入conf配置文件中将文件重命名
在hadoop集群上创建文件夹 创建本地目录
修改hive-site.xml文件
同步到其他的节点服务器
修改node02中的配置 hive-site.xml
修改node03节点中的配置文件 修改hive-env.xml文件
同步此文件到其他 的服务器
初始化hive
进入hive 启动hiveserver2
Metastore 高可用 系统版本说明 软件 版本Linux centos3.10.0-1160.71.1.el7.x86_64 hadoop 2.6.0-cdh5.14.2 JDK 1.8.0_202 MYSQL 5.7.44
hive安装包下载及解压
本次项目安装的hive版本为apache-hive-2.2.0-bin.tar.gz
hadoop集群节点的说明 解压安装包的命令
tar -zxvf apache-hive-2.2.0-bin.tar.gz
上传mysql-connector-java的jar包
上传路径/opt/module/hive/apache-hive-2.2.0-bin/lib 本项目使用jar包版本为如图所示的版本。
配置环境变量
Linux脚本命令
vi /etc/profile 或 vim /etc/profile
增加hive的路径这个每个项目存放的位置不同那么路径也不一样。 增加的内容
export HIVE_HOME/opt/module/hive/apache-hive-2.2.0-bin
export PATH$PATH:$HIVE_HOME/bin
更新环境变量使七生效
source /etc/profile
进入conf配置文件中将文件重命名 mv hive-env.sh.template hive-env.sh mv hive-default.xml.template hive-default.xml mv hive-log4j2.properties.template hive-log4j2.properties mv hive-exec-log4j2.properties.template hive-exec-log4j2.properties cp hive-default.xml hive-site.xml 在hadoop集群上创建文件夹 hdfs dfs -mkdir -p /user/hive/warehouse hdfs dfs -mkdir -p /user/hive/tmp hdfs dfs -mkdir -p /user/hive/log hdfs dfs -chmod -R 777 /user 创建本地目录 mkdir -p /opt/module/hive/apache-hive-2.2.0-bin/tmp
chmod -R 777 /opt/module/hive/apache-hive-2.2.0-bin/tmp
修改hive-site.xml文件
vim hive-site.xml 或用上传工具下载到本地进行更改
这里我们选择下载到本地进行修改较为方便然后修改完毕后上传覆盖即可
修改hive.exec.scratchdir一项
property
namehive.exec.scratchdir/name
value/user/hive/tmp/value
descriptionHDFS root scratch dir for Hive jobs which gets created with write all (733) permission. For each connecting user, an HDFS scratch dir: ${hive.exec.scratchdir}/lt;usernamegt; is created, with ${hive.scratch.dir.permission}./description
/property 修改 hive.metastore.warehouse.dir
property
namehive.metastore.warehouse.dir/name
value/user/hive/warehouse/value
descriptionlocation of default database for the warehouse/description
/property 修改hive.querylog.location
property
namehive.querylog.location/name
value/user/hive/log/value
descriptionLocation of Hive run time structured log file/description
/property 修改javax.jdo.option.ConnectionURL
property
namejavax.jdo.option.ConnectionURL/name
valuejdbc:mysql://localhost:3306/hive?createDatabaseIfNotExisttrueamp;characterEncodingUTF-8amp;useSSLfalse/value
description
JDBC connect string for a JDBC metastore.
To use SSL to encrypt/authenticate the connection, provide database-specific SSL flag in the connection URL.
For example, jdbc:postgresql://myhost/db?ssltrue for postgres database.
/description
/property 修改javax.jdo.option.ConnectionDriverName
property
namejavax.jdo.option.ConnectionDriverName/name
valuecom.mysql.jdbc.Driver/value
descriptionDriver class name for a JDBC metastore/description
/property 修改javax.jdo.option.ConnectionUserName
property
namejavax.jdo.option.ConnectionUserName/name
valueroot/value
descriptionUsername to use against metastore database/description
/property 修改javax.jdo.option.ConnectionPassword
property
namejavax.jdo.option.ConnectionPassword/name
valueroot/value
descriptionpassword to use against metastore database/description
/property 修改hive.exec.local.scratchdir 将文件中的${system:java.io.tmpdir}替换为 /home/hadoop/hive-2.3.9/tmp 对应自己创建的tmp目录位置
{system:user.name} 改成 {user.name}
property
namehive.exec.local.scratchdir/name
value/home/hadoop/hive-2.3.9/tmp/${user.name}/value
descriptionLocal scratch space for Hive jobs/description
/property 修改hive.downloaded.resources.dir
property
namehive.downloaded.resources.dir/name
value/home/hadoop/hive-2.3.9/tmp/${hive.session.id}_resources/value
descriptionTemporary local directory for added resources in the remote file system./description
/property 修改hive.server2.logging.operation.log.location
property
namehive.server2.logging.operation.log.location/name
value/home/hadoop/hive-2.3.9/tmp/${user.name}/operation_logs/value
descriptionTop level directory where operation logs are stored if logging functionality is enabled/description
/property 高可用的配置还需要修改如下的内容
propertynamehive.server2.support.dynamic.service.discovery/namevaluetrue/value/propertypropertynamehive.server2.zookeeper.namespace/namevaluehiveserver2_zk/value/propertypropertynamehive.zookeeper.quorum/namevaluenode01,node02,node03/value/propertypropertynamehive.zookeeper.client.port/namevalue2181/value/propertyproperty修改完毕之后用上传工具将文件上传至原文件夹中覆盖即可.
同步到其他的节点服务器
cd /opt/module/hive/apache-hive-2.2.0-bin/conf
xsync hive-site.xml
修改node02中的配置 hive-site.xml
修改如下内容
propertynamehive.server2.thrift.bind.host/namevaluenode02/value/property
修改node03节点中的配置文件
propertynamehive.server2.thrift.bind.host/namevaluenode03/value/property 修改hive-env.xml文件
添加如下
export HADOOP_HOME/kkb/install/hadoop-2.6.0-cdh5.14.2
export PATH$PATH:$HADOOP_HOME/bin:$HADOOP_HOME/sbin
同步此文件到其他 的服务器
cd /opt/module/hive/apache-hive-2.2.0-bin/confxsync hive-env.xml
初始化hive
cd /opt/module/hive/apache-hive-2.2.0-bin/libschematool -dbType mysql -initSchema 我们这里出现了jar包重复进入到hive文件夹里的lib根据提示删除log4j-slf4j-impl-2.6.2.jar即可可用上传工具直接删除然后进入到mysql中删除hive表之后退出exit再重新进行初始化hive 即可 出现下图即可 进入hive
直接输入hive即可 查看数据库
show databases 查看表
show tables 退出hive
exit; 启动hiveserver2
### 启动hive 服务
xcall /opt/module/hive/apache-hive-2.2.0-bin/bin/hive --service hiveserver2
Metastore 高可用
同时也需要更修改三个节点的hive-site.xml文件 propertynamehive.metastore.uris/namevaluethrift://node01:9083,thrift://node02:9083,thrift://node03:9083value//property
修改完以上内容再重启hive。全部部署完成了。
?xml version1.0 encodingUTF-8 standaloneno?
?xml-stylesheet typetext/xsl hrefconfiguration.xsl?!--Licensed to the Apache Software Foundation (ASF) under one or morecontributor license agreements. See the NOTICE file distributed withthis work for additional information regarding copyright ownership.The ASF licenses this file to You under the Apache License, Version 2.0(the License); you may not use this file except in compliance withthe License. You may obtain a copy of the License athttp://www.apache.org/licenses/LICENSE-2.0Unless required by applicable law or agreed to in writing, softwaredistributed under the License is distributed on an AS IS BASIS,WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.See the License for the specific language governing permissions andlimitations under the License.
--configuration!-- WARNING!!! This file is auto generated for documentation purposes ONLY! --!-- WARNING!!! Any changes you make to this file will be ignored by Hive. --!-- WARNING!!! You must make your changes in hive-site.xml instead. --!-- Hive Execution Parameters --propertynamehive.exec.script.wrapper/namevalue/description//propertypropertynamehive.exec.plan/namevalue/description//propertypropertynamehive.exec.stagingdir/namevalue.hive-staging/valuedescriptionDirectory name that will be created inside table locations in order to support HDFS encryption. This is replaces ${hive.exec.scratchdir} for query results with the exception of read-only tables. In all cases ${hive.exec.scratchdir} is still used for other temporary files, such as job plans./description/propertypropertynamehive.exec.scratchdir/namevalue/user/hive/tmp/valuedescriptionHDFS root scratch dir for Hive jobs which gets created with write all (733) permission. For each connecting user, an HDFS scratch dir: ${hive.exec.scratchdir}/lt;usernamegt; is created, with ${hive.scratch.dir.permission}./description/propertypropertynamehive.repl.rootdir/namevalue/user/hive/repl//valuedescriptionHDFS root dir for all replication dumps./description/propertypropertynamehive.repl.cm.enabled/namevaluefalse/valuedescriptionTurn on ChangeManager, so delete files will go to cmrootdir./description/propertypropertynamehive.repl.cmrootdir/namevalue/user/hive/cmroot//valuedescriptionRoot dir for ChangeManager, used for deleted files./description/propertypropertynamehive.repl.cm.retain/namevalue24h/valuedescriptionExpects a time value with unit (d/day, h/hour, m/min, s/sec, ms/msec, us/usec, ns/nsec), which is hour if not specified.Time to retain removed files in cmrootdir./description/propertypropertynamehive.repl.cm.interval/namevalue3600s/valuedescriptionExpects a time value with unit (d/day, h/hour, m/min, s/sec, ms/msec, us/usec, ns/nsec), which is sec if not specified.Inteval for cmroot cleanup thread./description/propertypropertynamehive.exec.local.scratchdir/namevalue/opt/module/hive/apache-hive-2.2.0-bin/tmp/${user.name}/valuedescriptionLocal scratch space for Hive jobs/description/propertypropertynamehive.downloaded.resources.dir/namevalue/opt/module/hive/apache-hive-2.2.0-bin/tmp/${hive.session.id}_resources/valuedescriptionTemporary local directory for added resources in the remote file system./description/propertypropertynamehive.scratch.dir.permission/namevalue700/valuedescriptionThe permission for the user specific scratch directories that get created./description/propertypropertynamehive.exec.submitviachild/namevaluefalse/valuedescription//propertypropertynamehive.exec.submit.local.task.via.child/namevaluetrue/valuedescriptionDetermines whether local tasks (typically mapjoin hashtable generation phase) runs in separate JVM (true recommended) or not. Avoids the overhead of spawning new JVM, but can lead to out-of-memory issues./description/propertypropertynamehive.exec.script.maxerrsize/namevalue100000/valuedescriptionMaximum number of bytes a script is allowed to emit to standard error (per map-reduce task). This prevents runaway scripts from filling logs partitions to capacity/description/propertypropertynamehive.exec.script.allow.partial.consumption/namevaluefalse/valuedescriptionWhen enabled, this option allows a user script to exit successfully without consuming all the data from the standard input./description/propertypropertynamestream.stderr.reporter.prefix/namevaluereporter:/valuedescriptionStreaming jobs that log to standard error with this prefix can log counter or status information./description/propertypropertynamestream.stderr.reporter.enabled/namevaluetrue/valuedescriptionEnable consumption of status and counter messages for streaming jobs./description/propertypropertynamehive.exec.compress.output/namevaluefalse/valuedescriptionThis controls whether the final outputs of a query (to a local/HDFS file or a Hive table) is compressed. The compression codec and other options are determined from Hadoop config variables mapred.output.compress*/description/propertypropertynamehive.exec.compress.intermediate/namevaluefalse/valuedescriptionThis controls whether intermediate files produced by Hive between multiple map-reduce jobs are compressed. The compression codec and other options are determined from Hadoop config variables mapred.output.compress*/description/propertypropertynamehive.intermediate.compression.codec/namevalue/description//propertypropertynamehive.intermediate.compression.type/namevalue/description//propertypropertynamehive.exec.reducers.bytes.per.reducer/namevalue256000000/valuedescriptionsize per reducer.The default is 256Mb, i.e if the input size is 1G, it will use 4 reducers./description/propertypropertynamehive.exec.reducers.max/namevalue1009/valuedescriptionmax number of reducers will be used. If the one specified in the configuration parameter mapred.reduce.tasks isnegative, Hive will use this one as the max number of reducers when automatically determine number of reducers./description/propertypropertynamehive.exec.pre.hooks/namevalue/descriptionComma-separated list of pre-execution hooks to be invoked for each statement. A pre-execution hook is specified as the name of a Java class which implements the org.apache.hadoop.hive.ql.hooks.ExecuteWithHookContext interface./description/propertypropertynamehive.exec.post.hooks/namevalue/descriptionComma-separated list of post-execution hooks to be invoked for each statement. A post-execution hook is specified as the name of a Java class which implements the org.apache.hadoop.hive.ql.hooks.ExecuteWithHookContext interface./description/propertypropertynamehive.exec.failure.hooks/namevalue/descriptionComma-separated list of on-failure hooks to be invoked for each statement. An on-failure hook is specified as the name of Java class which implements the org.apache.hadoop.hive.ql.hooks.ExecuteWithHookContext interface./description/propertypropertynamehive.exec.query.redactor.hooks/namevalue/descriptionComma-separated list of hooks to be invoked for each query which can tranform the query before its placed in the job.xml file. Must be a Java class which extends from the org.apache.hadoop.hive.ql.hooks.Redactor abstract class./description/propertypropertynamehive.client.stats.publishers/namevalue/descriptionComma-separated list of statistics publishers to be invoked on counters on each job. A client stats publisher is specified as the name of a Java class which implements the org.apache.hadoop.hive.ql.stats.ClientStatsPublisher interface./description/propertypropertynamehive.ats.hook.queue.capacity/namevalue64/valuedescriptionQueue size for the ATS Hook executor. If the number of outstanding submissions to the ATS executor exceed this amount, the Hive ATS Hook will not try to log queries to ATS./description/propertypropertynamehive.exec.parallel/namevaluefalse/valuedescriptionWhether to execute jobs in parallel/description/propertypropertynamehive.exec.parallel.thread.number/namevalue8/valuedescriptionHow many jobs at most can be executed in parallel/description/propertypropertynamehive.mapred.reduce.tasks.speculative.execution/namevaluetrue/valuedescriptionWhether speculative execution for reducers should be turned on. /description/propertypropertynamehive.exec.counters.pull.interval/namevalue1000/valuedescriptionThe interval with which to poll the JobTracker for the counters the running job. The smaller it is the more load there will be on the jobtracker, the higher it is the less granular the caught will be./description/propertypropertynamehive.exec.dynamic.partition/namevaluetrue/valuedescriptionWhether or not to allow dynamic partitions in DML/DDL./description/propertypropertynamehive.exec.dynamic.partition.mode/namevaluestrict/valuedescriptionIn strict mode, the user must specify at least one static partitionin case the user accidentally overwrites all partitions.In nonstrict mode all partitions are allowed to be dynamic./description/propertypropertynamehive.exec.max.dynamic.partitions/namevalue1000/valuedescriptionMaximum number of dynamic partitions allowed to be created in total./description/propertypropertynamehive.exec.max.dynamic.partitions.pernode/namevalue100/valuedescriptionMaximum number of dynamic partitions allowed to be created in each mapper/reducer node./description/propertypropertynamehive.exec.max.created.files/namevalue100000/valuedescriptionMaximum number of HDFS files created by all mappers/reducers in a MapReduce job./description/propertypropertynamehive.exec.default.partition.name/namevalue__HIVE_DEFAULT_PARTITION__/valuedescriptionThe default partition name in case the dynamic partition column value is null/empty string or any other values that cannot be escaped. This value must not contain any special character used in HDFS URI (e.g., :, %, / etc). The user has to be aware that the dynamic partition value should not contain this value to avoid confusions./description/propertypropertynamehive.lockmgr.zookeeper.default.partition.name/namevalue__HIVE_DEFAULT_ZOOKEEPER_PARTITION__/valuedescription//propertypropertynamehive.exec.show.job.failure.debug.info/namevaluetrue/valuedescriptionIf a job fails, whether to provide a link in the CLI to the task with themost failures, along with debugging hints if applicable./description/propertypropertynamehive.exec.job.debug.capture.stacktraces/namevaluetrue/valuedescriptionWhether or not stack traces parsed from the task logs of a sampled failed task for each failed job should be stored in the SessionState/description/propertypropertynamehive.exec.job.debug.timeout/namevalue30000/valuedescription//propertypropertynamehive.exec.tasklog.debug.timeout/namevalue20000/valuedescription//propertypropertynamehive.output.file.extension/namevalue/descriptionString used as a file extension for output files. If not set, defaults to the codec extension for text files (e.g. .gz), or no extension otherwise./description/propertypropertynamehive.exec.mode.local.auto/namevaluefalse/valuedescriptionLet Hive determine whether to run in local mode automatically/description/propertypropertynamehive.exec.mode.local.auto.inputbytes.max/namevalue134217728/valuedescriptionWhen hive.exec.mode.local.auto is true, input bytes should less than this for local mode./description/propertypropertynamehive.exec.mode.local.auto.input.files.max/namevalue4/valuedescriptionWhen hive.exec.mode.local.auto is true, the number of tasks should less than this for local mode./description/propertypropertynamehive.exec.drop.ignorenonexistent/namevaluetrue/valuedescriptionDo not report an error if DROP TABLE/VIEW/Index/Function specifies a non-existent table/view/index/function/description/propertypropertynamehive.ignore.mapjoin.hint/namevaluetrue/valuedescriptionIgnore the mapjoin hint/description/propertypropertynamehive.file.max.footer/namevalue100/valuedescriptionmaximum number of lines for footer user can define for a table file/description/propertypropertynamehive.resultset.use.unique.column.names/namevaluetrue/valuedescriptionMake column names unique in the result set by qualifying column names with table alias if needed.Table alias will be added to column names for queries of type select * or if query explicitly uses table alias select r1.x.../description/propertypropertynamefs.har.impl/namevalueorg.apache.hadoop.hive.shims.HiveHarFileSystem/valuedescriptionThe implementation for accessing Hadoop Archives. Note that this wont be applicable to Hadoop versions less than 0.20/description/propertypropertynamehive.metastore.warehouse.dir/namevalue/user/hive/warehouse/valuedescriptionlocation of default database for the warehouse/description/propertypropertynamehive.metastore.uris/namevalue/descriptionThrift URI for the remote metastore. Used by metastore client to connect to remote metastore./description/propertypropertynamehive.metastore.fastpath/namevaluefalse/valuedescriptionUsed to avoid all of the proxies and object copies in the metastore. Note, if this is set, you MUST use a local metastore (hive.metastore.uris must be empty) otherwise undefined and most likely undesired behavior will result/description/propertypropertynamehive.metastore.fshandler.threads/namevalue15/valuedescriptionNumber of threads to be allocated for metastore handler for fs operations./description/propertypropertynamehive.metastore.hbase.catalog.cache.size/namevalue50000/valuedescriptionMaximum number of objects we will place in the hbase metastore catalog cache. The objects will be divided up by types that we need to cache./description/propertypropertynamehive.metastore.hbase.aggregate.stats.cache.size/namevalue10000/valuedescriptionMaximum number of aggregate stats nodes that we will place in the hbase metastore aggregate stats cache./description/propertypropertynamehive.metastore.hbase.aggregate.stats.max.partitions/namevalue10000/valuedescriptionMaximum number of partitions that are aggregated per cache node./description/propertypropertynamehive.metastore.hbase.aggregate.stats.false.positive.probability/namevalue0.01/valuedescriptionMaximum false positive probability for the Bloom Filter used in each aggregate stats cache node (default 1%)./description/propertypropertynamehive.metastore.hbase.aggregate.stats.max.variance/namevalue0.1/valuedescriptionMaximum tolerable variance in number of partitions between a cached node and our request (default 10%)./description/propertypropertynamehive.metastore.hbase.cache.ttl/namevalue600s/valuedescriptionExpects a time value with unit (d/day, h/hour, m/min, s/sec, ms/msec, us/usec, ns/nsec), which is sec if not specified.Number of seconds for a cached node to be active in the cache before they become stale./description/propertypropertynamehive.metastore.hbase.cache.max.writer.wait/namevalue5000ms/valuedescriptionExpects a time value with unit (d/day, h/hour, m/min, s/sec, ms/msec, us/usec, ns/nsec), which is msec if not specified.Number of milliseconds a writer will wait to acquire the writelock before giving up./description/propertypropertynamehive.metastore.hbase.cache.max.reader.wait/namevalue1000ms/valuedescriptionExpects a time value with unit (d/day, h/hour, m/min, s/sec, ms/msec, us/usec, ns/nsec), which is msec if not specified.Number of milliseconds a reader will wait to acquire the readlock before giving up./description/propertypropertynamehive.metastore.hbase.cache.max.full/namevalue0.9/valuedescriptionMaximum cache full % after which the cache cleaner thread kicks in./description/propertypropertynamehive.metastore.hbase.cache.clean.until/namevalue0.8/valuedescriptionThe cleaner thread cleans until cache reaches this % full size./description/propertypropertynamehive.metastore.hbase.connection.class/namevalueorg.apache.hadoop.hive.metastore.hbase.VanillaHBaseConnection/valuedescriptionClass used to connection to HBase/description/propertypropertynamehive.metastore.hbase.aggr.stats.cache.entries/namevalue10000/valuedescriptionHow many in stats objects to cache in memory/description/propertypropertynamehive.metastore.hbase.aggr.stats.memory.ttl/namevalue60s/valuedescriptionExpects a time value with unit (d/day, h/hour, m/min, s/sec, ms/msec, us/usec, ns/nsec), which is sec if not specified.Number of seconds stats objects live in memory after they are read from HBase./description/propertypropertynamehive.metastore.hbase.aggr.stats.invalidator.frequency/namevalue5s/valuedescriptionExpects a time value with unit (d/day, h/hour, m/min, s/sec, ms/msec, us/usec, ns/nsec), which is sec if not specified.How often the stats cache scans its HBase entries and looks for expired entries/description/propertypropertynamehive.metastore.hbase.aggr.stats.hbase.ttl/namevalue604800s/valuedescriptionExpects a time value with unit (d/day, h/hour, m/min, s/sec, ms/msec, us/usec, ns/nsec), which is sec if not specified.Number of seconds stats entries live in HBase cache after they are created. They may be invalided by updates or partition drops before this. Default is one week./description/propertypropertynamehive.metastore.hbase.file.metadata.threads/namevalue1/valuedescriptionNumber of threads to use to read file metadata in background to cache it./description/propertypropertynamehive.metastore.connect.retries/namevalue3/valuedescriptionNumber of retries while opening a connection to metastore/description/propertypropertynamehive.metastore.failure.retries/namevalue1/valuedescriptionNumber of retries upon failure of Thrift metastore calls/description/propertypropertynamehive.metastore.port/namevalue9083/valuedescriptionHive metastore listener port/description/propertypropertynamehive.metastore.client.connect.retry.delay/namevalue1s/valuedescriptionExpects a time value with unit (d/day, h/hour, m/min, s/sec, ms/msec, us/usec, ns/nsec), which is sec if not specified.Number of seconds for the client to wait between consecutive connection attempts/description/propertypropertynamehive.metastore.client.socket.timeout/namevalue600s/valuedescriptionExpects a time value with unit (d/day, h/hour, m/min, s/sec, ms/msec, us/usec, ns/nsec), which is sec if not specified.MetaStore Client socket timeout in seconds/description/propertypropertynamehive.metastore.client.socket.lifetime/namevalue0s/valuedescriptionExpects a time value with unit (d/day, h/hour, m/min, s/sec, ms/msec, us/usec, ns/nsec), which is sec if not specified.MetaStore Client socket lifetime in seconds. After this time is exceeded, clientreconnects on the next MetaStore operation. A value of 0s means the connectionhas an infinite lifetime./description/propertypropertynamejavax.jdo.option.ConnectionPassword/namevalueasd123/valuedescriptionpassword to use against metastore database/description/propertypropertynamehive.metastore.ds.connection.url.hook/namevalue/descriptionName of the hook to use for retrieving the JDO connection URL. If empty, the value in javax.jdo.option.ConnectionURL is used/description/propertypropertynamejavax.jdo.option.Multithreaded/namevaluetrue/valuedescriptionSet this to true if multiple threads access metastore through JDO concurrently./description/propertypropertynamejavax.jdo.option.ConnectionURL/namevaluejdbc:mysql://192.168.100.108:3306/hive?createDatabaseIfNotExisttrueamp;characterEncodingUTF-8amp;useSSLfalse/valuedescriptionJDBC connect string for a JDBC metastore.To use SSL to encrypt/authenticate the connection, provide database-specific SSL flag in the connection URL.For example, jdbc:postgresql://myhost/db?ssltrue for postgres database./description/propertypropertynamehive.metastore.dbaccess.ssl.properties/namevalue/descriptionComma-separated SSL properties for metastore to access database when JDO connection URLenables SSL access. e.g. javax.net.ssl.trustStore/tmp/truststore,javax.net.ssl.trustStorePasswordpwd./description/propertypropertynamehive.hmshandler.retry.attempts/namevalue10/valuedescriptionThe number of times to retry a HMSHandler call if there were a connection error./description/propertypropertynamehive.hmshandler.retry.interval/namevalue2000ms/valuedescriptionExpects a time value with unit (d/day, h/hour, m/min, s/sec, ms/msec, us/usec, ns/nsec), which is msec if not specified.The time between HMSHandler retry attempts on failure./description/propertypropertynamehive.hmshandler.force.reload.conf/namevaluefalse/valuedescriptionWhether to force reloading of the HMSHandler configuration (includingthe connection URL, before the next metastore query that accesses thedatastore. Once reloaded, this value is reset to false. Used fortesting only./description/propertypropertynamehive.metastore.server.max.message.size/namevalue104857600/valuedescriptionMaximum message size in bytes a HMS will accept./description/propertypropertynamehive.metastore.server.min.threads/namevalue200/valuedescriptionMinimum number of worker threads in the Thrift servers pool./description/propertypropertynamehive.metastore.server.max.threads/namevalue1000/valuedescriptionMaximum number of worker threads in the Thrift servers pool./description/propertypropertynamehive.metastore.server.tcp.keepalive/namevaluetrue/valuedescriptionWhether to enable TCP keepalive for the metastore server. Keepalive will prevent accumulation of half-open connections./description/propertypropertynamehive.metastore.archive.intermediate.original/namevalue_INTERMEDIATE_ORIGINAL/valuedescriptionIntermediate dir suffixes used for archiving. Not important what theyare, as long as collisions are avoided/description/propertypropertynamehive.metastore.archive.intermediate.archived/namevalue_INTERMEDIATE_ARCHIVED/valuedescription//propertypropertynamehive.metastore.archive.intermediate.extracted/namevalue_INTERMEDIATE_EXTRACTED/valuedescription//propertypropertynamehive.metastore.kerberos.keytab.file/namevalue/descriptionThe path to the Kerberos Keytab file containing the metastore Thrift servers service principal./description/propertypropertynamehive.metastore.kerberos.principal/namevaluehive-metastore/_HOSTEXAMPLE.COM/valuedescriptionThe service principal for the metastore Thrift server. The special string _HOST will be replaced automatically with the correct host name./description/propertypropertynamehive.metastore.sasl.enabled/namevaluefalse/valuedescriptionIf true, the metastore Thrift interface will be secured with SASL. Clients must authenticate with Kerberos./description/propertypropertynamehive.metastore.thrift.framed.transport.enabled/namevaluefalse/valuedescriptionIf true, the metastore Thrift interface will use TFramedTransport. When false (default) a standard TTransport is used./description/propertypropertynamehive.metastore.thrift.compact.protocol.enabled/namevaluefalse/valuedescriptionIf true, the metastore Thrift interface will use TCompactProtocol. When false (default) TBinaryProtocol will be used.Setting it to true will break compatibility with older clients running TBinaryProtocol./description/propertypropertynamehive.metastore.token.signature/namevalue/descriptionThe delegation token service name to match when selecting a token from the current users tokens./description/propertypropertynamehive.cluster.delegation.token.store.class/namevalueorg.apache.hadoop.hive.thrift.MemoryTokenStore/valuedescriptionThe delegation token store implementation. Set to org.apache.hadoop.hive.thrift.ZooKeeperTokenStore for load-balanced cluster./description/propertypropertynamehive.cluster.delegation.token.store.zookeeper.connectString/namevalue/descriptionThe ZooKeeper token store connect string. You can re-use the configuration valueset in hive.zookeeper.quorum, by leaving this parameter unset./description/propertypropertynamehive.cluster.delegation.token.store.zookeeper.znode/namevalue/hivedelegation/valuedescriptionThe root path for token store data. Note that this is used by both HiveServer2 andMetaStore to store delegation Token. One directory gets created for each of them.The final directory names would have the servername appended to it (HIVESERVER2,METASTORE)./description/propertypropertynamehive.cluster.delegation.token.store.zookeeper.acl/namevalue/descriptionACL for token store entries. Comma separated list of ACL entries. For example:sasl:hive/host1MY.DOMAIN:cdrwa,sasl:hive/host2MY.DOMAIN:cdrwaDefaults to all permissions for the hiveserver2/metastore process user./description/propertypropertynamehive.metastore.cache.pinobjtypes/namevalueTable,StorageDescriptor,SerDeInfo,Partition,Database,Type,FieldSchema,Order/valuedescriptionList of comma separated metastore object types that should be pinned in the cache/description/propertypropertynamedatanucleus.connectionPoolingType/namevalueBONECP/valuedescriptionExpects one of [bonecp, dbcp, hikaricp, none].Specify connection pool library for datanucleus/description/propertypropertynamedatanucleus.rdbms.initializeColumnInfo/namevalueNONE/valuedescriptioninitializeColumnInfo setting for DataNucleus; set to NONE at least on Postgres./description/propertypropertynamedatanucleus.schema.validateTables/namevaluefalse/valuedescriptionvalidates existing schema against code. turn this on if you want to verify existing schema/description/propertypropertynamedatanucleus.schema.validateColumns/namevaluefalse/valuedescriptionvalidates existing schema against code. turn this on if you want to verify existing schema/description/propertypropertynamedatanucleus.schema.validateConstraints/namevaluefalse/valuedescriptionvalidates existing schema against code. turn this on if you want to verify existing schema/description/propertypropertynamedatanucleus.storeManagerType/namevaluerdbms/valuedescriptionmetadata store type/description/propertypropertynamedatanucleus.schema.autoCreateAll/namevaluefalse/valuedescriptionAuto creates necessary schema on a startup if one doesnt exist. Set this to false, after creating it once.To enable auto create also set hive.metastore.schema.verificationfalse. Auto creation is not recommended for production use cases, run schematool command instead./description/propertypropertynamehive.metastore.schema.verification/namevaluetrue/valuedescriptionEnforce metastore schema version consistency.True: Verify that version information stored in is compatible with one from Hive jars. Also disable automaticschema migration attempt. Users are required to manually migrate schema after Hive upgrade which ensuresproper metastore schema migration. (Default)False: Warn if the version information stored in metastore doesnt match with one from in Hive jars./description/propertypropertynamehive.metastore.schema.verification.record.version/namevaluefalse/valuedescriptionWhen true the current MS version is recorded in the VERSION table. If this is disabled and verification isenabled the MS will be unusable./description/propertypropertynamedatanucleus.transactionIsolation/namevalueread-committed/valuedescriptionDefault transaction isolation level for identity generation./description/propertypropertynamedatanucleus.cache.level2/namevaluefalse/valuedescriptionUse a level 2 cache. Turn this off if metadata is changed independently of Hive metastore server/description/propertypropertynamedatanucleus.cache.level2.type/namevaluenone/valuedescription//propertypropertynamedatanucleus.identifierFactory/namevaluedatanucleus1/valuedescriptionName of the identifier factory to use when generating table/column names etc. datanucleus1 is used for backward compatibility with DataNucleus v1/description/propertypropertynamedatanucleus.rdbms.useLegacyNativeValueStrategy/namevaluetrue/valuedescription//propertypropertynamedatanucleus.plugin.pluginRegistryBundleCheck/namevalueLOG/valuedescriptionDefines what happens when plugin bundles are found and are duplicated [EXCEPTION|LOG|NONE]/description/propertypropertynamehive.metastore.batch.retrieve.max/namevalue300/valuedescriptionMaximum number of objects (tables/partitions) can be retrieved from metastore in one batch. The higher the number, the less the number of round trips is needed to the Hive metastore server, but it may also cause higher memory requirement at the client side./description/propertypropertynamehive.metastore.batch.retrieve.table.partition.max/namevalue1000/valuedescriptionMaximum number of objects that metastore internally retrieves in one batch./description/propertypropertynamehive.metastore.init.hooks/namevalue/descriptionA comma separated list of hooks to be invoked at the beginning of HMSHandler initialization. An init hook is specified as the name of Java class which extends org.apache.hadoop.hive.metastore.MetaStoreInitListener./description/propertypropertynamehive.metastore.pre.event.listeners/namevalue/descriptionList of comma separated listeners for metastore events./description/propertypropertynamehive.metastore.event.listeners/namevalue/descriptionA comma separated list of Java classes that implement the org.apache.hadoop.hive.metastore.MetaStoreEventListener interface. The metastore event and corresponding listener method will be invoked in separate JDO transactions. Alternatively, configure hive.metastore.transactional.event.listeners to ensure both are invoked in same JDO transaction./description/propertypropertynamehive.metastore.transactional.event.listeners/namevalue/descriptionA comma separated list of Java classes that implement the org.apache.hadoop.hive.metastore.MetaStoreEventListener interface. Both the metastore event and corresponding listener method will be invoked in the same JDO transaction./description/propertypropertynamehive.metastore.event.db.listener.timetolive/namevalue86400s/valuedescriptionExpects a time value with unit (d/day, h/hour, m/min, s/sec, ms/msec, us/usec, ns/nsec), which is sec if not specified.time after which events will be removed from the database listener queue/description/propertypropertynamehive.metastore.authorization.storage.checks/namevaluefalse/valuedescriptionShould the metastore do authorization checks against the underlying storage (usually hdfs) for operations like drop-partition (disallow the drop-partition if the user inquestion doesnt have permissions to delete the corresponding directoryon the storage)./description/propertypropertynamehive.metastore.authorization.storage.check.externaltable.drop/namevaluefalse/valuedescriptionShould StorageBasedAuthorization check permission of the storage before dropping external table.StorageBasedAuthorization already does this check for managed table. For external table however,anyone who has read permission of the directory could drop external table, which is surprising.The flag is set to false by default to maintain backward compatibility./description/propertypropertynamehive.metastore.event.clean.freq/namevalue0s/valuedescriptionExpects a time value with unit (d/day, h/hour, m/min, s/sec, ms/msec, us/usec, ns/nsec), which is sec if not specified.Frequency at which timer task runs to purge expired events in metastore./description/propertypropertynamehive.metastore.event.expiry.duration/namevalue0s/valuedescriptionExpects a time value with unit (d/day, h/hour, m/min, s/sec, ms/msec, us/usec, ns/nsec), which is sec if not specified.Duration after which events expire from events table/description/propertypropertynamehive.metastore.event.message.factory/namevalueorg.apache.hadoop.hive.metastore.messaging.json.JSONMessageFactory/valuedescriptionFactory class for making encoding and decoding messages in the events generated./description/propertypropertynamehive.metastore.execute.setugi/namevaluetrue/valuedescriptionIn unsecure mode, setting this property to true will cause the metastore to execute DFS operations using the clients reported user and group permissions. Note that this property must be set on both the client and server sides. Further note that its best effort. If client sets its to true and server sets it to false, client setting will be ignored./description/propertypropertynamehive.metastore.partition.name.whitelist.pattern/namevalue/descriptionPartition names will be checked against this regex pattern and rejected if not matched./description/propertypropertynamehive.metastore.integral.jdo.pushdown/namevaluefalse/valuedescriptionAllow JDO query pushdown for integral partition columns in metastore. Off by default. Thisimproves metastore perf for integral columns, especially if theres a large number of partitions.However, it doesnt work correctly with integral values that are not normalized (e.g. haveleading zeroes, like 0012). If metastore direct SQL is enabled and works, this optimizationis also irrelevant./description/propertypropertynamehive.metastore.try.direct.sql/namevaluetrue/valuedescriptionWhether the Hive metastore should try to use direct SQL queries instead of theDataNucleus for certain read paths. This can improve metastore performance whenfetching many partitions or column statistics by orders of magnitude; however, itis not guaranteed to work on all RDBMS-es and all versions. In case of SQL failures,the metastore will fall back to the DataNucleus, so its safe even if SQL doesntwork for all queries on your datastore. If all SQL queries fail (for example, yourmetastore is backed by MongoDB), you might want to disable this to save thetry-and-fall-back cost./description/propertypropertynamehive.metastore.direct.sql.batch.size/namevalue0/valuedescriptionBatch size for partition and other object retrieval from the underlying DB in directSQL. For some DBs like Oracle and MSSQL, there are hardcoded or perf-based limitationsthat necessitate this. For DBs that can handle the queries, this isnt necessary andmay impede performance. -1 means no batching, 0 means automatic batching./description/propertypropertynamehive.metastore.try.direct.sql.ddl/namevaluetrue/valuedescriptionSame as hive.metastore.try.direct.sql, for read statements within a transaction thatmodifies metastore data. Due to non-standard behavior in Postgres, if a direct SQLselect query has incorrect syntax or something similar inside a transaction, theentire transaction will fail and fall-back to DataNucleus will not be possible. Youshould disable the usage of direct SQL inside transactions if that happens in your case./description/propertypropertynamehive.direct.sql.max.query.length/namevalue100/valuedescriptionThe maximumsize of a query string (in KB)./description/propertypropertynamehive.direct.sql.max.elements.in.clause/namevalue1000/valuedescriptionThe maximum number of values in a IN clause. Once exceeded, it will be broken intomultiple OR separated IN clauses./description/propertypropertynamehive.direct.sql.max.elements.values.clause/namevalue1000/valuedescriptionThe maximum number of values in a VALUES clause for INSERT statement./description/propertypropertynamehive.metastore.orm.retrieveMapNullsAsEmptyStrings/namevaluefalse/valuedescriptionThrift does not support nulls in maps, so any nulls present in maps retrieved from ORM must either be pruned or converted to empty strings. Some backing dbs such as Oracle persist empty strings as nulls, so we should set this parameter if we wish to reverse that behaviour. For others, pruning is the correct behaviour/description/propertypropertynamehive.metastore.disallow.incompatible.col.type.changes/namevaluetrue/valuedescriptionIf true (default is false), ALTER TABLE operations which change the type of acolumn (say STRING) to an incompatible type (say MAP) are disallowed.RCFile default SerDe (ColumnarSerDe) serializes the values in such a way that thedatatypes can be converted from string to any type. The map is also serialized asa string, which can be read as a string as well. However, with any binaryserialization, this is not true. Blocking the ALTER TABLE prevents ClassCastExceptionswhen subsequently trying to access old partitions.Primitive types like INT, STRING, BIGINT, etc., are compatible with each other and arenot blocked.See HIVE-4409 for more details./description/propertypropertynamehive.table.parameters.default/namevalue/descriptionDefault property values for newly created tables/description/propertypropertynamehive.ddl.createtablelike.properties.whitelist/namevalue/descriptionTable Properties to copy over when executing a Create Table Like./description/propertypropertynamehive.metastore.rawstore.impl/namevalueorg.apache.hadoop.hive.metastore.ObjectStore/valuedescriptionName 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/propertypropertynamehive.metastore.txn.store.impl/namevalueorg.apache.hadoop.hive.metastore.txn.CompactionTxnHandler/valuedescriptionName of class that implements org.apache.hadoop.hive.metastore.txn.TxnStore. This class is used to store and retrieve transactions and locks/description/propertypropertynamejavax.jdo.option.ConnectionDriverName/namevaluecom.mysql.jdbc.Driver/valuedescriptionDriver class name for a JDBC metastore/description/propertypropertynamejavax.jdo.PersistenceManagerFactoryClass/namevalueorg.datanucleus.api.jdo.JDOPersistenceManagerFactory/valuedescriptionclass implementing the jdo persistence/description/propertypropertynamehive.metastore.expression.proxy/namevalueorg.apache.hadoop.hive.ql.optimizer.ppr.PartitionExpressionForMetastore/valuedescription//propertypropertynamejavax.jdo.option.DetachAllOnCommit/namevaluetrue/valuedescriptionDetaches all objects from session so that they can be used after transaction is committed/description/propertypropertynamejavax.jdo.option.NonTransactionalRead/namevaluetrue/valuedescriptionReads outside of transactions/description/propertypropertynamejavax.jdo.option.ConnectionUserName/namevaluehive/valuedescriptionUsername to use against metastore database/description/propertypropertynamehive.metastore.end.function.listeners/namevalue/descriptionList of comma separated listeners for the end of metastore functions./description/propertypropertynamehive.metastore.partition.inherit.table.properties/namevalue/descriptionList of comma separated keys occurring in table properties which will get inherited to newly created partitions. * implies all the keys will get inherited./description/propertypropertynamehive.metastore.filter.hook/namevalueorg.apache.hadoop.hive.metastore.DefaultMetaStoreFilterHookImpl/valuedescriptionMetastore hook class for filtering the metadata read results. If hive.security.authorization.manageris set to instance of HiveAuthorizerFactory, then this value is ignored./description/propertypropertynamehive.metastore.dml.events/namevaluefalse/valuedescriptionIf true, the metastore will be asked to fire events for DML operations/description/propertypropertynamehive.metastore.client.drop.partitions.using.expressions/namevaluetrue/valuedescriptionChoose whether dropping partitions with HCatClient pushes the partition-predicate to the metastore, or drops partitions iteratively/description/propertypropertynamehive.metastore.aggregate.stats.cache.enabled/namevaluetrue/valuedescriptionWhether aggregate stats caching is enabled or not./description/propertypropertynamehive.metastore.aggregate.stats.cache.size/namevalue10000/valuedescriptionMaximum number of aggregate stats nodes that we will place in the metastore aggregate stats cache./description/propertypropertynamehive.metastore.aggregate.stats.cache.max.partitions/namevalue10000/valuedescriptionMaximum number of partitions that are aggregated per cache node./description/propertypropertynamehive.metastore.aggregate.stats.cache.fpp/namevalue0.01/valuedescriptionMaximum false positive probability for the Bloom Filter used in each aggregate stats cache node (default 1%)./description/propertypropertynamehive.metastore.aggregate.stats.cache.max.variance/namevalue0.01/valuedescriptionMaximum tolerable variance in number of partitions between a cached node and our request (default 1%)./description/propertypropertynamehive.metastore.aggregate.stats.cache.ttl/namevalue600s/valuedescriptionExpects a time value with unit (d/day, h/hour, m/min, s/sec, ms/msec, us/usec, ns/nsec), which is sec if not specified.Number of seconds for a cached node to be active in the cache before they become stale./description/propertypropertynamehive.metastore.aggregate.stats.cache.max.writer.wait/namevalue5000ms/valuedescriptionExpects a time value with unit (d/day, h/hour, m/min, s/sec, ms/msec, us/usec, ns/nsec), which is msec if not specified.Number of milliseconds a writer will wait to acquire the writelock before giving up./description/propertypropertynamehive.metastore.aggregate.stats.cache.max.reader.wait/namevalue1000ms/valuedescriptionExpects a time value with unit (d/day, h/hour, m/min, s/sec, ms/msec, us/usec, ns/nsec), which is msec if not specified.Number of milliseconds a reader will wait to acquire the readlock before giving up./description/propertypropertynamehive.metastore.aggregate.stats.cache.max.full/namevalue0.9/valuedescriptionMaximum cache full % after which the cache cleaner thread kicks in./description/propertypropertynamehive.metastore.aggregate.stats.cache.clean.until/namevalue0.8/valuedescriptionThe cleaner thread cleans until cache reaches this % full size./description/propertypropertynamehive.metastore.metrics.enabled/namevaluefalse/valuedescriptionEnable metrics on the metastore./description/propertypropertynamehive.metastore.initial.metadata.count.enabled/namevaluetrue/valuedescriptionEnable a metadata count at metastore startup for metrics./description/propertypropertynamehive.metadata.export.location/namevalue/descriptionWhen used in conjunction with the org.apache.hadoop.hive.ql.parse.MetaDataExportListener pre event listener, it is the location to which the metadata will be exported. The default is an empty string, which results in the metadata being exported to the current users home directory on HDFS./description/propertypropertynamehive.metadata.move.exported.metadata.to.trash/namevaluetrue/valuedescriptionWhen used in conjunction with the org.apache.hadoop.hive.ql.parse.MetaDataExportListener pre event listener, this setting determines if the metadata that is exported will subsequently be moved to the users trash directory alongside the dropped table data. This ensures that the metadata will be cleaned up along with the dropped table data./description/propertypropertynamehive.cli.errors.ignore/namevaluefalse/valuedescription//propertypropertynamehive.cli.print.current.db/namevaluefalse/valuedescriptionWhether to include the current database in the Hive prompt./description/propertypropertynamehive.cli.prompt/namevaluehive/valuedescriptionCommand line prompt configuration value. Other hiveconf can be used in this configuration value. Variable substitution will only be invoked at the Hive CLI startup./description/propertypropertynamehive.cli.pretty.output.num.cols/namevalue-1/valuedescriptionThe number of columns to use when formatting output generated by the DESCRIBE PRETTY table_name command.If the value of this property is -1, then Hive will use the auto-detected terminal width./description/propertypropertynamehive.metastore.fs.handler.class/namevalueorg.apache.hadoop.hive.metastore.HiveMetaStoreFsImpl/valuedescription//propertypropertynamehive.session.id/namevalue/description//propertypropertynamehive.session.silent/namevaluefalse/valuedescription//propertypropertynamehive.session.history.enabled/namevaluefalse/valuedescriptionWhether to log Hive query, query plan, runtime statistics etc./description/propertypropertynamehive.query.string/namevalue/descriptionQuery being executed (might be multiple per a session)/description/propertypropertynamehive.query.id/namevalue/descriptionID for query being executed (might be multiple per a session)/description/propertypropertynamehive.jobname.length/namevalue50/valuedescriptionmax jobname length/description/propertypropertynamehive.jar.path/namevalue/descriptionThe location of hive_cli.jar that is used when submitting jobs in a separate jvm./description/propertypropertynamehive.aux.jars.path/namevalue/descriptionThe location of the plugin jars that contain implementations of user defined functions and serdes./description/propertypropertynamehive.reloadable.aux.jars.path/namevalue/descriptionThe locations of the plugin jars, which can be a comma-separated folders or jars. Jars can be renewedby executing reload command. And these jars can be used as the auxiliary classes like creating a UDF or SerDe./description/propertypropertynamehive.added.files.path/namevalue/descriptionThis an internal parameter./description/propertypropertynamehive.added.jars.path/namevalue/descriptionThis an internal parameter./description/propertypropertynamehive.added.archives.path/namevalue/descriptionThis an internal parameter./description/propertypropertynamehive.auto.progress.timeout/namevalue0s/valuedescriptionExpects a time value with unit (d/day, h/hour, m/min, s/sec, ms/msec, us/usec, ns/nsec), which is sec if not specified.How long to run autoprogressor for the script/UDTF operators.Set to 0 for forever./description/propertypropertynamehive.script.auto.progress/namevaluefalse/valuedescriptionWhether Hive Transform/Map/Reduce Clause should automatically send progress information to TaskTracker to avoid the task getting killed because of inactivity. Hive sends progress information when the script is outputting to stderr. This option removes the need of periodically producing stderr messages, but users should be cautious because this may prevent infinite loops in the scripts to be killed by TaskTracker./description/propertypropertynamehive.script.operator.id.env.var/namevalueHIVE_SCRIPT_OPERATOR_ID/valuedescriptionName of the environment variable that holds the unique script operator ID in the users transform function (the custom mapper/reducer that the user has specified in the query)/description/propertypropertynamehive.script.operator.truncate.env/namevaluefalse/valuedescriptionTruncate each environment variable for external script in scripts operator to 20KB (to fit system limits)/description/propertypropertynamehive.script.operator.env.blacklist/namevaluehive.txn.valid.txns,hive.script.operator.env.blacklist/valuedescriptionComma separated list of keys from the configuration file not to convert to environment variables when envoking the script operator/description/propertypropertynamehive.strict.checks.large.query/namevaluefalse/valuedescriptionEnabling strict large query checks disallows the following:Orderby without limit.No partition being picked up for a query against partitioned table.Note that these checks currently do not consider data size, only the query pattern./description/propertypropertynamehive.strict.checks.type.safety/namevaluetrue/valuedescriptionEnabling strict type safety checks disallows the following:Comparing bigints and strings.Comparing bigints and doubles./description/propertypropertynamehive.strict.checks.cartesian.product/namevaluetrue/valuedescriptionEnabling strict large query checks disallows the following:Cartesian product (cross join)./description/propertypropertynamehive.mapred.mode/namevaluenonstrict/valuedescriptionDeprecated; use hive.strict.checks.* settings instead./description/propertypropertynamehive.alias/namevalue/description//propertypropertynamehive.map.aggr/namevaluetrue/valuedescriptionWhether to use map-side aggregation in Hive Group By queries/description/propertypropertynamehive.groupby.skewindata/namevaluefalse/valuedescriptionWhether there is skew in data to optimize group by queries/description/propertypropertynamehive.join.emit.interval/namevalue1000/valuedescriptionHow many rows in the right-most join operand Hive should buffer before emitting the join result./description/propertypropertynamehive.join.cache.size/namevalue25000/valuedescriptionHow many rows in the joining tables (except the streaming table) should be cached in memory./description/propertypropertynamehive.cbo.enable/namevaluetrue/valuedescriptionFlag to control enabling Cost Based Optimizations using Calcite framework./description/propertypropertynamehive.cbo.cnf.maxnodes/namevalue-1/valuedescriptionWhen converting to conjunctive normal form (CNF), fail ifthe expression exceeds this threshold; the threshold is expressed in terms of number of nodes (leaves andinterior nodes). -1 to not set up a threshold./description/propertypropertynamehive.cbo.returnpath.hiveop/namevaluefalse/valuedescriptionFlag to control calcite plan to hive operator conversion/description/propertypropertynamehive.cbo.costmodel.extended/namevaluefalse/valuedescriptionFlag to control enabling the extended cost model based onCPU, IO and cardinality. Otherwise, the cost model is based on cardinality./description/propertypropertynamehive.cbo.costmodel.cpu/namevalue0.000001/valuedescriptionDefault cost of a comparison/description/propertypropertynamehive.cbo.costmodel.network/namevalue150.0/valuedescriptionDefault cost of a transfering a byte over network; expressed as multiple of CPU cost/description/propertypropertynamehive.cbo.costmodel.local.fs.write/namevalue4.0/valuedescriptionDefault cost of writing a byte to local FS; expressed as multiple of NETWORK cost/description/propertypropertynamehive.cbo.costmodel.local.fs.read/namevalue4.0/valuedescriptionDefault cost of reading a byte from local FS; expressed as multiple of NETWORK cost/description/propertypropertynamehive.cbo.costmodel.hdfs.write/namevalue10.0/valuedescriptionDefault cost of writing a byte to HDFS; expressed as multiple of Local FS write cost/description/propertypropertynamehive.cbo.costmodel.hdfs.read/namevalue1.5/valuedescriptionDefault cost of reading a byte from HDFS; expressed as multiple of Local FS read cost/description/propertypropertynamehive.cbo.show.warnings/namevaluetrue/valuedescriptionToggle display of CBO warnings like missing column stats/description/propertypropertynamehive.transpose.aggr.join/namevaluefalse/valuedescriptionpush aggregates through join/description/propertypropertynamehive.optimize.semijoin.conversion/namevaluetrue/valuedescriptionconvert group by followed by inner equi join into semijoin/description/propertypropertynamehive.order.columnalignment/namevaluetrue/valuedescriptionFlag to control whether we want to try to aligncolumns in operators such as Aggregate or Join so that we try to reduce the number of shuffling stages/description/propertypropertynamehive.mapjoin.bucket.cache.size/namevalue100/valuedescription//propertypropertynamehive.mapjoin.optimized.hashtable/namevaluetrue/valuedescriptionWhether Hive should use memory-optimized hash table for MapJoin.Only works on Tez and Spark, because memory-optimized hashtable cannot be serialized./description/propertypropertynamehive.mapjoin.optimized.hashtable.probe.percent/namevalue0.5/valuedescriptionProbing space percentage of the optimized hashtable/description/propertypropertynamehive.mapjoin.hybridgrace.hashtable/namevaluetrue/valuedescriptionWhether to use hybridgrace hash join as the join method for mapjoin. Tez only./description/propertypropertynamehive.mapjoin.hybridgrace.memcheckfrequency/namevalue1024/valuedescriptionFor hybrid grace hash join, how often (how many rows apart) we check if memory is full. This number should be power of 2./description/propertypropertynamehive.mapjoin.hybridgrace.minwbsize/namevalue524288/valuedescriptionFor hybrid graceHash join, the minimum write buffer size used by optimized hashtable. Default is 512 KB./description/propertypropertynamehive.mapjoin.hybridgrace.minnumpartitions/namevalue16/valuedescriptionForHybrid grace hash join, the minimum number of partitions to create./description/propertypropertynamehive.mapjoin.optimized.hashtable.wbsize/namevalue8388608/valuedescriptionOptimized hashtable (see hive.mapjoin.optimized.hashtable) uses a chain of buffers tostore data. This is one buffer size. HT may be slightly faster if this is larger, but for smalljoins unnecessary memory will be allocated and then trimmed./description/propertypropertynamehive.mapjoin.hybridgrace.bloomfilter/namevaluetrue/valuedescriptionWhether to use BloomFilter in Hybrid grace hash join to minimize unnecessary spilling./description/propertypropertynamehive.smbjoin.cache.rows/namevalue10000/valuedescriptionHow many rows with the same key value should be cached in memory per smb joined table./description/propertypropertynamehive.groupby.mapaggr.checkinterval/namevalue100000/valuedescriptionNumber of rows after which size of the grouping keys/aggregation classes is performed/description/propertypropertynamehive.map.aggr.hash.percentmemory/namevalue0.5/valuedescriptionPortion of total memory to be used by map-side group aggregation hash table/description/propertypropertynamehive.mapjoin.followby.map.aggr.hash.percentmemory/namevalue0.3/valuedescriptionPortion of total memory to be used by map-side group aggregation hash table, when this group by is followed by map join/description/propertypropertynamehive.map.aggr.hash.force.flush.memory.threshold/namevalue0.9/valuedescriptionThe max memory to be used by map-side group aggregation hash table.If the memory usage is higher than this number, force to flush data/description/propertypropertynamehive.map.aggr.hash.min.reduction/namevalue0.5/valuedescriptionHash aggregation will be turned off if the ratio between hash table size and input rows is bigger than this number. Set to 1 to make sure hash aggregation is never turned off./description/propertypropertynamehive.multigroupby.singlereducer/namevaluetrue/valuedescriptionWhether to optimize multi group by query to generate single M/R job plan. If the multi group by query has common group by keys, it will be optimized to generate single M/R job./description/propertypropertynamehive.map.groupby.sorted/namevaluetrue/valuedescriptionIf the bucketing/sorting properties of the table exactly match the grouping key, whether to perform the group by in the mapper by using BucketizedHiveInputFormat. The only downside to thisis that it limits the number of mappers to the number of files./description/propertypropertynamehive.groupby.position.alias/namevaluefalse/valuedescriptionWhether to enable using Column Position Alias in Group By/description/propertypropertynamehive.orderby.position.alias/namevaluetrue/valuedescriptionWhether to enable using Column Position Alias in Order By/description/propertypropertynamehive.groupby.orderby.position.alias/namevaluefalse/valuedescriptionWhether to enable using Column Position Alias in Group By or Order By (deprecated).Use hive.orderby.position.alias or hive.groupby.position.alias instead/description/propertypropertynamehive.new.job.grouping.set.cardinality/namevalue30/valuedescriptionWhether a new map-reduce job should be launched for grouping sets/rollups/cubes.For a query like: select a, b, c, count(1) from T group by a, b, c with rollup;4 rows are created per row: (a, b, c), (a, b, null), (a, null, null), (null, null, null).This can lead to explosion across map-reduce boundary if the cardinality of T is very high,and map-side aggregation does not do a very good job. This parameter decides if Hive should add an additional map-reduce job. If the grouping setcardinality (4 in the example above), is more than this value, a new MR job is added under theassumption that the original group by will reduce the data size./description/propertypropertynamehive.groupby.limit.extrastep/namevaluetrue/valuedescriptionThis parameter decides if Hive should create new MR job for sorting final output/description/propertypropertynamehive.exec.copyfile.maxsize/namevalue33554432/valuedescriptionMaximum file size (in Mb) that Hive uses to do single HDFS copies between directories.Distributed copies (distcp) will be used instead for bigger files so that copies can be done faster./description/propertypropertynamehive.udtf.auto.progress/namevaluefalse/valuedescriptionWhether Hive should automatically send progress information to TaskTracker when using UDTFs to prevent the task getting killed because of inactivity. Users should be cautious because this may prevent TaskTracker from killing tasks with infinite loops./description/propertypropertynamehive.default.fileformat/namevalueTextFile/valuedescriptionExpects one of [textfile, sequencefile, rcfile, orc].Default file format for CREATE TABLE statement. Users can explicitly override it by CREATE TABLE ... STORED AS [FORMAT]/description/propertypropertynamehive.default.fileformat.managed/namevaluenone/valuedescriptionExpects one of [none, textfile, sequencefile, rcfile, orc].Default file format for CREATE TABLE statement applied to managed tables only. External tables will be created with format specified by hive.default.fileformat. Leaving this null will result in using hive.default.fileformat for all tables./description/propertypropertynamehive.query.result.fileformat/namevalueSequenceFile/valuedescriptionExpects one of [textfile, sequencefile, rcfile, llap].Default file format for storing result of the query./description/propertypropertynamehive.fileformat.check/namevaluetrue/valuedescriptionWhether to check file format or not when loading data files/description/propertypropertynamehive.default.rcfile.serde/namevalueorg.apache.hadoop.hive.serde2.columnar.LazyBinaryColumnarSerDe/valuedescriptionThe default SerDe Hive will use for the RCFile format/description/propertypropertynamehive.default.serde/namevalueorg.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe/valuedescriptionThe default SerDe Hive will use for storage formats that do not specify a SerDe./description/propertypropertynamehive.serdes.using.metastore.for.schema/namevalueorg.apache.hadoop.hive.ql.io.orc.OrcSerde,org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe,org.apache.hadoop.hive.serde2.columnar.ColumnarSerDe,org.apache.hadoop.hive.serde2.dynamic_type.DynamicSerDe,org.apache.hadoop.hive.serde2.MetadataTypedColumnsetSerDe,org.apache.hadoop.hive.serde2.columnar.LazyBinaryColumnarSerDe,org.apache.hadoop.hive.ql.io.parquet.serde.ParquetHiveSerDe,org.apache.hadoop.hive.serde2.lazybinary.LazyBinarySerDe/valuedescriptionSerDes retrieving schema from metastore. This is an internal parameter./description/propertypropertynamehive.querylog.location/namevalue/user/hive/log/valuedescriptionLocation of Hive run time structured log file/description/propertypropertynamehive.querylog.enable.plan.progress/namevaluetrue/valuedescriptionWhether to log the plans progress every time a jobs progress is checked.These logs are written to the location specified by hive.querylog.location/description/propertypropertynamehive.querylog.plan.progress.interval/namevalue60000ms/valuedescriptionExpects a time value with unit (d/day, h/hour, m/min, s/sec, ms/msec, us/usec, ns/nsec), which is msec if not specified.The interval to wait between logging the plans progress.If there is a whole number percentage change in the progress of the mappers or the reducers,the progress is logged regardless of this value.The actual interval will be the ceiling of (this value divided by the value ofhive.exec.counters.pull.interval) multiplied by the value of hive.exec.counters.pull.intervalI.e. if it is not divide evenly by the value of hive.exec.counters.pull.interval it will belogged less frequently than specified.This only has an effect if hive.querylog.enable.plan.progress is set to true./description/propertypropertynamehive.script.serde/namevalueorg.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe/valuedescriptionThe default SerDe for transmitting input data to and reading output data from the user scripts. /description/propertypropertynamehive.script.recordreader/namevalueorg.apache.hadoop.hive.ql.exec.TextRecordReader/valuedescriptionThe default record reader for reading data from the user scripts. /description/propertypropertynamehive.script.recordwriter/namevalueorg.apache.hadoop.hive.ql.exec.TextRecordWriter/valuedescriptionThe default record writer for writing data to the user scripts. /description/propertypropertynamehive.transform.escape.input/namevaluefalse/valuedescriptionThis adds an option to escape special chars (newlines, carriage returns andtabs) when they are passed to the user script. This is useful if the Hive tablescan contain data that contains special characters./description/propertypropertynamehive.binary.record.max.length/namevalue1000/valuedescriptionRead from a binary stream and treat each hive.binary.record.max.length bytes as a record. The last record before the end of stream can have less than hive.binary.record.max.length bytes/description/propertypropertynamehive.hwi.listen.host/namevalue0.0.0.0/valuedescriptionThis is the host address the Hive Web Interface will listen on/description/propertypropertynamehive.hwi.listen.port/namevalue9999/valuedescriptionThis is the port the Hive Web Interface will listen on/description/propertypropertynamehive.hwi.war.file/namevalue${env:HWI_WAR_FILE}/valuedescriptionThis sets the path to the HWI war file, relative to ${HIVE_HOME}. /description/propertypropertynamehive.mapred.local.mem/namevalue0/valuedescriptionmapper/reducer memory in local mode/description/propertypropertynamehive.mapjoin.smalltable.filesize/namevalue25000000/valuedescriptionThe threshold for the input file size of the small tables; if the file size is smaller than this threshold, it will try to convert the common join into map join/description/propertypropertynamehive.exec.schema.evolution/namevaluetrue/valuedescriptionUse schema evolution to convert self-describing file formats data to the schema desired by the reader./description/propertypropertynamehive.sample.seednumber/namevalue0/valuedescriptionA number used to percentage sampling. By changing this number, user will change the subsets of data sampled./description/propertypropertynamehive.test.mode/namevaluefalse/valuedescriptionWhether Hive is running in test mode. If yes, it turns on sampling and prefixes the output tablename./description/propertypropertynamehive.test.mode.prefix/namevaluetest_/valuedescriptionIn test mode, specfies prefixes for the output table/description/propertypropertynamehive.test.mode.samplefreq/namevalue32/valuedescriptionIn test mode, specfies sampling frequency for table, which is not bucketed,For example, the following query:INSERT OVERWRITE TABLE dest SELECT col1 from srcwould be converted toINSERT OVERWRITE TABLE test_destSELECT col1 from src TABLESAMPLE (BUCKET 1 out of 32 on rand(1))/description/propertypropertynamehive.test.mode.nosamplelist/namevalue/descriptionIn test mode, specifies comma separated table names which would not apply sampling/description/propertypropertynamehive.test.dummystats.aggregator/namevalue/descriptioninternal variable for test/description/propertypropertynamehive.test.dummystats.publisher/namevalue/descriptioninternal variable for test/description/propertypropertynamehive.test.currenttimestamp/namevalue/descriptioncurrent timestamp for test/description/propertypropertynamehive.test.rollbacktxn/namevaluefalse/valuedescriptionFor testing only. Will mark every ACID transaction aborted/description/propertypropertynamehive.test.fail.compaction/namevaluefalse/valuedescriptionFor testing only. Will cause CompactorMR to fail./description/propertypropertynamehive.test.fail.heartbeater/namevaluefalse/valuedescriptionFor testing only. Will cause Heartbeater to fail./description/propertypropertynamehive.merge.mapfiles/namevaluetrue/valuedescriptionMerge small files at the end of a map-only job/description/propertypropertynamehive.merge.mapredfiles/namevaluefalse/valuedescriptionMerge small files at the end of a map-reduce job/description/propertypropertynamehive.merge.tezfiles/namevaluefalse/valuedescriptionMerge small files at the end of a Tez DAG/description/propertypropertynamehive.merge.sparkfiles/namevaluefalse/valuedescriptionMerge small files at the end of a Spark DAG Transformation/description/propertypropertynamehive.merge.size.per.task/namevalue256000000/valuedescriptionSize of merged files at the end of the job/description/propertypropertynamehive.merge.smallfiles.avgsize/namevalue16000000/valuedescriptionWhen the average output file size of a job is less than this number, Hive will start an additional map-reduce job to merge the output files into bigger files. This is only done for map-only jobs if hive.merge.mapfiles is true, and for map-reduce jobs if hive.merge.mapredfiles is true./description/propertypropertynamehive.merge.rcfile.block.level/namevaluetrue/valuedescription//propertypropertynamehive.merge.orcfile.stripe.level/namevaluetrue/valuedescriptionWhen hive.merge.mapfiles, hive.merge.mapredfiles or hive.merge.tezfiles is enabledwhile writing a table with ORC file format, enabling this config will do stripe-levelfast merge for small ORC files. Note that enabling this config will not honor thepadding tolerance config (hive.exec.orc.block.padding.tolerance)./description/propertypropertynamehive.exec.rcfile.use.explicit.header/namevaluetrue/valuedescriptionIf this is set the header for RCFiles will simply be RCF. If this is notset the header will be that borrowed from sequence files, e.g. SEQ- followedby the input and output RCFile formats./description/propertypropertynamehive.exec.rcfile.use.sync.cache/namevaluetrue/valuedescription//propertypropertynamehive.io.rcfile.record.interval/namevalue2147483647/valuedescription//propertypropertynamehive.io.rcfile.column.number.conf/namevalue0/valuedescription//propertypropertynamehive.io.rcfile.tolerate.corruptions/namevaluefalse/valuedescription//propertypropertynamehive.io.rcfile.record.buffer.size/namevalue4194304/valuedescription//propertypropertynameparquet.memory.pool.ratio/namevalue0.5/valuedescriptionMaximum fraction of heap that can be used by Parquet file writers in one task.It is for avoiding OutOfMemory error in tasks. Work with Parquet 1.6.0 and above.This config parameter is defined in Parquet, so that it does not start with hive../description/propertypropertynamehive.parquet.timestamp.skip.conversion/namevaluetrue/valuedescriptionCurrent Hive implementation of parquet stores timestamps to UTC, this flag allows skipping of the conversionon reading parquet files from other tools/description/propertypropertynamehive.int.timestamp.conversion.in.seconds/namevaluefalse/valuedescriptionBoolean/tinyint/smallint/int/bigint value is interpreted as milliseconds during the timestamp conversion.Set this flag to true to interpret the value as seconds to be consistent with float/double./description/propertypropertynamehive.exec.orc.memory.pool/namevalue0.5/valuedescriptionMaximum fraction of heap that can be used by ORC file writers/description/propertypropertynamehive.exec.orc.write.format/namevalue/descriptionDefine the version of the file to write. Possible values are 0.11 and 0.12.If this parameter is not defined, ORC will use the run length encoding (RLE)introduced in Hive 0.12. Any value other than 0.11 results in the 0.12 encoding./description/propertypropertynamehive.exec.orc.default.stripe.size/namevalue67108864/valuedescriptionDefine the default ORC stripe size, in bytes./description/propertypropertynamehive.exec.orc.default.block.size/namevalue268435456/valuedescriptionDefine the default file system block size for ORC files./description/propertypropertynamehive.exec.orc.dictionary.key.size.threshold/namevalue0.8/valuedescriptionIf the number of keys in a dictionary is greater than this fraction of the total number ofnon-null rows, turn off dictionary encoding. Use 1 to always use dictionary encoding./description/propertypropertynamehive.exec.orc.default.row.index.stride/namevalue10000/valuedescriptionDefine the default ORC index stride in number of rows. (Stride is the number of rowsan index entry represents.)/description/propertypropertynamehive.orc.row.index.stride.dictionary.check/namevaluetrue/valuedescriptionIf enabled dictionary check will happen after first row index stride (default 10000 rows)else dictionary check will happen before writing first stripe. In both cases, the decisionto use dictionary or not will be retained thereafter./description/propertypropertynamehive.exec.orc.default.buffer.size/namevalue262144/valuedescriptionDefine the default ORC buffer size, in bytes./description/propertypropertynamehive.exec.orc.base.delta.ratio/namevalue8/valuedescriptionThe ratio of base writer anddelta writer in terms of STRIPE_SIZE and BUFFER_SIZE./description/propertypropertynamehive.exec.orc.default.block.padding/namevaluetrue/valuedescriptionDefine the default block padding, which pads stripes to the HDFS block boundaries./description/propertypropertynamehive.exec.orc.block.padding.tolerance/namevalue0.05/valuedescriptionDefine the tolerance for block padding as a decimal fraction of stripe size (forexample, the default value 0.05 is 5% of the stripe size). For the defaults of 64MbORC stripe and 256Mb HDFS blocks, the default block padding tolerance of 5% willreserve a maximum of 3.2Mb for padding within the 256Mb block. In that case, if theavailable size within the block is more than 3.2Mb, a new smaller stripe will beinserted to fit within that space. This will make sure that no stripe written willcross block boundaries and cause remote reads within a node local task./description/propertypropertynamehive.exec.orc.default.compress/namevalueZLIB/valuedescriptionDefine the default compression codec for ORC file/description/propertypropertynamehive.exec.orc.encoding.strategy/namevalueSPEED/valuedescriptionExpects one of [speed, compression].Define the encoding strategy to use while writing data. Changing this willonly affect the light weight encoding for integers. This flag will notchange the compression level of higher level compression codec (like ZLIB)./description/propertypropertynamehive.exec.orc.compression.strategy/namevalueSPEED/valuedescriptionExpects one of [speed, compression].Define the compression strategy to use while writing data. This changes the compression level of higher level compression codec (like ZLIB)./description/propertypropertynamehive.exec.orc.split.strategy/namevalueHYBRID/valuedescriptionExpects one of [hybrid, bi, etl].This is not a user level config. BI strategy is used when the requirement is to spend less time in split generation as opposed to query execution (split generation does not read or cache file footers). ETL strategy is used when spending little more time in split generation is acceptable (split generation reads and caches file footers). HYBRID chooses between the above strategies based on heuristics./description/propertypropertynamehive.orc.splits.ms.footer.cache.enabled/namevaluefalse/valuedescriptionWhether to enable using file metadata cache in metastore for ORC file footers./description/propertypropertynamehive.orc.splits.ms.footer.cache.ppd.enabled/namevaluetrue/valuedescriptionWhether to enable file footer cache PPD (hive.orc.splits.ms.footer.cache.enabledmust also be set to true for this to work)./description/propertypropertynamehive.orc.splits.include.file.footer/namevaluefalse/valuedescriptionIf turned on splits generated by orc will include metadata about the stripes in the file. Thisdata is read remotely (from the client or HS2 machine) and sent to all the tasks./description/propertypropertynamehive.orc.splits.directory.batch.ms/namevalue0/valuedescriptionHow long, in ms, to wait to batch input directories for processing during ORC splitgeneration. 0 means process directories individually. This can increase the number ofmetastore calls if metastore metadata cache is used./description/propertypropertynamehive.orc.splits.include.fileid/namevaluetrue/valuedescriptionInclude file ID in splits on file systems that support it./description/propertypropertynamehive.orc.splits.allow.synthetic.fileid/namevaluetrue/valuedescriptionAllow synthetic file ID in splits on file systems that dont have a native one./description/propertypropertynamehive.orc.cache.stripe.details.size/namevalue10000/valuedescriptionMax cache size for keeping meta info about orc splits cached in the client./description/propertypropertynamehive.orc.compute.splits.num.threads/namevalue10/valuedescriptionHow many threads orc should use to create splits in parallel./description/propertypropertynamehive.orc.cache.use.soft.references/namevaluefalse/valuedescriptionBy default, the cache that ORC input format uses to store orc file footer use hardreferences for the cached object. Setting this to true can help avoid out of memoryissues under memory pressure (in some cases) at the cost of slight unpredictability inoverall query performance./description/propertypropertynamehive.exec.orc.skip.corrupt.data/namevaluefalse/valuedescriptionIf ORC reader encounters corrupt data, this value will be used to determinewhether to skip the corrupt data or throw exception. The default behavior is to throw exception./description/propertypropertynamehive.exec.orc.zerocopy/namevaluefalse/valuedescriptionUse zerocopy reads with ORC. (This requires Hadoop 2.3 or later.)/description/propertypropertynamehive.lazysimple.extended_boolean_literal/namevaluefalse/valuedescriptionLazySimpleSerde uses this property to determine if it treats T, t, F, f,1, and 0 as extened, legal boolean literal, in addition to TRUE and FALSE.The default is false, which means only TRUE and FALSE are treated as legalboolean literal./description/propertypropertynamehive.optimize.skewjoin/namevaluefalse/valuedescriptionWhether to enable skew join optimization. The algorithm is as follows: At runtime, detect the keys with a large skew. Instead ofprocessing those keys, store them temporarily in an HDFS directory. In a follow-up map-reducejob, process those skewed keys. The same key need not be skewed for all the tables, and so,the follow-up map-reduce job (for the skewed keys) would be much faster, since it would be amap-join./description/propertypropertynamehive.optimize.dynamic.partition.hashjoin/namevaluefalse/valuedescriptionWhether to enable dynamically partitioned hash join optimization. This setting is also dependent on enabling hive.auto.convert.join/description/propertypropertynamehive.auto.convert.join/namevaluetrue/valuedescriptionWhether Hive enables the optimization about converting common join into mapjoin based on the input file size/description/propertypropertynamehive.auto.convert.join.noconditionaltask/namevaluetrue/valuedescriptionWhether Hive enables the optimization about converting common join into mapjoin based on the input file size. If this parameter is on, and the sum of size for n-1 of the tables/partitions for a n-way join is smaller than thespecified size, the join is directly converted to a mapjoin (there is no conditional task)./description/propertypropertynamehive.auto.convert.join.noconditionaltask.size/namevalue10000000/valuedescriptionIf hive.auto.convert.join.noconditionaltask is off, this parameter does not take affect. However, if it is on, and the sum of size for n-1 of the tables/partitions for a n-way join is smaller than this size, the join is directly converted to a mapjoin(there is no conditional task). The default is 10MB/description/propertypropertynamehive.auto.convert.join.use.nonstaged/namevaluefalse/valuedescriptionFor conditional joins, if input stream from a small alias can be directly applied to join operator without filtering or projection, the alias need not to be pre-staged in distributed cache via mapred local task.Currently, this is not working with vectorization or tez execution engine./description/propertypropertynamehive.skewjoin.key/namevalue100000/valuedescriptionDetermine if we get a skew key in join. If we see more than the specified number of rows with the same key in join operator,we think the key as a skew join key. /description/propertypropertynamehive.skewjoin.mapjoin.map.tasks/namevalue10000/valuedescriptionDetermine the number of map task used in the follow up map join job for a skew join.It should be used together with hive.skewjoin.mapjoin.min.split to perform a fine grained control./description/propertypropertynamehive.skewjoin.mapjoin.min.split/namevalue33554432/valuedescriptionDetermine the number of map task at most used in the follow up map join job for a skew join by specifying the minimum split size. It should be used together with hive.skewjoin.mapjoin.map.tasks to perform a fine grained control./description/propertypropertynamehive.heartbeat.interval/namevalue1000/valuedescriptionSend a heartbeat after this interval - used by mapjoin and filter operators/description/propertypropertynamehive.limit.row.max.size/namevalue100000/valuedescriptionWhen trying a smaller subset of data for simple LIMIT, how much size we need to guarantee each row to have at least./description/propertypropertynamehive.limit.optimize.limit.file/namevalue10/valuedescriptionWhen trying a smaller subset of data for simple LIMIT, maximum number of files we can sample./description/propertypropertynamehive.limit.optimize.enable/namevaluefalse/valuedescriptionWhether to enable to optimization to trying a smaller subset of data for simple LIMIT first./description/propertypropertynamehive.limit.optimize.fetch.max/namevalue50000/valuedescriptionMaximum number of rows allowed for a smaller subset of data for simple LIMIT, if it is a fetch query. Insert queries are not restricted by this limit./description/propertypropertynamehive.limit.pushdown.memory.usage/namevalue0.1/valuedescriptionExpects value between 0.0f and 1.0f.The fraction of available memory to be used for buffering rows in Reducesink operator for limit pushdown optimization./description/propertypropertynamehive.limit.query.max.table.partition/namevalue-1/valuedescriptionThis controls how many partitions can be scanned for each partitioned table.The default value -1 means no limit./description/propertypropertynamehive.auto.convert.join.hashtable.max.entries/namevalue4194304/valuedescriptionIf hive.auto.convert.join.noconditionaltask is off, this parameter does not take affect. However, if it is on, and the predicated number of entries in hashtable for a given join input is larger than this number, the join will not be converted to a mapjoin. The value -1 means no limit./description/propertypropertynamehive.hashtable.key.count.adjustment/namevalue1.0/valuedescriptionAdjustment to mapjoin hashtable size derived from table and column statistics; the estimate of the number of keys is divided by this value. If the value is 0, statistics are not usedand hive.hashtable.initialCapacity is used instead./description/propertypropertynamehive.hashtable.initialCapacity/namevalue100000/valuedescriptionInitial capacity of mapjoin hashtable if statistics are absent, or if hive.hashtable.key.count.adjustment is set to 0/description/propertypropertynamehive.hashtable.loadfactor/namevalue0.75/valuedescription//propertypropertynamehive.mapjoin.followby.gby.localtask.max.memory.usage/namevalue0.55/valuedescriptionThis number means how much memory the local task can take to hold the key/value into an in-memory hash table when this map join is followed by a group by. If the local tasks memory usage is more than this number, the local task will abort by itself. It means the data of the small table is too large to be held in memory./description/propertypropertynamehive.mapjoin.localtask.max.memory.usage/namevalue0.9/valuedescriptionThis number means how much memory the local task can take to hold the key/value into an in-memory hash table. If the local tasks memory usage is more than this number, the local task will abort by itself. It means the data of the small table is too large to be held in memory./description/propertypropertynamehive.mapjoin.check.memory.rows/namevalue100000/valuedescriptionThe number means after how many rows processed it needs to check the memory usage/description/propertypropertynamehive.debug.localtask/namevaluefalse/valuedescription//propertypropertynamehive.input.format/namevalueorg.apache.hadoop.hive.ql.io.CombineHiveInputFormat/valuedescriptionThe default input format. Set this to HiveInputFormat if you encounter problems with CombineHiveInputFormat./description/propertypropertynamehive.tez.input.format/namevalueorg.apache.hadoop.hive.ql.io.HiveInputFormat/valuedescriptionThe default input format for tez. Tez groups splits in the AM./description/propertypropertynamehive.tez.container.size/namevalue-1/valuedescriptionBy default Tez will spawn containers of the size of a mapper. This can be used to overwrite./description/propertypropertynamehive.tez.cpu.vcores/namevalue-1/valuedescriptionBy default Tez will ask for however many cpus map-reduce is configured to use per container.This can be used to overwrite./description/propertypropertynamehive.tez.java.opts/namevalue/descriptionBy default Tez will use the Java options from map tasks. This can be used to overwrite./description/propertypropertynamehive.tez.log.level/namevalueINFO/valuedescriptionThe log level to use for tasks executing as part of the DAG.Used only if hive.tez.java.opts is used to configure Java options./description/propertypropertynamehive.tez.hs2.user.access/namevaluetrue/valuedescriptionWhether to grant access to the hs2/hive user for queries/description/propertypropertynamehive.query.name/namevalue/descriptionThis named is used by Tez to set the dag name. This name in turn will appear on the Tez UI representing the work that was done./description/propertypropertynamehive.optimize.bucketingsorting/namevaluetrue/valuedescriptionDont create a reducer for enforcing bucketing/sorting for queries of the form: insert overwrite table T2 select * from T1;where T1 and T2 are bucketed/sorted by the same keys into the same number of buckets./description/propertypropertynamehive.mapred.partitioner/namevalueorg.apache.hadoop.hive.ql.io.DefaultHivePartitioner/valuedescription//propertypropertynamehive.enforce.sortmergebucketmapjoin/namevaluefalse/valuedescriptionIf the user asked for sort-merge bucketed map-side join, and it cannot be performed, should the query fail or not ?/description/propertypropertynamehive.enforce.bucketmapjoin/namevaluefalse/valuedescriptionIf the user asked for bucketed map-side join, and it cannot be performed, should the query fail or not ? For example, if the buckets in the tables being joined arenot a multiple of each other, bucketed map-side join cannot be performed, and thequery will fail if hive.enforce.bucketmapjoin is set to true./description/propertypropertynamehive.auto.convert.sortmerge.join/namevaluefalse/valuedescriptionWill the join be automatically converted to a sort-merge join, if the joined tables pass the criteria for sort-merge join./description/propertypropertynamehive.auto.convert.sortmerge.join.reduce.side/namevaluetrue/valuedescriptionWhether hive.auto.convert.sortmerge.join (if enabled) should be applied to reduce side./description/propertypropertynamehive.auto.convert.sortmerge.join.bigtable.selection.policy/namevalueorg.apache.hadoop.hive.ql.optimizer.AvgPartitionSizeBasedBigTableSelectorForAutoSMJ/valuedescriptionThe policy to choose the big table for automatic conversion to sort-merge join. By default, the table with the largest partitions is assigned the big table. All policies are:. based on position of the table - the leftmost table is selectedorg.apache.hadoop.hive.ql.optimizer.LeftmostBigTableSMJ.. based on total size (all the partitions selected in the query) of the table org.apache.hadoop.hive.ql.optimizer.TableSizeBasedBigTableSelectorForAutoSMJ.. based on average size (all the partitions selected in the query) of the table org.apache.hadoop.hive.ql.optimizer.AvgPartitionSizeBasedBigTableSelectorForAutoSMJ.New policies can be added in future./description/propertypropertynamehive.auto.convert.sortmerge.join.to.mapjoin/namevaluefalse/valuedescriptionIf hive.auto.convert.sortmerge.join is set to true, and a join was converted to a sort-merge join, this parameter decides whether each table should be tried as a big table, and effectively a map-join should betried. That would create a conditional task with n1 children for a n-way join (1 child for each table as thebig table), and the backup task will be the sort-merge join. In some cases, a map-join would be faster than asort-merge join, if there is no advantage of having the output bucketed and sorted. For example, if a very big sortedand bucketed table with few files (say 10 files) are being joined with a very small sorter and bucketed tablewith few files (10 files), the sort-merge join will only use 10 mappers, and a simple map-only join might be fasterif the complete small table can fit in memory, and a map-join can be performed./description/propertypropertynamehive.exec.script.trust/namevaluefalse/valuedescription//propertypropertynamehive.exec.rowoffset/namevaluefalse/valuedescriptionWhether to provide the row offset virtual column/description/propertypropertynamehive.optimize.index.filter/namevaluefalse/valuedescriptionWhether to enable automatic use of indexes/description/propertypropertynamehive.optimize.index.autoupdate/namevaluefalse/valuedescriptionWhether to update stale indexes automatically/description/propertypropertynamehive.optimize.ppd/namevaluetrue/valuedescriptionWhether to enable predicate pushdown/description/propertypropertynamehive.optimize.ppd.windowing/namevaluetrue/valuedescriptionWhether to enable predicate pushdown through windowing/description/propertypropertynamehive.ppd.recognizetransivity/namevaluetrue/valuedescriptionWhether to transitively replicate predicate filters over equijoin conditions./description/propertypropertynamehive.ppd.remove.duplicatefilters/namevaluetrue/valuedescriptionDuring query optimization, filters may be pushed down in the operator tree. If this config is true only pushed down filters remain in the operator tree, and the original filter is removed. If this config is false, the original filter is also left in the operator tree at the original place./description/propertypropertynamehive.optimize.point.lookup/namevaluetrue/valuedescriptionWhether to transform OR clauses in Filter operators into IN clauses/description/propertypropertynamehive.optimize.point.lookup.min/namevalue31/valuedescriptionMinimum number of OR clauses needed to transform into IN clauses/description/propertypropertynamehive.optimize.partition.columns.separate/namevaluetrue/valuedescriptionExtract partition columns from IN clauses/description/propertypropertynamehive.optimize.constant.propagation/namevaluetrue/valuedescriptionWhether to enable constant propagation optimizer/description/propertypropertynamehive.optimize.remove.identity.project/namevaluetrue/valuedescriptionRemoves identity project from operator tree/description/propertypropertynamehive.optimize.metadataonly/namevaluetrue/valuedescriptionWhether to eliminate scans of the tables from which no columns are selected. Notethat, when selecting from empty tables with data files, this can produce incorrectresults, so its disabled by default. It works correctly for normal tables./description/propertypropertynamehive.optimize.null.scan/namevaluetrue/valuedescriptionDont scan relations which are guaranteed to not generate any rows/description/propertypropertynamehive.optimize.ppd.storage/namevaluetrue/valuedescriptionWhether to push predicates down to storage handlers/description/propertypropertynamehive.optimize.groupby/namevaluetrue/valuedescriptionWhether to enable the bucketed group by from bucketed partitions/tables./description/propertypropertynamehive.optimize.bucketmapjoin/namevaluefalse/valuedescriptionWhether to try bucket mapjoin/description/propertypropertynamehive.optimize.bucketmapjoin.sortedmerge/namevaluefalse/valuedescriptionWhether to try sorted bucket merge map join/description/propertypropertynamehive.optimize.reducededuplication/namevaluetrue/valuedescriptionRemove extra map-reduce jobs if the data is already clustered by the same key which needs to be used again. This should always be set to true. Since it is a new feature, it has been made configurable./description/propertypropertynamehive.optimize.reducededuplication.min.reducer/namevalue4/valuedescriptionReduce deduplication merges two RSs by moving key/parts/reducer-num of the child RS to parent RS. That means if reducer-num of the child RS is fixed (order by or forced bucketing) and small, it can make very slow, single MR.The optimization will be automatically disabled if number of reducers would be less than specified value./description/propertypropertynamehive.optimize.sort.dynamic.partition/namevaluefalse/valuedescriptionWhen enabled dynamic partitioning column will be globally sorted.This way we can keep only one record writer open for each partition valuein the reducer thereby reducing the memory pressure on reducers./description/propertypropertynamehive.optimize.sampling.orderby/namevaluefalse/valuedescriptionUses sampling on order-by clause for parallel execution./description/propertypropertynamehive.optimize.sampling.orderby.number/namevalue1000/valuedescriptionTotal number of samples to be obtained./description/propertypropertynamehive.optimize.sampling.orderby.percent/namevalue0.1/valuedescriptionExpects value between 0.0f and 1.0f.Probability with which a row will be chosen./description/propertypropertynamehive.optimize.distinct.rewrite/namevaluetrue/valuedescriptionWhen applicable this optimization rewrites distinct aggregates from a single stage to multi-stage aggregation. This may not be optimal in all cases. Ideally, whether to trigger it or not should be cost based decision. Until Hive formalizes cost model for this, this is config driven./description/propertypropertynamehive.optimize.union.remove/namevaluefalse/valuedescriptionWhether to remove the union and push the operators between union and the filesink above union. This avoids an extra scan of the output by union. This is independently useful for unionqueries, and specially useful when hive.optimize.skewjoin.compiletime is set to true, since anextra union is inserted.The merge is triggered if either of hive.merge.mapfiles or hive.merge.mapredfiles is set to true.If the user has set hive.merge.mapfiles to true and hive.merge.mapredfiles to false, the idea was thenumber of reducers are few, so the number of files anyway are small. However, with this optimization,we are increasing the number of files possibly by a big margin. So, we merge aggressively./description/propertypropertynamehive.optimize.correlation/namevaluefalse/valuedescriptionexploit intra-query correlations./description/propertypropertynamehive.optimize.limittranspose/namevaluefalse/valuedescriptionWhether to push a limit through left/right outer join or union. If the value is true and the size of the outerinput is reduced enough (as specified in hive.optimize.limittranspose.reduction), the limit is pushedto the outer input or union; to remain semantically correct, the limit is kept on top of the join or the union too./description/propertypropertynamehive.optimize.limittranspose.reductionpercentage/namevalue1.0/valuedescriptionWhen hive.optimize.limittranspose is true, this variable specifies the minimal reduction of thesize of the outer input of the join or input of the union that we should get in order to apply the rule./description/propertypropertynamehive.optimize.limittranspose.reductiontuples/namevalue0/valuedescriptionWhen hive.optimize.limittranspose is true, this variable specifies the minimal reduction in thenumber of tuples of the outer input of the join or the input of the union that you should get in order to apply the rule./description/propertypropertynamehive.optimize.filter.stats.reduction/namevaluefalse/valuedescriptionWhether to simplify comparisonexpressions in filter operators using column stats/description/propertypropertynamehive.optimize.skewjoin.compiletime/namevaluefalse/valuedescriptionWhether to create a separate plan for skewed keys for the tables in the join.This is based on the skewed keys stored in the metadata. At compile time, the plan is brokeninto different joins: one for the skewed keys, and the other for the remaining keys. And then,a union is performed for the 2 joins generated above. So unless the same skewed key is presentin both the joined tables, the join for the skewed key will be performed as a map-side join.The main difference between this parameter and hive.optimize.skewjoin is that this parameteruses the skew information stored in the metastore to optimize the plan at compile time itself.If there is no skew information in the metadata, this parameter will not have any affect.Both hive.optimize.skewjoin.compiletime and hive.optimize.skewjoin should be set to true.Ideally, hive.optimize.skewjoin should be renamed as hive.optimize.skewjoin.runtime, but not doingso for backward compatibility.If the skew information is correctly stored in the metadata, hive.optimize.skewjoin.compiletimewould change the query plan to take care of it, and hive.optimize.skewjoin will be a no-op./description/propertypropertynamehive.optimize.cte.materialize.threshold/namevalue-1/valuedescriptionIf the number of references to a CTE clause exceeds this threshold, Hive will materialize itbefore executing the main query block. -1 will disable this feature./description/propertypropertynamehive.optimize.index.filter.compact.minsize/namevalue5368709120/valuedescriptionMinimum size (in bytes) of the inputs on which a compact index is automatically used./description/propertypropertynamehive.optimize.index.filter.compact.maxsize/namevalue-1/valuedescriptionMaximum size (in bytes) of the inputs on which a compact index is automatically used. A negative number is equivalent to infinity./description/propertypropertynamehive.index.compact.query.max.entries/namevalue10000000/valuedescriptionThe maximum number of index entries to read during a query that uses the compact index. Negative value is equivalent to infinity./description/propertypropertynamehive.index.compact.query.max.size/namevalue10737418240/valuedescriptionThe maximum number of bytes that a query using the compact index can read. Negative value is equivalent to infinity./description/propertypropertynamehive.index.compact.binary.search/namevaluetrue/valuedescriptionWhether or not to use a binary search to find the entries in an index table that match the filter, where possible/description/propertypropertynamehive.stats.autogather/namevaluetrue/valuedescriptionA flag to gather statistics (only basic) automatically during the INSERT OVERWRITE command./description/propertypropertynamehive.stats.column.autogather/namevaluefalse/valuedescriptionA flag to gather column statistics automatically./description/propertypropertynamehive.stats.dbclass/namevaluefs/valuedescriptionExpects one of the pattern in [custom, fs].The storage that stores temporary Hive statistics. In filesystem based statistics collection (fs), each task writes statistics it has collected in a file on the filesystem, which will be aggregated after the job has finished. Supported values are fs (filesystem) and custom as defined in StatsSetupConst.java./description/propertypropertynamehive.stats.default.publisher/namevalue/descriptionThe Java class (implementing the StatsPublisher interface) that is used by default if hive.stats.dbclass is custom type./description/propertypropertynamehive.stats.default.aggregator/namevalue/descriptionThe Java class (implementing the StatsAggregator interface) that is used by default if hive.stats.dbclass is custom type./description/propertypropertynamehive.stats.atomic/namevaluefalse/valuedescriptionwhether to update metastore stats only if all stats are available/description/propertypropertynamehive.client.stats.counters/namevalue/descriptionSubset of counters that should be of interest for hive.client.stats.publishers (when one wants to limit their publishing). Non-display names should be used/description/propertypropertynamehive.stats.reliable/namevaluefalse/valuedescriptionWhether queries will fail because stats cannot be collected completely accurately. If this is set to true, reading/writing from/into a partition may fail because the statscould not be computed accurately./description/propertypropertynamehive.analyze.stmt.collect.partlevel.stats/namevaluetrue/valuedescriptionanalyze table T compute statistics for columns. Queries like these should compute partitionlevel stats for partitioned table even when no part spec is specified./description/propertypropertynamehive.stats.gather.num.threads/namevalue10/valuedescriptionNumber of threads used by partialscan/noscan analyze command for partitioned tables.This is applicable only for file formats that implement StatsProvidingRecordReader (like ORC)./description/propertypropertynamehive.stats.collect.tablekeys/namevaluefalse/valuedescriptionWhether join and group by keys on tables are derived and maintained in the QueryPlan.This is useful to identify how tables are accessed and to determine if they should be bucketed./description/propertypropertynamehive.stats.collect.scancols/namevaluefalse/valuedescriptionWhether column accesses are tracked in the QueryPlan.This is useful to identify how tables are accessed and to determine if there are wasted columns that can be trimmed./description/propertypropertynamehive.stats.ndv.error/namevalue20.0/valuedescriptionStandard error expressed in percentage. Provides a tradeoff between accuracy and compute cost. A lower value for error indicates higher accuracy and a higher compute cost./description/propertypropertynamehive.metastore.stats.ndv.densityfunction/namevaluefalse/valuedescriptionWhether to use density function to estimate the NDV for the whole table based on the NDV of partitions/description/propertypropertynamehive.stats.max.variable.length/namevalue100/valuedescriptionTo estimate the size of data flowing through operators in Hive/Tez(for reducer estimation etc.),average row size is multiplied with the total number of rows coming out of each operator.Average row size is computed from average column size of all columns in the row. In the absenceof column statistics, for variable length columns (like string, bytes etc.), this value will beused. For fixed length columns their corresponding Java equivalent sizes are used(float - 4 bytes, double - 8 bytes etc.)./description/propertypropertynamehive.stats.list.num.entries/namevalue10/valuedescriptionTo estimate the size of data flowing through operators in Hive/Tez(for reducer estimation etc.),average row size is multiplied with the total number of rows coming out of each operator.Average row size is computed from average column size of all columns in the row. In the absenceof column statistics and for variable length complex columns like list, the average number ofentries/values can be specified using this config./description/propertypropertynamehive.stats.map.num.entries/namevalue10/valuedescriptionTo estimate the size of data flowing through operators in Hive/Tez(for reducer estimation etc.),average row size is multiplied with the total number of rows coming out of each operator.Average row size is computed from average column size of all columns in the row. In the absenceof column statistics and for variable length complex columns like map, the average number ofentries/values can be specified using this config./description/propertypropertynamehive.stats.fetch.partition.stats/namevaluetrue/valuedescriptionAnnotation of operator tree with statistics information requires partition level basicstatistics like number of rows, data size and file size. Partition statistics are fetched frommetastore. Fetching partition statistics for each needed partition can be expensive when thenumber of partitions is high. This flag can be used to disable fetching of partition statisticsfrom metastore. When this flag is disabled, Hive will make calls to filesystem to get file sizesand will estimate the number of rows from row schema./description/propertypropertynamehive.stats.fetch.column.stats/namevaluefalse/valuedescriptionAnnotation of operator tree with statistics information requires column statistics.Column statistics are fetched from metastore. Fetching column statistics for each needed columncan be expensive when the number of columns is high. This flag can be used to disable fetchingof column statistics from metastore./description/propertypropertynamehive.stats.join.factor/namevalue1.1/valuedescriptionHive/Tez optimizer estimates the data size flowing through each of the operators. JOIN operatoruses column statistics to estimate the number of rows flowing out of it and hence the data size.In the absence of column statistics, this factor determines the amount of rows that flows outof JOIN operator./description/propertypropertynamehive.stats.deserialization.factor/namevalue1.0/valuedescriptionHive/Tez optimizer estimates the data size flowing through each of the operators. In the absenceof basic statistics like number of rows and data size, file size is used to estimate the numberof rows and data size. Since files in tables/partitions are serialized (and optionallycompressed) the estimates of number of rows and data size cannot be reliably determined.This factor is multiplied with the file size to account for serialization and compression./description/propertypropertynamehive.stats.filter.in.factor/namevalue1.0/valuedescriptionCurrently column distribution is assumed to be uniform. This can lead to overestimation/underestimationin the number of rows filtered by a certain operator, which in turn might lead to overprovision orunderprovision of resources. This factor is applied to the cardinality estimation of IN clauses infilter operators./description/propertypropertynamehive.support.concurrency/namevaluefalse/valuedescriptionWhether Hive supports concurrency control or not. A ZooKeeper instance must be up and running when using zookeeper Hive lock manager /description/propertypropertynamehive.lock.manager/namevalueorg.apache.hadoop.hive.ql.lockmgr.zookeeper.ZooKeeperHiveLockManager/valuedescription//propertypropertynamehive.lock.numretries/namevalue100/valuedescriptionThe number of times you want to try to get all the locks/description/propertypropertynamehive.unlock.numretries/namevalue10/valuedescriptionThe number of times you want to retry to do one unlock/description/propertypropertynamehive.lock.sleep.between.retries/namevalue60s/valuedescriptionExpects a time value with unit (d/day, h/hour, m/min, s/sec, ms/msec, us/usec, ns/nsec), which is sec if not specified.The time should be in between 0 sec (exclusive) and 9223372036854775807 sec (exclusive).The maximum sleep time between various retries/description/propertypropertynamehive.lock.mapred.only.operation/namevaluefalse/valuedescriptionThis param is to control whether or not only do lock on queriesthat need to execute at least one mapred job./description/propertypropertynamehive.zookeeper.quorum/namevaluenode01,node02,node03/valuedescriptionList of ZooKeeper servers to talk to. This is needed for: 1. Read/write locks - when hive.lock.manager is set to org.apache.hadoop.hive.ql.lockmgr.zookeeper.ZooKeeperHiveLockManager, 2. When HiveServer2 supports service discovery via Zookeeper.3. For delegation token storage if zookeeper store is used, ifhive.cluster.delegation.token.store.zookeeper.connectString is not set4. LLAP daemon registry service/description/propertypropertynamehive.zookeeper.client.port/namevalue2181/valuedescriptionThe port of ZooKeeper servers to talk to.If the list of Zookeeper servers specified in hive.zookeeper.quorumdoes not contain port numbers, this value is used./description/propertypropertynamehive.zookeeper.session.timeout/namevalue1200000ms/valuedescriptionExpects a time value with unit (d/day, h/hour, m/min, s/sec, ms/msec, us/usec, ns/nsec), which is msec if not specified.ZooKeeper clients session timeout (in milliseconds). The client is disconnected, and as a result, all locks released, if a heartbeat is not sent in the timeout./description/propertypropertynamehive.zookeeper.namespace/namevaluehive_zookeeper_namespace/valuedescriptionThe parent node under which all ZooKeeper nodes are created./description/propertypropertynamehive.zookeeper.clean.extra.nodes/namevaluefalse/valuedescriptionClean extra nodes at the end of the session./description/propertypropertynamehive.zookeeper.connection.max.retries/namevalue3/valuedescriptionMax number of times to retry when connecting to the ZooKeeper server./description/propertypropertynamehive.zookeeper.connection.basesleeptime/namevalue1000ms/valuedescriptionExpects a time value with unit (d/day, h/hour, m/min, s/sec, ms/msec, us/usec, ns/nsec), which is msec if not specified.Initial amount of time (in milliseconds) to wait between retrieswhen connecting to the ZooKeeper server when using ExponentialBackoffRetry policy./description/propertypropertynamehive.txn.manager/namevalueorg.apache.hadoop.hive.ql.lockmgr.DummyTxnManager/valuedescriptionSet to org.apache.hadoop.hive.ql.lockmgr.DbTxnManager as part of turning on Hivetransactions, which also requires appropriate settings for hive.compactor.initiator.on,hive.compactor.worker.threads, hive.support.concurrency (true), hive.enforce.bucketing(true), and hive.exec.dynamic.partition.mode (nonstrict).The default DummyTxnManager replicates pre-Hive-0.13 behavior and providesno transactions./description/propertypropertynamehive.txn.strict.locking.mode/namevaluetrue/valuedescriptionIn strict mode non-ACIDresources use standard R/W lock semantics, e.g. INSERT will acquire exclusive lock.In nonstrict mode, for non-ACID resources, INSERT will only acquire shared lock, whichallows two concurrent writes to the same partition but still lets lock manager preventDROP TABLE etc. when the table is being written to/description/propertypropertynamehive.txn.timeout/namevalue300s/valuedescriptionExpects a time value with unit (d/day, h/hour, m/min, s/sec, ms/msec, us/usec, ns/nsec), which is sec if not specified.time after which transactions are declared aborted if the client has not sent a heartbeat./description/propertypropertynamehive.txn.heartbeat.threadpool.size/namevalue5/valuedescriptionThe number of threads to use for heartbeating. For Hive CLI, 1 is enough. For HiveServer2, we need a few/description/propertypropertynamehive.txn.manager.dump.lock.state.on.acquire.timeout/namevaluefalse/valuedescriptionSet this to true so that when attempt to acquire a lock on resource times out, the current state of the lock manager is dumped to log file. This is for debugging. See also hive.lock.numretries and hive.lock.sleep.between.retries./description/propertypropertynamehive.max.open.txns/namevalue100000/valuedescriptionMaximum number of open transactions. If current open transactions reach this limit, future open transaction requests will be rejected, until this number goes below the limit./description/propertypropertynamehive.count.open.txns.interval/namevalue1s/valuedescriptionExpects a time value with unit (d/day, h/hour, m/min, s/sec, ms/msec, us/usec, ns/nsec), which is sec if not specified.Time in seconds between checks to count open transactions./description/propertypropertynamehive.txn.max.open.batch/namevalue1000/valuedescriptionMaximum number of transactions that can be fetched in one call to open_txns().This controls how many transactions streaming agents such as Flume or Storm opensimultaneously. The streaming agent then writes that number of entries into a singlefile (per Flume agent or Storm bolt). Thus increasing this value decreases the numberof delta files created by streaming agents. But it also increases the number of opentransactions that Hive has to track at any given time, which may negatively affectread performance./description/propertypropertynamehive.txn.retryable.sqlex.regex/namevalue/descriptionComma separated listof regular expression patterns for SQL state, error code, and error message ofretryable SQLExceptions, thats suitable for the metastore DB.For example: Cant serialize.*,40001$,^Deadlock,.*ORA-08176.*The string that the regex will be matched against is of the following form, where ex is a SQLException:ex.getMessage() (SQLState ex.getSQLState() , ErrorCode ex.getErrorCode() )/description/propertypropertynamehive.compactor.initiator.on/namevaluefalse/valuedescriptionWhether to run the initiator and cleaner threads on this metastore instance or not.Set this to true on one instance of the Thrift metastore service as part of turningon Hive transactions. For a complete list of parameters required for turning ontransactions, see hive.txn.manager./description/propertypropertynamehive.compactor.worker.threads/namevalue0/valuedescriptionHow many compactor worker threads to run on this metastore instance. Set this to apositive number on one or more instances of the Thrift metastore service as part ofturning on Hive transactions. For a complete list of parameters required for turningon transactions, see hive.txn.manager.Worker threads spawn MapReduce jobs to do compactions. They do not do the compactionsthemselves. Increasing the number of worker threads will decrease the time it takestables or partitions to be compacted once they are determined to need compaction.It will also increase the background load on the Hadoop cluster as more MapReduce jobswill be running in the background./description/propertypropertynamehive.compactor.worker.timeout/namevalue86400s/valuedescriptionExpects a time value with unit (d/day, h/hour, m/min, s/sec, ms/msec, us/usec, ns/nsec), which is sec if not specified.Time in seconds after which a compaction job will be declared failed and thecompaction re-queued./description/propertypropertynamehive.compactor.check.interval/namevalue300s/valuedescriptionExpects a time value with unit (d/day, h/hour, m/min, s/sec, ms/msec, us/usec, ns/nsec), which is sec if not specified.Time in seconds between checks to see if any tables or partitions need to becompacted. This should be kept high because each check for compaction requiresmany calls against the NameNode.Decreasing this value will reduce the time it takes for compaction to be startedfor a table or partition that requires compaction. However, checking if compactionis needed requires several calls to the NameNode for each table or partition thathas had a transaction done on it since the last major compaction. So decreasing thisvalue will increase the load on the NameNode./description/propertypropertynamehive.compactor.delta.num.threshold/namevalue10/valuedescriptionNumber of delta directories in a table or partition that will trigger a minorcompaction./description/propertypropertynamehive.compactor.delta.pct.threshold/namevalue0.1/valuedescriptionPercentage (fractional) size of the delta files relative to the base that will triggera major compaction. (1.0 100%, so the default 0.1 10%.)/description/propertypropertynamehive.compactor.max.num.delta/namevalue500/valuedescriptionMaximum number of delta files that the compactor will attempt to handle in a single job./description/propertypropertynamehive.compactor.abortedtxn.threshold/namevalue1000/valuedescriptionNumber of aborted transactions involving a given table or partition that will triggera major compaction./description/propertypropertynamehive.compactor.initiator.failed.compacts.threshold/namevalue2/valuedescriptionExpects value between 1 and 20.Number of consecutive compaction failures (per table/partition) after which automatic compactions will not be scheduled any more. Note that this must be less than hive.compactor.history.retention.failed./description/propertypropertynamehive.compactor.cleaner.run.interval/namevalue5000ms/valuedescriptionExpects a time value with unit (d/day, h/hour, m/min, s/sec, ms/msec, us/usec, ns/nsec), which is msec if not specified.Time between runs of the cleaner thread/description/propertypropertynamehive.compactor.job.queue/namevalue/descriptionUsed to specify name of Hadoop queue to whichCompaction jobs will be submitted. Set to empty string to let Hadoop choose the queue./description/propertypropertynamehive.compactor.history.retention.succeeded/namevalue3/valuedescriptionExpects value between 0 and 100.Determines how many successful compaction records will be retained in compaction history for a given table/partition./description/propertypropertynamehive.compactor.history.retention.failed/namevalue3/valuedescriptionExpects value between 0 and 100.Determines how many failed compaction records will be retained in compaction history for a given table/partition./description/propertypropertynamehive.compactor.history.retention.attempted/namevalue2/valuedescriptionExpects value between 0 and 100.Determines how many attempted compaction records will be retained in compaction history for a given table/partition./description/propertypropertynamehive.compactor.history.reaper.interval/namevalue2m/valuedescriptionExpects a time value with unit (d/day, h/hour, m/min, s/sec, ms/msec, us/usec, ns/nsec), which is msec if not specified.Determines how often compaction history reaper runs/description/propertypropertynamehive.timedout.txn.reaper.start/namevalue100s/valuedescriptionExpects a time value with unit (d/day, h/hour, m/min, s/sec, ms/msec, us/usec, ns/nsec), which is msec if not specified.Time delay of 1st reaper run after metastore start/description/propertypropertynamehive.timedout.txn.reaper.interval/namevalue180s/valuedescriptionExpects a time value with unit (d/day, h/hour, m/min, s/sec, ms/msec, us/usec, ns/nsec), which is msec if not specified.Time interval describing how often the reaper runs/description/propertypropertynamehive.writeset.reaper.interval/namevalue60s/valuedescriptionExpects a time value with unit (d/day, h/hour, m/min, s/sec, ms/msec, us/usec, ns/nsec), which is msec if not specified.Frequency of WriteSet reaper runs/description/propertypropertynamehive.merge.cardinality.check/namevaluetrue/valuedescriptionSet to true to ensure that each SQL Merge statement ensures that for each row in the targettable there is at most 1 matching row in the source table per SQL Specification./description/propertypropertynamehive.druid.indexer.segments.granularity/namevalueDAY/valuedescriptionExpects one of the pattern in [YEAR, MONTH, WEEK, DAY, HOUR, MINUTE, SECOND].Granularity for the segments created by the Druid storage handler/description/propertypropertynamehive.druid.indexer.partition.size.max/namevalue5000000/valuedescriptionMaximum number of records per segment partition/description/propertypropertynamehive.druid.indexer.memory.rownum.max/namevalue75000/valuedescriptionMaximum number of records in memory while storing data in Druid/description/propertypropertynamehive.druid.broker.address.default/namevaluelocalhost:8082/valuedescriptionAddress of the Druid broker. If we are querying Druid from Hive, this address needs to bedeclared/description/propertypropertynamehive.druid.coordinator.address.default/namevaluelocalhost:8081/valuedescriptionAddress of the Druid coordinator. It is used to check the load status of newly created segments/description/propertypropertynamehive.druid.select.threshold/namevalue10000/valuedescriptionWhen we can split a Select query, this is the maximum number of rows that we try to retrieveper query. In order to do that, we obtain the estimated size for the complete result. If thenumber of records of the query results is larger than this threshold, we split the query intotal number of rows/threshold parts across the time dimension. Note that we assume therecords to be split uniformly across the time dimension/description/propertypropertynamehive.druid.http.numConnection/namevalue20/valuedescriptionNumber of connections used bythe HTTP client./description/propertypropertynamehive.druid.http.read.timeout/namevaluePT1M/valuedescriptionRead timeout period for the HTTPclient in ISO8601 format (for example P2W, P3M, PT1H30M, PT0.750S), default is period of 1 minute./description/propertypropertynamehive.druid.sleep.time/namevaluePT10S/valuedescriptionSleep time between retries in ISO8601 format (for example P2W, P3M, PT1H30M, PT0.750S), default is period of 10 seconds./description/propertypropertynamehive.druid.basePersistDirectory/namevalue/tmp/valuedescriptionLocal temporary directory used to persist intermediate indexing state./description/propertypropertynamehive.druid.storage.storageDirectory/namevalue/druid/segments/valuedescriptiondruid deep storage location./description/propertypropertynamehive.druid.metadata.base/namevaluedruid/valuedescriptionDefault prefix for metadata tables/description/propertypropertynamehive.druid.metadata.db.type/namevaluemysql/valuedescriptionExpects one of the pattern in [mysql, postgres].Type of the metadata database./description/propertypropertynamehive.druid.metadata.username/namevalue/descriptionUsername to connect to Type of the metadata DB./description/propertypropertynamehive.druid.metadata.password/namevalue/descriptionPassword to connect to Type of the metadata DB./description/propertypropertynamehive.druid.metadata.uri/namevalue/descriptionURI to connect to the database (for example jdbc:mysql://hostname:port/DBName)./description/propertypropertynamehive.druid.working.directory/namevalue/tmp/workingDirectory/valuedescriptionDefault hdfs working directory used to store some intermediate metadata/description/propertypropertynamehive.druid.maxTries/namevalue5/valuedescriptionMaximum number of retries before giving up/description/propertypropertynamehive.druid.passiveWaitTimeMs/namevalue30000/valuedescriptionWait time in ms default to 30 seconds./description/propertypropertynamehive.hbase.wal.enabled/namevaluetrue/valuedescriptionWhether writes to HBase should be forced to the write-ahead log. Disabling this improves HBase write performance at the risk of lost writes in case of a crash./description/propertypropertynamehive.hbase.generatehfiles/namevaluefalse/valuedescriptionTrue when HBaseStorageHandler should generate hfiles instead of operate against the online table./description/propertypropertynamehive.hbase.snapshot.name/namevalue/descriptionThe HBase table snapshot name to use./description/propertypropertynamehive.hbase.snapshot.restoredir/namevalue/tmp/valuedescriptionThe directory in which to restore the HBase table snapshot./description/propertypropertynamehive.archive.enabled/namevaluefalse/valuedescriptionWhether archiving operations are permitted/description/propertypropertynamehive.optimize.index.groupby/namevaluefalse/valuedescriptionWhether to enable optimization of group-by queries using Aggregate indexes./description/propertypropertynamehive.outerjoin.supports.filters/namevaluetrue/valuedescription//propertypropertynamehive.fetch.task.conversion/namevaluemore/valuedescriptionExpects one of [none, minimal, more].Some select queries can be converted to single FETCH task minimizing latency.Currently the query should be single sourced not having any subquery and should not haveany aggregations or distincts (which incurs RS), lateral views and joins.0. none : disable hive.fetch.task.conversion1. minimal : SELECT STAR, FILTER on partition columns, LIMIT only2. more : SELECT, FILTER, LIMIT only (support TABLESAMPLE and virtual columns)/description/propertypropertynamehive.fetch.task.conversion.threshold/namevalue1073741824/valuedescriptionInput threshold for applying hive.fetch.task.conversion. If target table is native, input lengthis calculated by summation of file lengths. If its not native, storage handler for the tablecan optionally implement org.apache.hadoop.hive.ql.metadata.InputEstimator interface./description/propertypropertynamehive.fetch.task.aggr/namevaluefalse/valuedescriptionAggregation queries with no group-by clause (for example, select count(*) from src) executefinal aggregations in single reduce task. If this is set true, Hive delegates final aggregationstage to fetch task, possibly decreasing the query time./description/propertypropertynamehive.compute.query.using.stats/namevaluefalse/valuedescriptionWhen set to true Hive will answer a few queries like count(1) purely using statsstored in metastore. For basic stats collection turn on the config hive.stats.autogather to true.For more advanced stats collection need to run analyze table queries./description/propertypropertynamehive.fetch.output.serde/namevalueorg.apache.hadoop.hive.serde2.DelimitedJSONSerDe/valuedescriptionThe SerDe used by FetchTask to serialize the fetch output./description/propertypropertynamehive.cache.expr.evaluation/namevaluetrue/valuedescriptionIf true, the evaluation result of a deterministic expression referenced twice or morewill be cached.For example, in a filter condition like .. where key 10 100 or key 10 0the expression key 10 will be evaluated/cached once and reused for the followingexpression (key 10 0). Currently, this is applied only to expressions in selector filter operators./description/propertypropertynamehive.variable.substitute/namevaluetrue/valuedescriptionThis enables substitution using syntax like ${var} ${system:var} and ${env:var}./description/propertypropertynamehive.variable.substitute.depth/namevalue40/valuedescriptionThe maximum replacements the substitution engine will do./description/propertypropertynamehive.conf.validation/namevaluetrue/valuedescriptionEnables type checking for registered Hive configurations/description/propertypropertynamehive.semantic.analyzer.hook/namevalue/description//propertypropertynamehive.security.authorization.enabled/namevaluefalse/valuedescriptionenable or disable the Hive client authorization/description/propertypropertynamehive.security.authorization.manager/namevalueorg.apache.hadoop.hive.ql.security.authorization.plugin.sqlstd.SQLStdHiveAuthorizerFactory/valuedescriptionThe Hive client authorization manager class name. The user defined authorization class should implement interface org.apache.hadoop.hive.ql.security.authorization.HiveAuthorizationProvider./description/propertypropertynamehive.security.authenticator.manager/namevalueorg.apache.hadoop.hive.ql.security.HadoopDefaultAuthenticator/valuedescriptionhive client authenticator manager class name. The user defined authenticator should implement interface org.apache.hadoop.hive.ql.security.HiveAuthenticationProvider./description/propertypropertynamehive.security.metastore.authorization.manager/namevalueorg.apache.hadoop.hive.ql.security.authorization.DefaultHiveMetastoreAuthorizationProvider/valuedescriptionNames of authorization manager classes (comma separated) to be used in the metastorefor authorization. The user defined authorization class should implement interfaceorg.apache.hadoop.hive.ql.security.authorization.HiveMetastoreAuthorizationProvider.All authorization manager classes have to successfully authorize the metastore APIcall for the command execution to be allowed./description/propertypropertynamehive.security.metastore.authorization.auth.reads/namevaluetrue/valuedescriptionIf this is true, metastore authorizer authorizes read actions on database, table/description/propertypropertynamehive.security.metastore.authenticator.manager/namevalueorg.apache.hadoop.hive.ql.security.HadoopDefaultMetastoreAuthenticator/valuedescriptionauthenticator manager class name to be used in the metastore for authentication. The user defined authenticator should implement interface org.apache.hadoop.hive.ql.security.HiveAuthenticationProvider./description/propertypropertynamehive.security.authorization.createtable.user.grants/namevalue/descriptionthe privileges automatically granted to some users whenever a table gets created.An example like userX,userY:select;userZ:create will grant select privilege to userX and userY,and grant create privilege to userZ whenever a new table created./description/propertypropertynamehive.security.authorization.createtable.group.grants/namevalue/descriptionthe privileges automatically granted to some groups whenever a table gets created.An example like groupX,groupY:select;groupZ:create will grant select privilege to groupX and groupY,and grant create privilege to groupZ whenever a new table created./description/propertypropertynamehive.security.authorization.createtable.role.grants/namevalue/descriptionthe privileges automatically granted to some roles whenever a table gets created.An example like roleX,roleY:select;roleZ:create will grant select privilege to roleX and roleY,and grant create privilege to roleZ whenever a new table created./description/propertypropertynamehive.security.authorization.createtable.owner.grants/namevalue/descriptionThe privileges automatically granted to the owner whenever a table gets created.An example like select,drop will grant select and drop privilege to the ownerof the table. Note that the default gives the creator of a table no access to thetable (but see HIVE-8067)./description/propertypropertynamehive.security.authorization.task.factory/namevalueorg.apache.hadoop.hive.ql.parse.authorization.HiveAuthorizationTaskFactoryImpl/valuedescriptionAuthorization DDL task factory implementation/description/propertypropertynamehive.security.authorization.sqlstd.confwhitelist/namevalue/descriptionList of comma separated Java regexes. Configurations parameters that match theseregexes can be modified by user when SQL standard authorization is enabled.To get the default value, use the set lt;paramgt; command.Note that the hive.conf.restricted.list checks are still enforced after the white listcheck/description/propertypropertynamehive.security.authorization.sqlstd.confwhitelist.append/namevalue/descriptionList of comma separated Java regexes, to be appended to list set inhive.security.authorization.sqlstd.confwhitelist. Using this list insteadof updating the original list means that you can append to the defaultsset by SQL standard authorization instead of replacing it entirely./description/propertypropertynamehive.cli.print.header/namevaluefalse/valuedescriptionWhether to print the names of the columns in query output./description/propertypropertynamehive.cli.tez.session.async/namevaluetrue/valuedescriptionWhether to start Tezsession in background when running CLI with Tez, allowing CLI to be available earlier./description/propertypropertynamehive.error.on.empty.partition/namevaluefalse/valuedescriptionWhether to throw an exception if dynamic partition insert generates empty results./description/propertypropertynamehive.index.compact.file/namevalue/descriptioninternal variable/description/propertypropertynamehive.index.blockfilter.file/namevalue/descriptioninternal variable/description/propertypropertynamehive.index.compact.file.ignore.hdfs/namevaluefalse/valuedescriptionWhen true the HDFS location stored in the index file will be ignored at runtime.If the data got moved or the name of the cluster got changed, the index data should still be usable./description/propertypropertynamehive.exim.uri.scheme.whitelist/namevaluehdfs,pfile,file/valuedescriptionA comma separated list of acceptable URI schemes for import and export./description/propertypropertynamehive.exim.strict.repl.tables/namevaluetrue/valuedescriptionParameter that determines if regular (non-replication) export dumps can beimported on to tables that are the target of replication. If this parameter isset, regular imports will check if the destination table(if it exists) has a repl.last.id set on it. If so, it will fail./description/propertypropertynamehive.repl.task.factory/namevalueorg.apache.hive.hcatalog.api.repl.exim.EximReplicationTaskFactory/valuedescriptionParameter that can be used to override which ReplicationTaskFactory will beused to instantiate ReplicationTask events. Override for third party repl plugins/description/propertypropertynamehive.mapper.cannot.span.multiple.partitions/namevaluefalse/valuedescription//propertypropertynamehive.rework.mapredwork/namevaluefalse/valuedescriptionshould rework the mapred work or not.This is first introduced by SymlinkTextInputFormat to replace symlink files with real paths at compile time./description/propertypropertynamehive.exec.concatenate.check.index/namevaluetrue/valuedescriptionIf this is set to true, Hive will throw error when doingalter table tbl_name [partSpec] concatenate on a table/partitionthat has indexes on it. The reason the user want to set this to trueis because it can help user to avoid handling all index drop, recreation,rebuild work. This is very helpful for tables with thousands of partitions./description/propertypropertynamehive.io.exception.handlers/namevalue/descriptionA list of io exception handler class names. This is usedto construct a list exception handlers to handle exceptions thrownby record readers/description/propertypropertynamehive.log4j.file/namevalue/descriptionHive log4j configuration file.If the property is not set, then logging will be initialized using hive-log4j2.properties found on the classpath.If the property is set, the value must be a valid URI (java.net.URI, e.g. file:///tmp/my-logging.xml), which you can then extract a URL from and pass to PropertyConfigurator.configure(URL)./description/propertypropertynamehive.exec.log4j.file/namevalue/descriptionHive log4j configuration file for execution mode(sub command).If the property is not set, then logging will be initialized using hive-exec-log4j2.properties found on the classpath.If the property is set, the value must be a valid URI (java.net.URI, e.g. file:///tmp/my-logging.xml), which you can then extract a URL from and pass to PropertyConfigurator.configure(URL)./description/propertypropertynamehive.async.log.enabled/namevaluetrue/valuedescriptionWhether to enable Log4j2s asynchronous logging. Asynchronous logging can givesignificant performance improvement as logging will be handled in separate threadthat uses LMAX disruptor queue for buffering log messages.Refer https://logging.apache.org/log4j/2.x/manual/async.html for benefits anddrawbacks./description/propertypropertynamehive.log.explain.output/namevaluefalse/valuedescriptionWhether to log explain output for every query.When enabled, will log EXPLAIN EXTENDED output for the query at INFO log4j log level./description/propertypropertynamehive.explain.user/namevaluetrue/valuedescriptionWhether to show explain result at user level.When enabled, will log EXPLAIN output for the query at user level./description/propertypropertynamehive.autogen.columnalias.prefix.label/namevalue_c/valuedescriptionString used as a prefix when auto generating column alias.By default the prefix label will be appended with a column position number to form the column alias. Auto generation would happen if an aggregate function is used in a select clause without an explicit alias./description/propertypropertynamehive.autogen.columnalias.prefix.includefuncname/namevaluefalse/valuedescriptionWhether to include function name in the column alias auto generated by Hive./description/propertypropertynamehive.service.metrics.class/namevalueorg.apache.hadoop.hive.common.metrics.metrics2.CodahaleMetrics/valuedescriptionExpects one of [org.apache.hadoop.hive.common.metrics.metrics2.codahalemetrics, org.apache.hadoop.hive.common.metrics.legacymetrics].Hive metrics subsystem implementation class./description/propertypropertynamehive.service.metrics.reporter/namevalueJSON_FILE, JMX/valuedescriptionReporter type for metric class org.apache.hadoop.hive.common.metrics.metrics2.CodahaleMetrics, comma separated list of JMX, CONSOLE, JSON_FILE, HADOOP2/description/propertypropertynamehive.service.metrics.file.location/namevalue/tmp/report.json/valuedescriptionFor metric class org.apache.hadoop.hive.common.metrics.metrics2.CodahaleMetrics JSON_FILE reporter, the location of local JSON metrics file. This file will get overwritten at every interval./description/propertypropertynamehive.service.metrics.file.frequency/namevalue5s/valuedescriptionExpects a time value with unit (d/day, h/hour, m/min, s/sec, ms/msec, us/usec, ns/nsec), which is msec if not specified.For metric class org.apache.hadoop.hive.common.metrics.metrics2.CodahaleMetrics JSON_FILE reporter, the frequency of updating JSON metrics file./description/propertypropertynamehive.service.metrics.hadoop2.frequency/namevalue30s/valuedescriptionExpects a time value with unit (d/day, h/hour, m/min, s/sec, ms/msec, us/usec, ns/nsec), which is sec if not specified.For metric class org.apache.hadoop.hive.common.metrics.metrics2.CodahaleMetrics HADOOP2 reporter, the frequency of updating the HADOOP2 metrics system./description/propertypropertynamehive.service.metrics.hadoop2.component/namevaluehive/valuedescriptionComponent name to provide to Hadoop2 Metrics system. Ideally hivemetastore for the MetaStore and and hiveserver2 for HiveServer2./description/propertypropertynamehive.exec.perf.logger/namevalueorg.apache.hadoop.hive.ql.log.PerfLogger/valuedescriptionThe class responsible for logging client side performance metrics. Must be a subclass of org.apache.hadoop.hive.ql.log.PerfLogger/description/propertypropertynamehive.start.cleanup.scratchdir/namevaluefalse/valuedescriptionTo cleanup the Hive scratchdir when starting the Hive Server/description/propertypropertynamehive.scratchdir.lock/namevaluefalse/valuedescriptionTo hold a lock file in scratchdir to prevent to be removed by cleardanglingscratchdir/description/propertypropertynamehive.insert.into.multilevel.dirs/namevaluefalse/valuedescriptionWhere to insert into multilevel directories likeinsert directory /HIVEFT25686/chinna/ from table/description/propertypropertynamehive.warehouse.subdir.inherit.perms/namevaluetrue/valuedescriptionSet this to false if the table directories should be createdwith the permissions derived from dfs umask instead ofinheriting the permission of the warehouse or database directory./description/propertypropertynamehive.insert.into.external.tables/namevaluetrue/valuedescriptionwhether insert into external tables is allowed/description/propertypropertynamehive.exec.temporary.table.storage/namevaluedefault/valuedescriptionExpects one of [memory, ssd, default].Define the storage policy for temporary tables.Choices between memory, ssd and default/description/propertypropertynamehive.exec.driver.run.hooks/namevalue/descriptionA comma separated list of hooks which implement HiveDriverRunHook. Will be run at the beginning and end of Driver.run, these will be run in the order specified./description/propertypropertynamehive.ddl.output.format/namevalue/descriptionThe data format to use for DDL output. One of text (for humanreadable text) or json (for a json object)./description/propertypropertynamehive.entity.separator/namevalue/valuedescriptionSeparator used to construct names of tables and partitions. For example, dbnametablenamepartitionname/description/propertypropertynamehive.entity.capture.transform/namevaluefalse/valuedescriptionCompiler to capture transform URI referred in the query/description/propertypropertynamehive.display.partition.cols.separately/namevaluetrue/valuedescriptionIn older Hive version (0.10 and earlier) no distinction was made betweenpartition columns or non-partition columns while displaying columns in describetable. From 0.12 onwards, they are displayed separately. This flag will let youget old behavior, if desired. See, test-case in patch for HIVE-6689./description/propertypropertynamehive.ssl.protocol.blacklist/namevalueSSLv2,SSLv3/valuedescriptionSSL Versions to disable for all Hive Servers/description/propertypropertynamehive.server2.clear.dangling.scratchdir/namevaluefalse/valuedescriptionClear dangling scratch dir periodically in HS2/description/propertypropertynamehive.server2.clear.dangling.scratchdir.interval/namevalue1800s/valuedescriptionExpects a time value with unit (d/day, h/hour, m/min, s/sec, ms/msec, us/usec, ns/nsec), which is sec if not specified.Interval to clear dangling scratch dir periodically in HS2/description/propertypropertynamehive.server2.sleep.interval.between.start.attempts/namevalue60s/valuedescriptionExpects a time value with unit (d/day, h/hour, m/min, s/sec, ms/msec, us/usec, ns/nsec), which is msec if not specified.The time should be in between 0 msec (inclusive) and 9223372036854775807 msec (inclusive).Amount of time to sleep between HiveServer2 start attempts. Primarily meant for tests/description/propertypropertynamehive.server2.max.start.attempts/namevalue30/valuedescriptionExpects value bigger than 0.Number of times HiveServer2 will attempt to start before exiting, sleeping 60 seconds between retries. The default of 30 will keep trying for 30 minutes./description/propertypropertynamehive.server2.support.dynamic.service.discovery/namevaluefalse/valuedescriptionWhether HiveServer2 supports dynamic service discovery for its clients. To support this, each instance of HiveServer2 currently uses ZooKeeper to register itself, when it is brought up. JDBC/ODBC clients should use the ZooKeeper ensemble: hive.zookeeper.quorum in their connection string./description/propertypropertynamehive.server2.zookeeper.namespace/namevaluehiveserver2/valuedescriptionThe parent node in ZooKeeper used by HiveServer2 when supporting dynamic service discovery./description/propertypropertynamehive.server2.zookeeper.publish.configs/namevaluetrue/valuedescriptionWhether we should publish HiveServer2s configs to ZooKeeper./description/propertypropertynamehive.server2.global.init.file.location/namevalue${env:HIVE_CONF_DIR}/valuedescriptionEither the location of a HS2 global init file or a directory containing a .hiverc file. If the property is set, the value must be a valid path to an init file or directory where the init file is located./description/propertypropertynamehive.server2.transport.mode/namevaluebinary/valuedescriptionExpects one of [binary, http].Transport mode of HiveServer2./description/propertypropertynamehive.server2.thrift.bind.host/namevalue/descriptionBind host on which to run the HiveServer2 Thrift service./description/propertypropertynamehive.driver.parallel.compilation/namevaluefalse/valuedescriptionWhether toenable parallel compilation of the queries between sessions and within the same session on HiveServer2. The default is false./description/propertypropertynamehive.server2.compile.lock.timeout/namevalue0s/valuedescriptionExpects a time value with unit (d/day, h/hour, m/min, s/sec, ms/msec, us/usec, ns/nsec), which is sec if not specified.Number of seconds a request will wait to acquire the compile lock before giving up. Setting it to 0s disables the timeout./description/propertypropertynamehive.server2.parallel.ops.in.session/namevaluetrue/valuedescriptionWhether to allow several parallel operations (such as SQL statements) in one session./description/propertypropertynamehive.server2.webui.host/namevalue0.0.0.0/valuedescriptionThe host address the HiveServer2 WebUI will listen on/description/propertypropertynamehive.server2.webui.port/namevalue10002/valuedescriptionThe port the HiveServer2 WebUI will listen on. This can beset to 0 or a negative integer to disable the web UI/description/propertypropertynamehive.server2.webui.max.threads/namevalue50/valuedescriptionThe max HiveServer2 WebUI threads/description/propertypropertynamehive.server2.webui.use.ssl/namevaluefalse/valuedescriptionSet this to true for using SSL encryption for HiveServer2 WebUI./description/propertypropertynamehive.server2.webui.keystore.path/namevalue/descriptionSSL certificate keystore location for HiveServer2 WebUI./description/propertypropertynamehive.server2.webui.keystore.password/namevalue/descriptionSSL certificate keystore password for HiveServer2 WebUI./description/propertypropertynamehive.server2.webui.use.spnego/namevaluefalse/valuedescriptionIf true, the HiveServer2 WebUI will be secured with SPNEGO. Clients must authenticate with Kerberos./description/propertypropertynamehive.server2.webui.spnego.keytab/namevalue/descriptionThe path to the Kerberos Keytab file containing the HiveServer2 WebUI SPNEGO service principal./description/propertypropertynamehive.server2.webui.spnego.principal/namevalueHTTP/_HOSTEXAMPLE.COM/valuedescriptionThe HiveServer2 WebUI SPNEGO service principal.The special string _HOST will be replaced automatically with the value of hive.server2.webui.host or the correct host name./description/propertypropertynamehive.server2.webui.max.historic.queries/namevalue25/valuedescriptionThe maximum number of past queries to show in HiverSever2 WebUI./description/propertypropertynamehive.server2.tez.default.queues/namevalue/descriptionA list of comma separated values corresponding to YARN queues of the same name.When HiveServer2 is launched in Tez mode, this configuration needs to be setfor multiple Tez sessions to run in parallel on the cluster./description/propertypropertynamehive.server2.tez.sessions.per.default.queue/namevalue1/valuedescriptionA positive integer that determines the number of Tez sessions that should belaunched on each of the queues specified by hive.server2.tez.default.queues.Determines the parallelism on each queue./description/propertypropertynamehive.server2.tez.initialize.default.sessions/namevaluefalse/valuedescriptionThis flag is used in HiveServer2 to enable a user to use HiveServer2 withoutturning on Tez for HiveServer2. The user could potentially want to run queriesover Tez without the pool of sessions./description/propertypropertynamehive.server2.tez.session.lifetime/namevalue162h/valuedescriptionExpects a time value with unit (d/day, h/hour, m/min, s/sec, ms/msec, us/usec, ns/nsec), which is hour if not specified.The lifetime of the Tez sessions launched by HS2 when default sessions are enabled.Set to 0 to disable session expiration./description/propertypropertynamehive.server2.tez.session.lifetime.jitter/namevalue3h/valuedescriptionExpects a time value with unit (d/day, h/hour, m/min, s/sec, ms/msec, us/usec, ns/nsec), which is hour if not specified.The jitter for Tez session lifetime; prevents all the sessions from restarting at once./description/propertypropertynamehive.server2.tez.sessions.init.threads/namevalue16/valuedescriptionIf hive.server2.tez.initialize.default.sessions is enabled, the maximum number ofthreads to use to initialize the default sessions./description/propertypropertynamehive.server2.tez.sessions.restricted.configs/namevalue/descriptionThe configuration settings that cannot be set when submitting jobs to HiveServer2. Ifany of these are set to values different from those in the server configuration, anexception will be thrown./description/propertypropertynamehive.server2.tez.sessions.custom.queue.allowed/namevaluetrue/valuedescriptionExpects one of [true, false, ignore].Whether Tez session pool should allow submitting queries to custom queues. The optionsare true, false (error out), ignore (accept the query but ignore the queue setting)./description/propertypropertynamehive.server2.logging.operation.enabled/namevaluetrue/valuedescriptionWhen true, HS2 will save operation logs and make them available for clients/description/propertypropertynamehive.server2.logging.operation.log.location/namevalue/opt/module/hive/apache-hive-2.2.0-bin/tmp/${user.name}/operation_logs/valuedescriptionTop level directory where operation logs are stored if logging functionality is enabled/description/propertypropertynamehive.server2.logging.operation.level/namevalueEXECUTION/valuedescriptionExpects one of [none, execution, performance, verbose].HS2 operation logging mode available to clients to be set at session level.For this to work, hive.server2.logging.operation.enabled should be set to true.NONE: Ignore any loggingEXECUTION: Log completion of tasksPERFORMANCE: Execution Performance logs VERBOSE: All logs/description/propertypropertynamehive.server2.metrics.enabled/namevaluefalse/valuedescriptionEnable metrics on the HiveServer2./description/propertypropertynamehive.server2.thrift.http.port/namevalue10001/valuedescriptionPort number of HiveServer2 Thrift interface when hive.server2.transport.mode is http./description/propertypropertynamehive.server2.thrift.http.path/namevaluecliservice/valuedescriptionPath component of URL endpoint when in HTTP mode./description/propertypropertynamehive.server2.thrift.max.message.size/namevalue104857600/valuedescriptionMaximum message size in bytes a HS2 server will accept./description/propertypropertynamehive.server2.thrift.http.max.idle.time/namevalue1800s/valuedescriptionExpects a time value with unit (d/day, h/hour, m/min, s/sec, ms/msec, us/usec, ns/nsec), which is msec if not specified.Maximum idle time for a connection on the server when in HTTP mode./description/propertypropertynamehive.server2.thrift.http.worker.keepalive.time/namevalue60s/valuedescriptionExpects a time value with unit (d/day, h/hour, m/min, s/sec, ms/msec, us/usec, ns/nsec), which is sec if not specified.Keepalive time for an idle http worker thread. When the number of workers exceeds min workers, excessive threads are killed after this time interval./description/propertypropertynamehive.server2.thrift.http.request.header.size/namevalue6144/valuedescriptionRequest header size in bytes, when using HTTP transport mode. Jetty defaults used./description/propertypropertynamehive.server2.thrift.http.response.header.size/namevalue6144/valuedescriptionResponse header size in bytes, when using HTTP transport mode. Jetty defaults used./description/propertypropertynamehive.server2.thrift.http.cookie.auth.enabled/namevaluetrue/valuedescriptionWhen true, HiveServer2 in HTTP transport mode, will use cookie based authentication mechanism./description/propertypropertynamehive.server2.thrift.http.cookie.max.age/namevalue86400s/valuedescriptionExpects a time value with unit (d/day, h/hour, m/min, s/sec, ms/msec, us/usec, ns/nsec), which is sec if not specified.Maximum age in seconds for server side cookie used by HS2 in HTTP mode./description/propertypropertynamehive.server2.thrift.http.cookie.domain/namevalue/descriptionDomain for the HS2 generated cookies/description/propertypropertynamehive.server2.thrift.http.cookie.path/namevalue/descriptionPath for the HS2 generated cookies/description/propertypropertynamehive.server2.thrift.http.cookie.is.secure/namevaluetrue/valuedescriptionDeprecated: Secure attribute of the HS2 generated cookie (this is automatically enabled for SSL enabled HiveServer2)./description/propertypropertynamehive.server2.thrift.http.cookie.is.httponly/namevaluetrue/valuedescriptionHttpOnly attribute of the HS2 generated cookie./description/propertypropertynamehive.server2.thrift.port/namevalue10000/valuedescriptionPort number of HiveServer2 Thrift interface when hive.server2.transport.mode is binary./description/propertypropertynamehive.server2.thrift.sasl.qop/namevalueauth/valuedescriptionExpects one of [auth, auth-int, auth-conf].Sasl QOP value; set it to one of following values to enable higher levels ofprotection for HiveServer2 communication with clients.Setting hadoop.rpc.protection to a higher level than HiveServer2 does notmake sense in most situations. HiveServer2 ignores hadoop.rpc.protection in favorof hive.server2.thrift.sasl.qop.auth - authentication only (default)auth-int - authentication plus integrity protectionauth-conf - authentication plus integrity and confidentiality protectionThis is applicable only if HiveServer2 is configured to use Kerberos authentication./description/propertypropertynamehive.server2.thrift.min.worker.threads/namevalue5/valuedescriptionMinimum number of Thrift worker threads/description/propertypropertynamehive.server2.thrift.max.worker.threads/namevalue500/valuedescriptionMaximum number of Thrift worker threads/description/propertypropertynamehive.server2.thrift.exponential.backoff.slot.length/namevalue100ms/valuedescriptionExpects a time value with unit (d/day, h/hour, m/min, s/sec, ms/msec, us/usec, ns/nsec), which is msec if not specified.Binary exponential backoff slot time for Thrift clients during login to HiveServer2,for retries until hitting Thrift client timeout/description/propertypropertynamehive.server2.thrift.login.timeout/namevalue20s/valuedescriptionExpects a time value with unit (d/day, h/hour, m/min, s/sec, ms/msec, us/usec, ns/nsec), which is sec if not specified.Timeout for Thrift clients during login to HiveServer2/description/propertypropertynamehive.server2.thrift.worker.keepalive.time/namevalue60s/valuedescriptionExpects a time value with unit (d/day, h/hour, m/min, s/sec, ms/msec, us/usec, ns/nsec), which is sec if not specified.Keepalive time (in seconds) for an idle worker thread. When the number of workers exceeds min workers, excessive threads are killed after this time interval./description/propertypropertynamehive.server2.async.exec.threads/namevalue100/valuedescriptionNumber of threads in the async thread pool for HiveServer2/description/propertypropertynamehive.server2.async.exec.shutdown.timeout/namevalue10s/valuedescriptionExpects a time value with unit (d/day, h/hour, m/min, s/sec, ms/msec, us/usec, ns/nsec), which is sec if not specified.How long HiveServer2 shutdown will wait for async threads to terminate./description/propertypropertynamehive.server2.async.exec.wait.queue.size/namevalue100/valuedescriptionSize of the wait queue for async thread pool in HiveServer2.After hitting this limit, the async thread pool will reject new requests./description/propertypropertynamehive.server2.async.exec.keepalive.time/namevalue10s/valuedescriptionExpects a time value with unit (d/day, h/hour, m/min, s/sec, ms/msec, us/usec, ns/nsec), which is sec if not specified.Time that an idle HiveServer2 async thread (from the thread pool) will wait for a new taskto arrive before terminating/description/propertypropertynamehive.server2.async.exec.async.compile/namevaluefalse/valuedescriptionWhether to enable compiling async query asynchronously. If enabled, it is unknown if the query will have any resultset before compilation completed./description/propertypropertynamehive.server2.long.polling.timeout/namevalue5000ms/valuedescriptionExpects a time value with unit (d/day, h/hour, m/min, s/sec, ms/msec, us/usec, ns/nsec), which is msec if not specified.Time that HiveServer2 will wait before responding to asynchronous calls that use long polling/description/propertypropertynamehive.session.impl.classname/namevalue/descriptionClassname for custom implementation of hive session/description/propertypropertynamehive.session.impl.withugi.classname/namevalue/descriptionClassname for custom implementation of hive session with UGI/description/propertypropertynamehive.server2.authentication/namevalueNONE/valuedescriptionExpects one of [nosasl, none, ldap, kerberos, pam, custom].Client authentication types.NONE: no authentication checkLDAP: LDAP/AD based authenticationKERBEROS: Kerberos/GSSAPI authenticationCUSTOM: Custom authentication provider(Use with property hive.server2.custom.authentication.class)PAM: Pluggable authentication moduleNOSASL: Raw transport/description/propertypropertynamehive.server2.allow.user.substitution/namevaluetrue/valuedescriptionAllow alternate user to be specified as part of HiveServer2 open connection request./description/propertypropertynamehive.server2.authentication.kerberos.keytab/namevalue/descriptionKerberos keytab file for server principal/description/propertypropertynamehive.server2.authentication.kerberos.principal/namevalue/descriptionKerberos server principal/description/propertypropertynamehive.server2.authentication.spnego.keytab/namevalue/descriptionkeytab file for SPNego principal, optional,typical value would look like /etc/security/keytabs/spnego.service.keytab,This keytab would be used by HiveServer2 when Kerberos security is enabled and HTTP transport mode is used.This needs to be set only if SPNEGO is to be used in authentication.SPNego authentication would be honored only if validhive.server2.authentication.spnego.principalandhive.server2.authentication.spnego.keytabare specified./description/propertypropertynamehive.server2.authentication.spnego.principal/namevalue/descriptionSPNego service principal, optional,typical value would look like HTTP/_HOSTEXAMPLE.COMSPNego service principal would be used by HiveServer2 when Kerberos security is enabledand HTTP transport mode is used.This needs to be set only if SPNEGO is to be used in authentication./description/propertypropertynamehive.server2.authentication.ldap.url/namevalue/descriptionLDAP connection URL(s),this value could contain URLs to mutiple LDAP servers instances for HA,each LDAP URL is separated by a SPACE character. URLs are used in the order specified until a connection is successful./description/propertypropertynamehive.server2.authentication.ldap.baseDN/namevalue/descriptionLDAP base DN/description/propertypropertynamehive.server2.authentication.ldap.Domain/namevalue/description//propertypropertynamehive.server2.authentication.ldap.groupDNPattern/namevalue/descriptionCOLON-separated list of patterns to use to find DNs for group entities in this directory.Use %s where the actual group name is to be substituted for.For example: CN%s,CNGroups,DCsubdomain,DCdomain,DCcom./description/propertypropertynamehive.server2.authentication.ldap.groupFilter/namevalue/descriptionCOMMA-separated list of LDAP Group names (short name not full DNs).For example: HiveAdmins,HadoopAdmins,Administrators/description/propertypropertynamehive.server2.authentication.ldap.userDNPattern/namevalue/descriptionCOLON-separated list of patterns to use to find DNs for users in this directory.Use %s where the actual group name is to be substituted for.For example: CN%s,CNUsers,DCsubdomain,DCdomain,DCcom./description/propertypropertynamehive.server2.authentication.ldap.userFilter/namevalue/descriptionCOMMA-separated list of LDAP usernames (just short names, not full DNs).For example: hiveuser,impalauser,hiveadmin,hadoopadmin/description/propertypropertynamehive.server2.authentication.ldap.guidKey/namevalueuid/valuedescriptionLDAP attribute name whose values are unique in this LDAP server.For example: uid or CN./description/propertypropertynamehive.server2.authentication.ldap.groupMembershipKey/namevaluemember/valuedescriptionLDAP attribute name on the user entry that references a group, the user belongs to.For example: member, uniqueMember or memberUid/description/propertypropertynamehive.server2.authentication.ldap.groupClassKey/namevaluegroupOfNames/valuedescriptionLDAP attribute name on the group entry that is to be used in LDAP group searches.For example: group, groupOfNames or groupOfUniqueNames./description/propertypropertynamehive.server2.authentication.ldap.customLDAPQuery/namevalue/descriptionA full LDAP query that LDAP Atn provider uses to execute against LDAP Server.If this query returns a null resultset, the LDAP Provider fails the Authenticationrequest, succeeds if the user is part of the resultset.For example: (amp;(objectClassgroup)(objectClasstop)(instanceType4)(cnDomain*)) (amp;(objectClassperson)(|(sAMAccountNameadmin)(|(memberOfCNDomain Admins,CNUsers,DCdomain,DCcom)(memberOfCNAdministrators,CNBuiltin,DCdomain,DCcom))))/description/propertypropertynamehive.server2.custom.authentication.class/namevalue/descriptionCustom authentication class. Used when propertyhive.server2.authentication is set to CUSTOM. Provided classmust be a proper implementation of the interfaceorg.apache.hive.service.auth.PasswdAuthenticationProvider. HiveServer2will call its Authenticate(user, passed) method to authenticate requests.The implementation may optionally implement Hadoopsorg.apache.hadoop.conf.Configurable class to grab Hives Configuration object./description/propertypropertynamehive.server2.authentication.pam.services/namevalue/descriptionList of the underlying pam services that should be used when auth type is PAMA file with the same name must exist in /etc/pam.d/description/propertypropertynamehive.server2.enable.doAs/namevaluetrue/valuedescriptionSetting this property to true will have HiveServer2 executeHive operations as the user making the calls to it./description/propertypropertynamehive.server2.table.type.mapping/namevalueCLASSIC/valuedescriptionExpects one of [classic, hive].This setting reflects how HiveServer2 will report the table types for JDBC and otherclient implementations that retrieve the available tables and supported table typesHIVE : Exposes Hives native table types like MANAGED_TABLE, EXTERNAL_TABLE, VIRTUAL_VIEWCLASSIC : More generic types like TABLE and VIEW/description/propertypropertynamehive.server2.session.hook/namevalue/description//propertypropertynamehive.server2.use.SSL/namevaluefalse/valuedescriptionSet this to true for using SSL encryption in HiveServer2./description/propertypropertynamehive.server2.keystore.path/namevalue/descriptionSSL certificate keystore location./description/propertypropertynamehive.server2.keystore.password/namevalue/descriptionSSL certificate keystore password./description/propertypropertynamehive.server2.map.fair.scheduler.queue/namevaluetrue/valuedescriptionIf the YARN fair scheduler is configured and HiveServer2 is running in non-impersonation mode,this setting determines the user for fair scheduler queue mapping.If set to true (default), the logged-in user determines the fair scheduler queuefor submitted jobs, so that map reduce resource usage can be tracked by user.If set to false, all Hive jobs go to the hive users queue./description/propertypropertynamehive.server2.builtin.udf.whitelist/namevalue/descriptionComma separated list of builtin udf names allowed in queries.An empty whitelist allows all builtin udfs to be executed. The udf black list takes precedence over udf white list/description/propertypropertynamehive.server2.builtin.udf.blacklist/namevalue/descriptionComma separated list of udfs names. These udfs will not be allowed in queries. The udf black list takes precedence over udf white list/description/propertypropertynamehive.allow.udf.load.on.demand/namevaluefalse/valuedescriptionWhether enable loading UDFs from metastore on demand; this is mostly relevant forHS2 and was the default behavior before Hive 1.2. Off by default./description/propertypropertynamehive.server2.session.check.interval/namevalue6h/valuedescriptionExpects a time value with unit (d/day, h/hour, m/min, s/sec, ms/msec, us/usec, ns/nsec), which is msec if not specified.The time should be bigger than or equal to 3000 msec.The check interval for session/operation timeout, which can be disabled by setting to zero or negative value./description/propertypropertynamehive.server2.close.session.on.disconnect/namevaluetrue/valuedescriptionSession will be closed when connection is closed. Set this to false to have session outlive its parent connection./description/propertypropertynamehive.server2.idle.session.timeout/namevalue7d/valuedescriptionExpects a time value with unit (d/day, h/hour, m/min, s/sec, ms/msec, us/usec, ns/nsec), which is msec if not specified.Session will be closed when its not accessed for this duration, which can be disabled by setting to zero or negative value./description/propertypropertynamehive.server2.idle.operation.timeout/namevalue5d/valuedescriptionExpects a time value with unit (d/day, h/hour, m/min, s/sec, ms/msec, us/usec, ns/nsec), which is msec if not specified.Operation will be closed when its not accessed for this duration of time, which can be disabled by setting to zero value.With positive value, its checked for operations in terminal state only (FINISHED, CANCELED, CLOSED, ERROR).With negative value, its checked for all of the operations regardless of state./description/propertypropertynamehive.server2.idle.session.check.operation/namevaluetrue/valuedescriptionSession will be considered to be idle only if there is no activity, and there is no pending operation.This setting takes effect only if session idle timeout (hive.server2.idle.session.timeout) and checking(hive.server2.session.check.interval) are enabled./description/propertypropertynamehive.server2.thrift.client.retry.limit/namevalue1/valuedescriptionNumber of retries upon failure of Thrift HiveServer2 calls/description/propertypropertynamehive.server2.thrift.client.connect.retry.limit/namevalue1/valuedescriptionNumber of retries while opening a connection to HiveServe2/description/propertypropertynamehive.server2.thrift.client.retry.delay.seconds/namevalue1s/valuedescriptionExpects a time value with unit (d/day, h/hour, m/min, s/sec, ms/msec, us/usec, ns/nsec), which is sec if not specified.Number of seconds for the HiveServer2 thrift client to wait between consecutive connection attempts. Also specifies the time to wait between retrying thrift calls upon failures/description/propertypropertynamehive.server2.thrift.client.user/namevalueanonymous/valuedescriptionUsername to use against thrift client/description/propertypropertynamehive.server2.thrift.client.password/namevalueanonymous/valuedescriptionPassword to use against thrift client/description/propertypropertynamehive.server2.thrift.resultset.serialize.in.tasks/namevaluefalse/valuedescriptionWhether we should serialize the Thrift structures used in JDBC ResultSet RPC in task nodes.We use SequenceFile and ThriftJDBCBinarySerDe to read and write the final results if this is true./description/propertypropertynamehive.server2.thrift.resultset.max.fetch.size/namevalue1000/valuedescriptionMax number of rows sent in one Fetch RPC call by the server to the client./description/propertypropertynamehive.server2.xsrf.filter.enabled/namevaluefalse/valuedescriptionIf enabled, HiveServer2 will block any requests made to it over http if an X-XSRF-HEADER header is not present/description/propertypropertynamehive.security.command.whitelist/namevalueset,reset,dfs,add,list,delete,reload,compile/valuedescriptionComma separated list of non-SQL Hive commands users are authorized to execute/description/propertypropertynamehive.mv.files.thread/namevalue15/valuedescriptionExpects a byte size value with unit (blank for bytes, kb, mb, gb, tb, pb).The size should be in between 0Pb (inclusive) and 1Kb (inclusive).Number of threads used to move files in move task. Set it to 0 to disable multi-threaded file moves. This parameter is also used by MSCK to check tables./description/propertypropertynamehive.load.dynamic.partitions.thread/namevalue15/valuedescriptionExpects a byte size value with unit (blank for bytes, kb, mb, gb, tb, pb).The size should be in between 1 bytes (inclusive) and 1Kb (inclusive).Number of threads used to load dynamic partitions./description/propertypropertynamehive.multi.insert.move.tasks.share.dependencies/namevaluefalse/valuedescriptionIf this is set all move tasks for tables/partitions (not directories) at the end of amulti-insert query will only begin once the dependencies for all these move tasks have beenmet.Advantages: If concurrency is enabled, the locks will only be released once the query hasfinished, so with this config enabled, the time when the table/partition isgenerated will be much closer to when the lock on it is released.Disadvantages: If concurrency is not enabled, with this disabled, the tables/partitions whichare produced by this query and finish earlier will be available for queryingmuch earlier. Since the locks are only released once the query finishes, thisdoes not apply if concurrency is enabled./description/propertypropertynamehive.exec.infer.bucket.sort/namevaluefalse/valuedescriptionIf this is set, when writing partitions, the metadata will include the bucketing/sortingproperties with which the data was written if any (this will not overwrite the metadatainherited from the table if the table is bucketed/sorted)/description/propertypropertynamehive.exec.infer.bucket.sort.num.buckets.power.two/namevaluefalse/valuedescriptionIf this is set, when setting the number of reducers for the map reduce task which writes thefinal output files, it will choose a number which is a power of two, unless the user specifiesthe number of reducers to use using mapred.reduce.tasks. The number of reducersmay be set to a power of two, only to be followed by a merge task meaning preventinganything from being inferred.With hive.exec.infer.bucket.sort set to true:Advantages: If this is not set, the number of buckets for partitions will seem arbitrary,which means that the number of mappers used for optimized joins, for example, willbe very low. With this set, since the number of buckets used for any partition isa power of two, the number of mappers used for optimized joins will be the leastnumber of buckets used by any partition being joined.Disadvantages: This may mean a much larger or much smaller number of reducers being used in thefinal map reduce job, e.g. if a job was originally going to take 257 reducers,it will now take 512 reducers, similarly if the max number of reducers is 511,and a job was going to use this many, it will now use 256 reducers./description/propertypropertynamehive.optimize.listbucketing/namevaluefalse/valuedescriptionEnable list bucketing optimizer. Default value is false so that we disable it by default./description/propertypropertynamehive.server.read.socket.timeout/namevalue10s/valuedescriptionExpects a time value with unit (d/day, h/hour, m/min, s/sec, ms/msec, us/usec, ns/nsec), which is sec if not specified.Timeout for the HiveServer to close the connection if no response from the client. By default, 10 seconds./description/propertypropertynamehive.server.tcp.keepalive/namevaluetrue/valuedescriptionWhether to enable TCP keepalive for the Hive Server. Keepalive will prevent accumulation of half-open connections./description/propertypropertynamehive.decode.partition.name/namevaluefalse/valuedescriptionWhether to show the unquoted partition names in query results./description/propertypropertynamehive.execution.engine/namevaluemr/valuedescriptionExpects one of [mr, tez, spark].Chooses execution engine. Options are: mr (Map reduce, default), tez, spark. While MRremains the default engine for historical reasons, it is itself a historical engineand is deprecated in Hive 2 line. It may be removed without further warning./description/propertypropertynamehive.execution.mode/namevaluecontainer/valuedescriptionExpects one of [container, llap].Chooses whether query fragments will run in container or in llap/description/propertypropertynamehive.jar.directory/namevalue/descriptionThis is the location hive in tez mode will look for to find a site wide installed hive instance./description/propertypropertynamehive.user.install.directory/namevalue/user//valuedescriptionIf hive (in tez mode only) cannot find a usable hive jar in hive.jar.directory, it will upload the hive jar to hive.user.install.directory/user.nameand use it to run queries./description/propertypropertynamehive.vectorized.execution.enabled/namevaluefalse/valuedescriptionThis flag should be set to true to enable vectorized mode of query execution.The default value is false./description/propertypropertynamehive.vectorized.execution.reduce.enabled/namevaluetrue/valuedescriptionThis flag should be set to true to enable vectorized mode of the reduce-side of query execution.The default value is true./description/propertypropertynamehive.vectorized.execution.reduce.groupby.enabled/namevaluetrue/valuedescriptionThis flag should be set to true to enable vectorized mode of the reduce-side GROUP BY query execution.The default value is true./description/propertypropertynamehive.vectorized.execution.mapjoin.native.enabled/namevaluetrue/valuedescriptionThis flag should be set to true to enable native (i.e. non-pass through) vectorizationof queries using MapJoin.The default value is true./description/propertypropertynamehive.vectorized.execution.mapjoin.native.multikey.only.enabled/namevaluefalse/valuedescriptionThis flag should be set to true to restrict use of native vector map join hash tables tothe MultiKey in queries using MapJoin.The default value is false./description/propertypropertynamehive.vectorized.execution.mapjoin.minmax.enabled/namevaluefalse/valuedescriptionThis flag should be set to true to enable vector map join hash tables touse max / max filtering for integer join queries using MapJoin.The default value is false./description/propertypropertynamehive.vectorized.execution.mapjoin.overflow.repeated.threshold/namevalue-1/valuedescriptionThe number of small table rows for a match in vector map join hash tableswhere we use the repeated field optimization in overflow vectorized row batch for join queries using MapJoin.A value of -1 means do use the join result optimization. Otherwise, threshold value can be 0 to maximum integer./description/propertypropertynamehive.vectorized.execution.mapjoin.native.fast.hashtable.enabled/namevaluefalse/valuedescriptionThis flag should be set to true to enable use of native fast vector map join hash tables inqueries using MapJoin.The default value is false./description/propertypropertynamehive.vectorized.groupby.checkinterval/namevalue100000/valuedescriptionNumber of entries added to the group by aggregation hash before a recomputation of average entry size is performed./description/propertypropertynamehive.vectorized.groupby.maxentries/namevalue1000000/valuedescriptionMax number of entries in the vector group by aggregation hashtables. Exceeding this will trigger a flush irrelevant of memory pressure condition./description/propertypropertynamehive.vectorized.groupby.flush.percent/namevalue0.1/valuedescriptionPercent of entries in the group by aggregation hash flushed when the memory threshold is exceeded./description/propertypropertynamehive.vectorized.execution.reducesink.new.enabled/namevaluetrue/valuedescriptionThis flag should be set to true to enable the new vectorizationof queries using ReduceSink.iThe default value is true./description/propertypropertynamehive.vectorized.use.vectorized.input.format/namevaluetrue/valuedescriptionThis flag should be set to true to enable vectorizing with vectorized input file format capable SerDe.The default value is true./description/propertypropertynamehive.vectorized.use.vector.serde.deserialize/namevaluefalse/valuedescriptionThis flag should be set to true to enable vectorizing rows using vector deserialize.The default value is false./description/propertypropertynamehive.vectorized.use.row.serde.deserialize/namevaluefalse/valuedescriptionThis flag should be set to true to enable vectorizing using row deserialize.The default value is false./description/propertypropertynamehive.vectorized.adaptor.usage.mode/namevalueall/valuedescriptionExpects one of [none, chosen, all].Specifies the extent to which the VectorUDFAdaptor will be used for UDFs that do not have a cooresponding vectorized class.0. none : disable any usage of VectorUDFAdaptor1. chosen : use VectorUDFAdaptor for a small set of UDFs that were choosen for good performance2. all : use VectorUDFAdaptor for all UDFs/description/propertypropertynamehive.typecheck.on.insert/namevaluetrue/valuedescriptionThis property has been extended to control whether to check, convert, and normalize partition value to conform to its column type in partition operations including but not limited to insert, such as alter, describe etc./description/propertypropertynamehive.hadoop.classpath/namevalue/descriptionFor Windows OS, we need to pass HIVE_HADOOP_CLASSPATH Java parameter while starting HiveServer2 using -hiveconf hive.hadoop.classpath%HIVE_LIB%./description/propertypropertynamehive.rpc.query.plan/namevaluefalse/valuedescriptionWhether to send the query plan via local resource or RPC/description/propertypropertynamehive.compute.splits.in.am/namevaluetrue/valuedescriptionWhether to generate the splits locally or in the AM (tez only)/description/propertypropertynamehive.tez.input.generate.consistent.splits/namevaluetrue/valuedescriptionWhether to generate consistent split locations when generating splits in the AM/description/propertypropertynamehive.prewarm.enabled/namevaluefalse/valuedescriptionEnables container prewarm for Tez/Spark (Hadoop 2 only)/description/propertypropertynamehive.prewarm.numcontainers/namevalue10/valuedescriptionControls the number of containers to prewarm for Tez/Spark (Hadoop 2 only)/description/propertypropertynamehive.stageid.rearrange/namevaluenone/valuedescriptionExpects one of [none, idonly, traverse, execution]./description/propertypropertynamehive.explain.dependency.append.tasktype/namevaluefalse/valuedescription//propertypropertynamehive.counters.group.name/namevalueHIVE/valuedescriptionThe name of counter group for internal Hive variables (CREATED_FILE, FATAL_ERROR, etc.)/description/propertypropertynamehive.support.quoted.identifiers/namevaluecolumn/valuedescriptionExpects one of [none, column].Whether to use quoted identifier. none or column can be used. none: default(past) behavior. Implies only alphaNumeric and underscore are valid characters in identifiers.column: implies column names can contain any character./description/propertypropertynamehive.support.sql11.reserved.keywords/namevaluetrue/valuedescriptionThis flag should be set to true to enable support for SQL2011 reserved keywords.The default value is true./description/propertypropertynamehive.support.special.characters.tablename/namevaluetrue/valuedescriptionThis flag should be set to true to enable support for special characters in table names.When it is set to false, only [a-zA-Z_0-9] are supported.The only supported special character right now is /. This flag applies only to quoted table names.The default value is true./description/propertypropertynamehive.users.in.admin.role/namevalue/descriptionComma separated list of users who are in admin role for bootstrapping.More users can be added in ADMIN role later./description/propertypropertynamehive.compat/namevalue0.12/valuedescriptionEnable (configurable) deprecated behaviors by setting desired level of backward compatibility.Setting to 0.12:Maintains division behavior: int / int double/description/propertypropertynamehive.convert.join.bucket.mapjoin.tez/namevaluefalse/valuedescriptionWhether joins can be automatically converted to bucket map joins in hive when tez is used as the execution engine./description/propertypropertynamehive.exec.check.crossproducts/namevaluetrue/valuedescriptionCheck if a plan contains a Cross Product. If there is one, output a warning to the Sessions console./description/propertypropertynamehive.localize.resource.wait.interval/namevalue5000ms/valuedescriptionExpects a time value with unit (d/day, h/hour, m/min, s/sec, ms/msec, us/usec, ns/nsec), which is msec if not specified.Time to wait for another thread to localize the same resource for hive-tez./description/propertypropertynamehive.localize.resource.num.wait.attempts/namevalue5/valuedescriptionThe number of attempts waiting for localizing a resource in hive-tez./description/propertypropertynamehive.tez.auto.reducer.parallelism/namevaluefalse/valuedescriptionTurn on Tez auto reducer parallelism feature. When enabled, Hive will still estimate data sizesand set parallelism estimates. Tez will sample source vertices output sizes and adjust the estimates at runtime asnecessary./description/propertypropertynamehive.tez.max.partition.factor/namevalue2.0/valuedescriptionWhen auto reducer parallelism is enabled this factor will be used to over-partition data in shuffle edges./description/propertypropertynamehive.tez.min.partition.factor/namevalue0.25/valuedescriptionWhen auto reducer parallelism is enabled this factor will be used to put a lower limit to the numberof reducers that tez specifies./description/propertypropertynamehive.tez.bucket.pruning/namevaluefalse/valuedescriptionWhen pruning is enabled, filters on bucket columns will be processed by filtering the splits against a bitset of included buckets. This needs predicates produced by hive.optimize.ppd and hive.optimize.index.filters./description/propertypropertynamehive.tez.bucket.pruning.compat/namevaluetrue/valuedescriptionWhen pruning is enabled, handle possibly broken inserts due to negative hashcodes.This occasionally doubles the data scan cost, but is default enabled for safety/description/propertypropertynamehive.tez.dynamic.partition.pruning/namevaluetrue/valuedescriptionWhen dynamic pruning is enabled, joins on partition keys will be processed by sendingevents from the processing vertices to the Tez application master. These events will beused to prune unnecessary partitions./description/propertypropertynamehive.tez.dynamic.partition.pruning.max.event.size/namevalue1048576/valuedescriptionMaximum size of events sent by processors in dynamic pruning. If this size is crossed no pruning will take place./description/propertypropertynamehive.tez.dynamic.partition.pruning.max.data.size/namevalue104857600/valuedescriptionMaximum total data size of events in dynamic pruning./description/propertypropertynamehive.tez.dynamic.semijoin.reduction/namevaluetrue/valuedescriptionWhen dynamic semijoin is enabled, shuffle joins will perform a leaky semijoin before shuffle. This requires hive.tez.dynamic.partition.pruning to be enabled./description/propertypropertynamehive.tez.max.bloom.filter.entries/namevalue100000000/valuedescriptionBloom filter should be of at max certain size to be effective/description/propertypropertynamehive.tez.smb.number.waves/namevalue0.5/valuedescriptionThe number of waves in which to run the SMB join. Account for cluster being occupied. Ideally should be 1 wave./description/propertypropertynamehive.tez.exec.print.summary/namevaluefalse/valuedescriptionDisplay breakdown of execution steps, for every query executed by the shell./description/propertypropertynamehive.tez.exec.inplace.progress/namevaluetrue/valuedescriptionUpdates tez job execution progress in-place in the terminal when hive-cli is used./description/propertypropertynamehive.server2.in.place.progress/namevaluetrue/valuedescriptionAllows hive server 2 to send progress bar update information. This is currently available only if the execution engine is tez./description/propertypropertynamehive.spark.exec.inplace.progress/namevaluetrue/valuedescriptionUpdates spark job execution progress in-place in the terminal./description/propertypropertynamehive.tez.container.max.java.heap.fraction/namevalue0.8/valuedescriptionThis is to override the tez setting with the same name/description/propertypropertynamehive.tez.task.scale.memory.reserve-fraction.min/namevalue0.3/valuedescriptionThis is to override the tez setting tez.task.scale.memory.reserve-fraction/description/propertypropertynamehive.tez.task.scale.memory.reserve.fraction.max/namevalue0.5/valuedescriptionThe maximum fraction of JVM memory which Tez will reserve for the processor/description/propertypropertynamehive.tez.task.scale.memory.reserve.fraction/namevalue-1.0/valuedescriptionThe customized fraction of JVM memory which Tez will reserve for the processor/description/propertypropertynamehive.llap.io.enabled/namevalue/descriptionWhether the LLAP IO layer is enabled./description/propertypropertynamehive.llap.io.nonvector.wrapper.enabled/namevaluetrue/valuedescriptionWhether the LLAP IO layer is enabled for non-vectorized queries that read inputsthat can be vectorized/description/propertypropertynamehive.llap.io.memory.mode/namevaluecache/valuedescriptionExpects one of [cache, none].LLAP IO memory usage; cache (the default) uses data and metadata cache with acustom off-heap allocator, none doesnt use either (this mode may result insignificant performance degradation)/description/propertypropertynamehive.llap.io.allocator.alloc.min/namevalue256Kb/valuedescriptionExpects a byte size value with unit (blank for bytes, kb, mb, gb, tb, pb).Minimum allocation possible from LLAP buddy allocator. Allocations below that arepadded to minimum allocation. For ORC, should generally be the same as the expectedcompression buffer size, or next lowest power of 2. Must be a power of 2./description/propertypropertynamehive.llap.io.allocator.alloc.max/namevalue16Mb/valuedescriptionExpects a byte size value with unit (blank for bytes, kb, mb, gb, tb, pb).Maximum allocation possible from LLAP buddy allocator. For ORC, should be as large asthe largest expected ORC compression buffer size. Must be a power of 2./description/propertypropertynamehive.llap.io.metadata.fraction/namevalue0.1/valuedescriptionTemporary setting for on-heap metadata cache fraction of xmx, set to avoid potentialheap problems on very large datasets when on-heap metadata cache takes overeverything. -1 managed metadata and data together (which is more flexible). Thissetting will be removed (in effect become -1) once ORC metadata cache is moved off-heap./description/propertypropertynamehive.llap.io.allocator.arena.count/namevalue8/valuedescriptionArena count for LLAP low-level cache; cache will be allocated in the steps of(size/arena_count) bytes. This size must be lt; 1Gb and gt; max allocation; if it isnot the case, an adjusted size will be used. Using powers of 2 is recommended./description/propertypropertynamehive.llap.io.memory.size/namevalue1Gb/valuedescriptionExpects a byte size value with unit (blank for bytes, kb, mb, gb, tb, pb).Maximum size for IO allocator or ORC low-level cache./description/propertypropertynamehive.llap.io.allocator.direct/namevaluetrue/valuedescriptionWhether ORC low-level cache should use direct allocation./description/propertypropertynamehive.llap.io.allocator.mmap/namevaluefalse/valuedescriptionWhether ORC low-level cache should use memory mapped allocation (direct I/O). This is recommended to be used along-side NVDIMM (DAX) or NVMe flash storage./description/propertypropertynamehive.llap.io.allocator.mmap.path/namevalue/tmp/valuedescriptionExpects a writable directory on the local filesystem.The directory location for mapping NVDIMM/NVMe flash storage into the ORC low-level cache./description/propertypropertynamehive.llap.io.use.lrfu/namevaluetrue/valuedescriptionWhether ORC low-level cache should use LRFU cache policy instead of default (FIFO)./description/propertypropertynamehive.llap.io.lrfu.lambda/namevalue0.01/valuedescriptionLambda for ORC low-level cache LRFU cache policy. Must be in [0, 1]. 0 makes LRFUbehave like LFU, 1 makes it behave like LRU, values in between balance accordingly./description/propertypropertynamehive.llap.cache.allow.synthetic.fileid/namevaluefalse/valuedescriptionWhether LLAP cache should use synthetic file ID if real one is not available. Systemslike HDFS, Isilon, etc. provide a unique file/inode ID. On other FSes (e.g. localFS), the cache would not work by default because LLAP is unable to uniquely track thefiles; enabling this setting allows LLAP to generate file ID from the path, size andmodification time, which is almost certain to identify file uniquely. However, if youuse a FS without file IDs and rewrite files a lot (or are paranoid), you might wantto avoid this setting./description/propertypropertynamehive.llap.orc.gap.cache/namevaluetrue/valuedescriptionWhether LLAP cache for ORC should remember gaps in ORC compression buffer readestimates, to avoid re-reading the data that was read once and discarded because itis unneeded. This is only necessary for ORC files written before HIVE-9660./description/propertypropertynamehive.llap.io.use.fileid.path/namevaluetrue/valuedescriptionWhether LLAP should use fileId (inode)-based path to ensure better consistency for thecases of file overwrites. This is supported on HDFS./description/propertypropertynamehive.llap.io.encode.enabled/namevaluefalse/valuedescriptionWhether LLAP should try to re-encode and cache data for non-ORC formats. This is usedon LLAP Server side to determine if the infrastructure for that is initialized./description/propertypropertynamehive.llap.io.encode.formats/namevalueorg.apache.hadoop.mapred.TextInputFormat,/valuedescriptionThe table input formats for which LLAP IO should re-encode and cache data.Comma-separated list./description/propertypropertynamehive.llap.io.encode.alloc.size/namevalue256Kb/valuedescriptionExpects a byte size value with unit (blank for bytes, kb, mb, gb, tb, pb).Allocation size for the buffers used to cache encoded data from non-ORC files. Mustbe a power of two between hive.llap.io.allocator.alloc.min andhive.llap.io.allocator.alloc.max./description/propertypropertynamehive.llap.io.encode.vector.serde.enabled/namevaluetrue/valuedescriptionWhether LLAP should use vectorized SerDe reader to read text data when re-encoding./description/propertypropertynamehive.llap.io.encode.vector.serde.async.enabled/namevaluetrue/valuedescriptionWhether LLAP should use async mode in vectorized SerDe reader to read text data./description/propertypropertynamehive.llap.io.encode.slice.row.count/namevalue100000/valuedescriptionRow count to use to separate cache slices when reading encoded data from row-basedinputs into LLAP cache, if this feature is enabled./description/propertypropertynamehive.llap.io.encode.slice.lrr/namevaluetrue/valuedescriptionWhether to separate cache slices when reading encoded data from text inputs via MRMR LineRecordRedader into LLAP cache, if this feature is enabled. Safety flag./description/propertypropertynamehive.llap.io.orc.time.counters/namevaluetrue/valuedescriptionWhether to enable time counters for LLAP IO layer (time spent in HDFS, etc.)/description/propertypropertynamehive.llap.auto.allow.uber/namevaluefalse/valuedescriptionWhether or not to allow the planner to run vertices in the AM./description/propertypropertynamehive.llap.auto.enforce.tree/namevaluetrue/valuedescriptionEnforce that all parents are in llap, before considering vertex/description/propertypropertynamehive.llap.auto.enforce.vectorized/namevaluetrue/valuedescriptionEnforce that inputs are vectorized, before considering vertex/description/propertypropertynamehive.llap.auto.enforce.stats/namevaluetrue/valuedescriptionEnforce that col stats are available, before considering vertex/description/propertypropertynamehive.llap.auto.max.input.size/namevalue10737418240/valuedescriptionCheck input size, before considering vertex (-1 disables check)/description/propertypropertynamehive.llap.auto.max.output.size/namevalue1073741824/valuedescriptionCheck output size, before considering vertex (-1 disables check)/description/propertypropertynamehive.llap.skip.compile.udf.check/namevaluefalse/valuedescriptionWhether to skip the compile-time check for non-built-in UDFs when deciding whether toexecute tasks in LLAP. Skipping the check allows executing UDFs from pre-localizedjars in LLAP; if the jars are not pre-localized, the UDFs will simply fail to load./description/propertypropertynamehive.llap.allow.permanent.fns/namevaluetrue/valuedescriptionWhether LLAP decider should allow permanent UDFs./description/propertypropertynamehive.llap.execution.mode/namevaluenone/valuedescriptionExpects one of [auto, none, all, map, only].Chooses whether query fragments will run in container or in llap/description/propertypropertynamehive.llap.object.cache.enabled/namevaluetrue/valuedescriptionCache objects (plans, hashtables, etc) in llap/description/propertypropertynamehive.llap.io.decoding.metrics.percentiles.intervals/namevalue30/valuedescriptionComma-delimited set of integers denoting the desired rollover intervals (in seconds)for percentile latency metrics on the LLAP daemon IO decoding time.hive.llap.queue.metrics.percentiles.intervals/description/propertypropertynamehive.llap.io.threadpool.size/namevalue10/valuedescriptionSpecify the number of threads to use for low-level IO thread pool./description/propertypropertynamehive.llap.daemon.service.principal/namevalue/descriptionThe name of the LLAP daemons service principal./description/propertypropertynamehive.llap.daemon.keytab.file/namevalue/descriptionThe path to the Kerberos Keytab file containing the LLAP daemons service principal./description/propertypropertynamehive.llap.zk.sm.principal/namevalue/descriptionThe name of the principal to use to talk to ZooKeeper for ZooKeeper SecretManager./description/propertypropertynamehive.llap.zk.sm.keytab.file/namevalue/descriptionThe path to the Kerberos Keytab file containing the principal to use to talk toZooKeeper for ZooKeeper SecretManager./description/propertypropertynamehive.llap.webui.spnego.keytab/namevalue/descriptionThe path to the Kerberos Keytab file containing the LLAP WebUI SPNEGO principal.Typical value would look like /etc/security/keytabs/spnego.service.keytab./description/propertypropertynamehive.llap.webui.spnego.principal/namevalue/descriptionThe LLAP WebUI SPNEGO service principal. Configured similarly tohive.server2.webui.spnego.principal/description/propertypropertynamehive.llap.task.principal/namevalue/descriptionThe name of the principal to use to run tasks. By default, the clients are requiredto provide tokens to access HDFS/etc./description/propertypropertynamehive.llap.task.keytab.file/namevalue/descriptionThe path to the Kerberos Keytab file containing the principal to use to run tasks.By default, the clients are required to provide tokens to access HDFS/etc./description/propertypropertynamehive.llap.zk.sm.connectionString/namevalue/descriptionZooKeeper connection string for ZooKeeper SecretManager./description/propertypropertynamehive.llap.zk.registry.user/namevalue/descriptionIn the LLAP ZooKeeper-based registry, specifies the username in the Zookeeper path.This should be the hive user or whichever user is running the LLAP daemon./description/propertypropertynamehive.llap.zk.registry.namespace/namevalue/descriptionIn the LLAP ZooKeeper-based registry, overrides the ZK path namespace. Note thatusing this makes the path management (e.g. setting correct ACLs) your responsibility./description/propertypropertynamehive.llap.daemon.acl/namevalue*/valuedescriptionThe ACL for LLAP daemon./description/propertypropertynamehive.llap.daemon.acl.blocked/namevalue/descriptionThe deny ACL for LLAP daemon./description/propertypropertynamehive.llap.management.acl/namevalue*/valuedescriptionThe ACL for LLAP daemon management./description/propertypropertynamehive.llap.management.acl.blocked/namevalue/descriptionThe deny ACL for LLAP daemon management./description/propertypropertynamehive.llap.remote.token.requires.signing/namevaluetrue/valuedescriptionExpects one of [false, except_llap_owner, true].Whether the token returned from LLAP management API should require fragment signing.True by default; can be disabled to allow CLI to get tokens from LLAP in a securecluster by setting it to true or except_llap_owner (the latter returns such tokensto everyone except the user LLAP cluster is authenticating under)./description/propertypropertynamehive.llap.daemon.delegation.token.lifetime/namevalue14d/valuedescriptionExpects a time value with unit (d/day, h/hour, m/min, s/sec, ms/msec, us/usec, ns/nsec), which is sec if not specified.LLAP delegation token lifetime, in seconds if specified without a unit./description/propertypropertynamehive.llap.management.rpc.port/namevalue15004/valuedescriptionRPC port for LLAP daemon management service./description/propertypropertynamehive.llap.auto.auth/namevaluefalse/valuedescriptionWhether or not to set Hadoop configs to enable auth in LLAP web app./description/propertypropertynamehive.llap.daemon.rpc.num.handlers/namevalue5/valuedescriptionNumber of RPC handlers for LLAP daemon./description/propertypropertynamehive.llap.daemon.work.dirs/namevalue/descriptionWorking directories for the daemon. This should not be set if running as a YARNapplication via Slider. It must be set when not running via Slider on YARN. If the valueis set when running as a Slider YARN application, the specified value will be used./description/propertypropertynamehive.llap.daemon.yarn.shuffle.port/namevalue15551/valuedescriptionYARN shuffle port for LLAP-daemon-hosted shuffle./description/propertypropertynamehive.llap.daemon.yarn.container.mb/namevalue-1/valuedescriptionllap server yarn container size in MB. Used in LlapServiceDriver and package.py/description/propertypropertynamehive.llap.daemon.queue.name/namevalue/descriptionQueue name within which the llap slider application will run. Used in LlapServiceDriver and package.py/description/propertypropertynamehive.llap.daemon.container.id/namevalue/descriptionContainerId of a running LlapDaemon. Used to publish to the registry/description/propertypropertynamehive.llap.daemon.shuffle.dir.watcher.enabled/namevaluefalse/valuedescriptionTODO doc/description/propertypropertynamehive.llap.daemon.am.liveness.heartbeat.interval.ms/namevalue10000ms/valuedescriptionExpects a time value with unit (d/day, h/hour, m/min, s/sec, ms/msec, us/usec, ns/nsec), which is msec if not specified.Tez AM-LLAP heartbeat interval (milliseconds). This needs to be below the task timeoutinterval, but otherwise as high as possible to avoid unnecessary traffic./description/propertypropertynamehive.llap.am.liveness.connection.timeout.ms/namevalue10000ms/valuedescriptionExpects a time value with unit (d/day, h/hour, m/min, s/sec, ms/msec, us/usec, ns/nsec), which is msec if not specified.Amount of time to wait on connection failures to the AM from an LLAP daemon beforeconsidering the AM to be dead./description/propertypropertynamehive.llap.am.use.fqdn/namevaluefalse/valuedescriptionWhether to use FQDN of the AM machine when submitting work to LLAP./description/propertypropertynamehive.llap.am.liveness.connection.sleep.between.retries.ms/namevalue2000ms/valuedescriptionExpects a time value with unit (d/day, h/hour, m/min, s/sec, ms/msec, us/usec, ns/nsec), which is msec if not specified.Sleep duration while waiting to retry connection failures to the AM from the daemon forthe general keep-alive thread (milliseconds)./description/propertypropertynamehive.llap.task.scheduler.timeout.seconds/namevalue60s/valuedescriptionExpects a time value with unit (d/day, h/hour, m/min, s/sec, ms/msec, us/usec, ns/nsec), which is sec if not specified.Amount of time to wait before failing the query when there are no llap daemons running(alive) in the cluster./description/propertypropertynamehive.llap.daemon.num.executors/namevalue4/valuedescriptionNumber of executors to use in LLAP daemon; essentially, the number of tasks that can beexecuted in parallel./description/propertypropertynamehive.llap.daemon.am-reporter.max.threads/namevalue4/valuedescriptionMaximum number of threads to be used for AM reporter. If this is lower than number ofexecutors in llap daemon, it would be set to number of executors at runtime./description/propertypropertynamehive.llap.daemon.rpc.port/namevalue0/valuedescriptionThe LLAP daemon RPC port./description/propertypropertynamehive.llap.daemon.memory.per.instance.mb/namevalue4096/valuedescriptionThe total amount of memory to use for the executors inside LLAP (in megabytes)./description/propertypropertynamehive.llap.daemon.xmx.headroom/namevalue5%/valuedescriptionThe total amount of heap memory set aside by LLAP and not used by the executors. Canbe specified as size (e.g. 512Mb), or percentage (e.g. 5%). Note that the latter isderived from the total daemon XMX, which can be different from the total executormemory if the cache is on-heap; although thats not the default configuration./description/propertypropertynamehive.llap.daemon.vcpus.per.instance/namevalue4/valuedescriptionThe total number of vcpus to use for the executors inside LLAP./description/propertypropertynamehive.llap.daemon.num.file.cleaner.threads/namevalue1/valuedescriptionNumber of file cleaner threads in LLAP./description/propertypropertynamehive.llap.file.cleanup.delay.seconds/namevalue300s/valuedescriptionExpects a time value with unit (d/day, h/hour, m/min, s/sec, ms/msec, us/usec, ns/nsec), which is sec if not specified.How long to delay before cleaning up query files in LLAP (in seconds, for debugging)./description/propertypropertynamehive.llap.daemon.service.hosts/namevalue/descriptionExplicitly specified hosts to use for LLAP scheduling. Useful for testing. By default,YARN registry is used./description/propertypropertynamehive.llap.daemon.service.refresh.interval.sec/namevalue60s/valuedescriptionExpects a time value with unit (d/day, h/hour, m/min, s/sec, ms/msec, us/usec, ns/nsec), which is sec if not specified.LLAP YARN registry service list refresh delay, in seconds./description/propertypropertynamehive.llap.daemon.communicator.num.threads/namevalue10/valuedescriptionNumber of threads to use in LLAP task communicator in Tez AM./description/propertypropertynamehive.llap.daemon.download.permanent.fns/namevaluefalse/valuedescriptionWhether LLAP daemon should localize the resources for permanent UDFs./description/propertypropertynamehive.llap.task.scheduler.node.reenable.min.timeout.ms/namevalue200ms/valuedescriptionExpects a time value with unit (d/day, h/hour, m/min, s/sec, ms/msec, us/usec, ns/nsec), which is msec if not specified.Minimum time after which a previously disabled node will be re-enabled for scheduling,in milliseconds. This may be modified by an exponential back-off if failures persist./description/propertypropertynamehive.llap.task.scheduler.node.reenable.max.timeout.ms/namevalue10000ms/valuedescriptionExpects a time value with unit (d/day, h/hour, m/min, s/sec, ms/msec, us/usec, ns/nsec), which is msec if not specified.Maximum time after which a previously disabled node will be re-enabled for scheduling,in milliseconds. This may be modified by an exponential back-off if failures persist./description/propertypropertynamehive.llap.task.scheduler.node.disable.backoff.factor/namevalue1.5/valuedescriptionBackoff factor on successive blacklists of a node due to some failures. Blacklist timesstart at the min timeout and go up to the max timeout based on this backoff factor./description/propertypropertynamehive.llap.task.scheduler.num.schedulable.tasks.per.node/namevalue0/valuedescriptionThe number of tasks the AM TaskScheduler will try allocating per node. 0 indicates thatthis should be picked up from the Registry. -1 indicates unlimited capacity; positivevalues indicate a specific bound./description/propertypropertynamehive.llap.task.scheduler.locality.delay/namevalue0ms/valuedescriptionExpects a time value with unit (d/day, h/hour, m/min, s/sec, ms/msec, us/usec, ns/nsec), which is msec if not specified.The time should be in between -1 msec (inclusive) and 9223372036854775807 msec (inclusive).Amount of time to wait before allocating a request which contains location information, to a location other than the ones requested. Set to -1 for an infinite delay, 0for no delay./description/propertypropertynamehive.llap.daemon.task.preemption.metrics.intervals/namevalue30,60,300/valuedescriptionComma-delimited set of integers denoting the desired rollover intervals (in seconds)for percentile latency metrics. Used by LLAP daemon task scheduler metrics fortime taken to kill task (due to pre-emption) and useful time wasted by the task thatis about to be preempted./description/propertypropertynamehive.llap.daemon.task.scheduler.wait.queue.size/namevalue10/valuedescriptionLLAP scheduler maximum queue size./description/propertypropertynamehive.llap.daemon.wait.queue.comparator.class.name/namevalueorg.apache.hadoop.hive.llap.daemon.impl.comparator.ShortestJobFirstComparator/valuedescriptionThe priority comparator to use for LLAP scheduler prioroty queue. The built-in optionsare org.apache.hadoop.hive.llap.daemon.impl.comparator.ShortestJobFirstComparator and.....FirstInFirstOutComparator/description/propertypropertynamehive.llap.daemon.task.scheduler.enable.preemption/namevaluetrue/valuedescriptionWhether non-finishable running tasks (e.g. a reducer waiting for inputs) should bepreempted by finishable tasks inside LLAP scheduler./description/propertypropertynamehive.llap.task.communicator.connection.timeout.ms/namevalue16000ms/valuedescriptionExpects a time value with unit (d/day, h/hour, m/min, s/sec, ms/msec, us/usec, ns/nsec), which is msec if not specified.Connection timeout (in milliseconds) before a failure to an LLAP daemon from Tez AM./description/propertypropertynamehive.llap.task.communicator.listener.thread-count/namevalue30/valuedescriptionThe number of task communicator listener threads./description/propertypropertynamehive.llap.task.communicator.connection.sleep.between.retries.ms/namevalue2000ms/valuedescriptionExpects a time value with unit (d/day, h/hour, m/min, s/sec, ms/msec, us/usec, ns/nsec), which is msec if not specified.Sleep duration (in milliseconds) to wait before retrying on error when obtaining aconnection to LLAP daemon from Tez AM./description/propertypropertynamehive.llap.daemon.web.port/namevalue15002/valuedescriptionLLAP daemon web UI port./description/propertypropertynamehive.llap.daemon.web.ssl/namevaluefalse/valuedescriptionWhether LLAP daemon web UI should use SSL./description/propertypropertynamehive.llap.client.consistent.splits/namevaluefalse/valuedescriptionWhether to setup split locations to match nodes on which llap daemons are running, instead of using the locations provided by the split itself/description/propertypropertynamehive.llap.validate.acls/namevaluetrue/valuedescriptionWhether LLAP should reject permissive ACLs in some cases (e.g. its own managementprotocol or ZK paths), similar to how ssh refuses a key with bad access permissions./description/propertypropertynamehive.llap.daemon.output.service.port/namevalue15003/valuedescriptionLLAP daemon output service port/description/propertypropertynamehive.llap.daemon.output.stream.timeout/namevalue120s/valuedescriptionExpects a time value with unit (d/day, h/hour, m/min, s/sec, ms/msec, us/usec, ns/nsec), which is sec if not specified.The timeout for the client to connect to LLAP output service and start the fragmentoutput after sending the fragment. The fragment will fail if its output is not claimed./description/propertypropertynamehive.llap.daemon.output.service.send.buffer.size/namevalue131072/valuedescriptionSend buffer size to be used by LLAP daemon output service/description/propertypropertynamehive.llap.daemon.output.service.max.pending.writes/namevalue8/valuedescriptionMaximum number of queued writes allowed per connection when sending datavia the LLAP output service to external clients./description/propertypropertynamehive.llap.enable.grace.join.in.llap/namevaluefalse/valuedescriptionOverride if grace join should be allowed to run in llap./description/propertypropertynamehive.llap.hs2.coordinator.enabled/namevaluetrue/valuedescriptionWhether to create the LLAP coordinator; since execution engine and container vs llapsettings are both coming from job configs, we dont know at start whether this shouldbe created. Default true./description/propertypropertynamehive.llap.daemon.logger/namevaluequery-routing/valuedescriptionExpects one of [query-routing, rfa, console].logger used for llap-daemons./description/propertypropertynamehive.spark.client.future.timeout/namevalue60s/valuedescriptionExpects a time value with unit (d/day, h/hour, m/min, s/sec, ms/msec, us/usec, ns/nsec), which is sec if not specified.Timeout for requests from Hive client to remote Spark driver./description/propertypropertynamehive.spark.job.monitor.timeout/namevalue60s/valuedescriptionExpects a time value with unit (d/day, h/hour, m/min, s/sec, ms/msec, us/usec, ns/nsec), which is sec if not specified.Timeout for job monitor to get Spark job state./description/propertypropertynamehive.spark.client.connect.timeout/namevalue1000ms/valuedescriptionExpects a time value with unit (d/day, h/hour, m/min, s/sec, ms/msec, us/usec, ns/nsec), which is msec if not specified.Timeout for remote Spark driver in connecting back to Hive client./description/propertypropertynamehive.spark.client.server.connect.timeout/namevalue90000ms/valuedescriptionExpects a time value with unit (d/day, h/hour, m/min, s/sec, ms/msec, us/usec, ns/nsec), which is msec if not specified.Timeout for handshake between Hive client and remote Spark driver. Checked by both processes./description/propertypropertynamehive.spark.client.secret.bits/namevalue256/valuedescriptionNumber of bits of randomness in the generated secret for communication between Hive client and remote Spark driver. Rounded down to the nearest multiple of 8./description/propertypropertynamehive.spark.client.rpc.threads/namevalue8/valuedescriptionMaximum number of threads for remote Spark drivers RPC event loop./description/propertypropertynamehive.spark.client.rpc.max.size/namevalue52428800/valuedescriptionMaximum message size in bytes for communication between Hive client and remote Spark driver. Default is 50MB./description/propertypropertynamehive.spark.client.channel.log.level/namevalue/descriptionChannel logging level for remote Spark driver. One of {DEBUG, ERROR, INFO, TRACE, WARN}./description/propertypropertynamehive.spark.client.rpc.sasl.mechanisms/namevalueDIGEST-MD5/valuedescriptionName of the SASL mechanism to use for authentication./description/propertypropertynamehive.spark.client.rpc.server.address/namevalue/descriptionThe server address of HiverServer2 host to be used for communication between Hive client and remote Spark driver. Default is empty, which means the address will be determined in the same way as for hive.server2.thrift.bind.host.This is only necessary if the host has mutiple network addresses and if a different network address other than hive.server2.thrift.bind.host is to be used./description/propertypropertynamehive.spark.dynamic.partition.pruning/namevaluefalse/valuedescriptionWhen dynamic pruning is enabled, joins on partition keys will be processed by writingto a temporary HDFS file, and read later for removing unnecessary partitions./description/propertypropertynamehive.spark.dynamic.partition.pruning.max.data.size/namevalue104857600/valuedescriptionMaximum total data size in dynamic pruning./description/propertypropertynamehive.reorder.nway.joins/namevaluetrue/valuedescriptionRuns reordering of tables within single n-way join (i.e.: picks streamtable)/description/propertypropertynamehive.merge.nway.joins/namevaluetrue/valuedescriptionMerge adjacent joins into a single n-way join/description/propertypropertynamehive.log.every.n.records/namevalue0/valuedescriptionExpects value bigger than 0.If value is greater than 0 logs in fixed intervals of size n rather than exponentially./description/propertypropertynamehive.msck.path.validation/namevaluethrow/valuedescriptionExpects one of [throw, skip, ignore].The approach msck should take with HDFS directories that are partition-like but contain unsupported characters. throw (an exception) is the default; skip will skip the invalid directories and still repair the others; ignore will skip the validation (legacy behavior, causes bugs in many cases)/description/propertypropertynamehive.msck.repair.batch.size/namevalue0/valuedescriptionBatch size for the msck repair command. If the value is greater than zero, it will execute batch wise with the configured batch size. The default value is zero. Zero means it will execute directly (Not batch wise)/description/propertypropertynamehive.server2.llap.concurrent.queries/namevalue-1/valuedescriptionThe number of queries allowed in parallel via llap. Negative number implies infinite./description/propertypropertynamehive.tez.enable.memory.manager/namevaluetrue/valuedescriptionEnable memory manager for tez/description/propertypropertynamehive.hash.table.inflation.factor/namevalue2.0/valuedescriptionExpected inflation factor between disk/in memory representation of hash tables/description/propertypropertynamehive.log.trace.id/namevalue/descriptionLog tracing id that can be used by upstream clients for tracking respective logs. Truncated to 64 characters. Defaults to use auto-generated session id./description/propertypropertynamehive.conf.restricted.list/namevaluehive.security.authenticator.manager,hive.security.authorization.manager,hive.users.in.admin.role,hive.server2.xsrf.filter.enabled/valuedescriptionComma separated list of configuration options which are immutable at runtime/description/propertypropertynamehive.conf.hidden.list/namevaluejavax.jdo.option.ConnectionPassword,hive.server2.keystore.password/valuedescriptionComma separated list of configuration options which should not be read by normal user like passwords/description/propertypropertynamehive.conf.internal.variable.list/namevaluehive.added.files.path,hive.added.jars.path,hive.added.archives.path/valuedescriptionComma separated list of variables which are used internally and should not be configurable./description/property
/configuration