hive.exec.script.wrapper hive.exec.plan hive.exec.stagingdir .hive-staging Directory 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. hive.exec.scratchdir /tmp/hive HDFS 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}/<username> is created, with ${hive.scratch.dir.permission}. hive.exec.local.scratchdir ${system:java.io.tmpdir}/${system:user.name} Local scratch space for Hive jobs hive.downloaded.resources.dir ${system:java.io.tmpdir}/${hive.session.id}_resources Temporary local directory for added resources in the remote file system. hive.scratch.dir.permission 700 The permission for the user specific scratch directories that get created. hive.exec.submitviachild false hive.exec.submit.local.task.via.child true Determines 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. hive.exec.script.maxerrsize 100000 Maximum 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 hive.exec.script.allow.partial.consumption false When enabled, this option allows a user script to exit successfully without consuming all the data from the standard input. stream.stderr.reporter.prefix reporter: Streaming jobs that log to standard error with this prefix can log counter or status information. stream.stderr.reporter.enabled true Enable consumption of status and counter messages for streaming jobs. hive.exec.compress.output false This 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* hive.exec.compress.intermediate false This 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* hive.intermediate.compression.codec hive.intermediate.compression.type hive.exec.reducers.bytes.per.reducer 256000000 size per reducer.The default is 256Mb, i.e if the input size is 1G, it will use 4 reducers. hive.exec.reducers.max 1009 max number of reducers will be used. If the one specified in the configuration parameter mapred.reduce.tasks is negative, Hive will use this one as the max number of reducers when automatically determine number of reducers. hive.exec.pre.hooks Comma-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. hive.exec.post.hooks Comma-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. hive.exec.failure.hooks Comma-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. hive.exec.query.redactor.hooks Comma-separated list of hooks to be invoked for each query which can tranform the query before it's placed in the job.xml file. Must be a Java class which extends from the org.apache.hadoop.hive.ql.hooks.Redactor abstract class. hive.client.stats.publishers Comma-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. hive.exec.parallel false Whether to execute jobs in parallel hive.exec.parallel.thread.number 8 How many jobs at most can be executed in parallel hive.mapred.reduce.tasks.speculative.execution true Whether speculative execution for reducers should be turned on. hive.exec.counters.pull.interval 1000 The 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. hive.exec.dynamic.partition true Whether or not to allow dynamic partitions in DML/DDL. hive.exec.dynamic.partition.mode strict In strict mode, the user must specify at least one static partition in case the user accidentally overwrites all partitions. In nonstrict mode all partitions are allowed to be dynamic. hive.exec.max.dynamic.partitions 1000 Maximum number of dynamic partitions allowed to be created in total. hive.exec.max.dynamic.partitions.pernode 100 Maximum number of dynamic partitions allowed to be created in each mapper/reducer node. hive.exec.max.created.files 100000 Maximum number of HDFS files created by all mappers/reducers in a MapReduce job. hive.exec.default.partition.name __HIVE_DEFAULT_PARTITION__ The 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. hive.lockmgr.zookeeper.default.partition.name __HIVE_DEFAULT_ZOOKEEPER_PARTITION__ hive.exec.show.job.failure.debug.info true If a job fails, whether to provide a link in the CLI to the task with the most failures, along with debugging hints if applicable. hive.exec.job.debug.capture.stacktraces true Whether or not stack traces parsed from the task logs of a sampled failed task for each failed job should be stored in the SessionState hive.exec.job.debug.timeout 30000 hive.exec.tasklog.debug.timeout 20000 hive.output.file.extension String 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. hive.exec.mode.local.auto false Let Hive determine whether to run in local mode automatically hive.exec.mode.local.auto.inputbytes.max 134217728 When hive.exec.mode.local.auto is true, input bytes should less than this for local mode. hive.exec.mode.local.auto.input.files.max 4 When hive.exec.mode.local.auto is true, the number of tasks should less than this for local mode. hive.exec.drop.ignorenonexistent true Do not report an error if DROP TABLE/VIEW/Index/Function specifies a non-existent table/view/index/function hive.ignore.mapjoin.hint true Ignore the mapjoin hint hive.file.max.footer 100 maximum number of lines for footer user can define for a table file hive.resultset.use.unique.column.names true Make 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..". fs.har.impl org.apache.hadoop.hive.shims.HiveHarFileSystem The implementation for accessing Hadoop Archives. Note that this won't be applicable to Hadoop versions less than 0.20 hive.metastore.warehouse.dir /user/hive/warehouse location of default database for the warehouse hive.metastore.uris Thrift URI for the remote metastore. Used by metastore client to connect to remote metastore. hive.metastore.fastpath false Used 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 hive.metastore.fshandler.threads 20 Number of threads to be allocated for metastore handler for fs operations. hive.metastore.hbase.catalog.cache.size 50000 Maximum 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. hive.metastore.hbase.aggregate.stats.cache.size 10000 Maximum number of aggregate stats nodes that we will place in the hbase metastore aggregate stats cache. hive.metastore.hbase.aggregate.stats.max.partitions 10000 Maximum number of partitions that are aggregated per cache node. hive.metastore.hbase.aggregate.stats.false.positive.probability 0.01 Maximum false positive probability for the Bloom Filter used in each aggregate stats cache node (default 1%). hive.metastore.hbase.aggregate.stats.max.variance 0.1 Maximum tolerable variance in number of partitions between a cached node and our request (default 10%). hive.metastore.hbase.cache.ttl 600s Expects 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. hive.metastore.hbase.cache.max.writer.wait 5000ms Expects 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. hive.metastore.hbase.cache.max.reader.wait 1000ms Expects 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. hive.metastore.hbase.cache.max.full 0.9 Maximum cache full % after which the cache cleaner thread kicks in. hive.metastore.hbase.cache.clean.until 0.8 The cleaner thread cleans until cache reaches this % full size. hive.metastore.hbase.connection.class org.apache.hadoop.hive.metastore.hbase.VanillaHBaseConnection Class used to connection to HBase hive.metastore.hbase.aggr.stats.cache.entries 10000 How many in stats objects to cache in memory hive.metastore.hbase.aggr.stats.memory.ttl 60s Expects 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. hive.metastore.hbase.aggr.stats.invalidator.frequency 5s Expects 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 hive.metastore.hbase.aggr.stats.hbase.ttl 604800s Expects 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. hive.metastore.hbase.file.metadata.threads 1 Number of threads to use to read file metadata in background to cache it. hive.metastore.connect.retries 3 Number of retries while opening a connection to metastore hive.metastore.failure.retries 1 Number of retries upon failure of Thrift metastore calls hive.metastore.port 9083 Hive metastore listener port hive.metastore.client.connect.retry.delay 1s Expects 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 hive.metastore.client.socket.timeout 600s Expects 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 hive.metastore.client.socket.lifetime 0s Expects 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, client reconnects on the next MetaStore operation. A value of 0s means the connection has an infinite lifetime. javax.jdo.option.ConnectionPassword mine password to use against metastore database hive.metastore.ds.connection.url.hook Name of the hook to use for retrieving the JDO connection URL. If empty, the value in javax.jdo.option.ConnectionURL is used javax.jdo.option.Multithreaded true Set this to true if multiple threads access metastore through JDO concurrently. javax.jdo.option.ConnectionURL jdbc:derby:;databaseName=metastore_db;create=true 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?ssl=true for postgres database. hive.metastore.dbaccess.ssl.properties Comma-separated SSL properties for metastore to access database when JDO connection URL enables SSL access. e.g. javax.net.ssl.trustStore=/tmp/truststore,javax.net.ssl.trustStorePassword=pwd. hive.hmshandler.retry.attempts 10 The number of times to retry a HMSHandler call if there were a connection error. hive.hmshandler.retry.interval 2000ms Expects 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. hive.hmshandler.force.reload.conf false Whether to force reloading of the HMSHandler configuration (including the connection URL, before the next metastore query that accesses the datastore. Once reloaded, this value is reset to false. Used for testing only. hive.metastore.server.max.message.size 104857600 Maximum message size in bytes a HMS will accept. hive.metastore.server.min.threads 200 Minimum number of worker threads in the Thrift server's pool. hive.metastore.server.max.threads 1000 Maximum number of worker threads in the Thrift server's pool. hive.metastore.server.tcp.keepalive true Whether to enable TCP keepalive for the metastore server. Keepalive will prevent accumulation of half-open connections. hive.metastore.archive.intermediate.original _INTERMEDIATE_ORIGINAL Intermediate dir suffixes used for archiving. Not important what they are, as long as collisions are avoided hive.metastore.archive.intermediate.archived _INTERMEDIATE_ARCHIVED hive.metastore.archive.intermediate.extracted _INTERMEDIATE_EXTRACTED hive.metastore.kerberos.keytab.file The path to the Kerberos Keytab file containing the metastore Thrift server's service principal. hive.metastore.kerberos.principal hive-metastore/_HOST@EXAMPLE.COM The service principal for the metastore Thrift server. The special string _HOST will be replaced automatically with the correct host name. hive.metastore.sasl.enabled false If true, the metastore Thrift interface will be secured with SASL. Clients must authenticate with Kerberos. hive.metastore.thrift.framed.transport.enabled false If true, the metastore Thrift interface will use TFramedTransport. When false (default) a standard TTransport is used. hive.metastore.thrift.compact.protocol.enabled false If 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. hive.metastore.token.signature The delegation token service name to match when selecting a token from the current user's tokens. hive.cluster.delegation.token.store.class org.apache.hadoop.hive.thrift.MemoryTokenStore The delegation token store implementation. Set to org.apache.hadoop.hive.thrift.ZooKeeperTokenStore for load-balanced cluster. hive.cluster.delegation.token.store.zookeeper.connectString The ZooKeeper token store connect string. You can re-use the configuration value set in hive.zookeeper.quorum, by leaving this parameter unset. hive.cluster.delegation.token.store.zookeeper.znode /hivedelegation The root path for token store data. Note that this is used by both HiveServer2 and MetaStore 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). hive.cluster.delegation.token.store.zookeeper.acl ACL for token store entries. Comma separated list of ACL entries. For example: sasl:hive/host1@MY.DOMAIN:cdrwa,sasl:hive/host2@MY.DOMAIN:cdrwa Defaults to all permissions for the hiveserver2/metastore process user. hive.metastore.cache.pinobjtypes Table,StorageDescriptor,SerDeInfo,Partition,Database,Type,FieldSchema,Order List of comma separated metastore object types that should be pinned in the cache datanucleus.connectionPoolingType BONECP Specify connection pool library for datanucleus datanucleus.rdbms.initializeColumnInfo NONE initializeColumnInfo setting for DataNucleus; set to NONE at least on Postgres. datanucleus.schema.validateTables false validates existing schema against code. turn this on if you want to verify existing schema datanucleus.schema.validateColumns false validates existing schema against code. turn this on if you want to verify existing schema datanucleus.schema.validateConstraints false validates existing schema against code. turn this on if you want to verify existing schema datanucleus.storeManagerType rdbms metadata store type datanucleus.schema.autoCreateAll false Auto creates necessary schema on a startup if one doesn't exist. Set this to false, after creating it once.To enable auto create also set hive.metastore.schema.verification=false. Auto creation is not recommended for production use cases, run schematool command instead. hive.metastore.schema.verification true Enforce metastore schema version consistency. True: Verify that version information stored in is compatible with one from Hive jars. Also disable automatic schema migration attempt. Users are required to manually migrate schema after Hive upgrade which ensures proper metastore schema migration. (Default) False: Warn if the version information stored in metastore doesn't match with one from in Hive jars. hive.metastore.schema.verification.record.version false When true the current MS version is recorded in the VERSION table. If this is disabled and verification is enabled the MS will be unusable. datanucleus.transactionIsolation read-committed Default transaction isolation level for identity generation. datanucleus.cache.level2 false Use a level 2 cache. Turn this off if metadata is changed independently of Hive metastore server datanucleus.cache.level2.type none datanucleus.identifierFactory datanucleus1 Name of the identifier factory to use when generating table/column names etc. 'datanucleus1' is used for backward compatibility with DataNucleus v1 datanucleus.rdbms.useLegacyNativeValueStrategy true datanucleus.plugin.pluginRegistryBundleCheck LOG Defines what happens when plugin bundles are found and are duplicated [EXCEPTION|LOG|NONE] hive.metastore.batch.retrieve.max 300 Maximum 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. hive.metastore.batch.retrieve.table.partition.max 1000 Maximum number of objects that metastore internally retrieves in one batch. hive.metastore.init.hooks A 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. hive.metastore.pre.event.listeners List of comma separated listeners for metastore events. hive.metastore.event.listeners hive.metastore.event.db.listener.timetolive 86400s Expects 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 hive.metastore.authorization.storage.checks false Should the metastore do authorization checks against the underlying storage (usually hdfs) for operations like drop-partition (disallow the drop-partition if the user in question doesn't have permissions to delete the corresponding directory on the storage). hive.metastore.event.clean.freq 0s Expects 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. hive.metastore.event.expiry.duration 0s Expects 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 hive.metastore.execute.setugi true In unsecure mode, setting this property to true will cause the metastore to execute DFS operations using the client's 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. hive.metastore.partition.name.whitelist.pattern Partition names will be checked against this regex pattern and rejected if not matched. hive.metastore.integral.jdo.pushdown false Allow JDO query pushdown for integral partition columns in metastore. Off by default. This improves metastore perf for integral columns, especially if there's a large number of partitions. However, it doesn't work correctly with integral values that are not normalized (e.g. have leading zeroes, like 0012). If metastore direct SQL is enabled and works, this optimization is also irrelevant. hive.metastore.try.direct.sql true Whether the Hive metastore should try to use direct SQL queries instead of the DataNucleus for certain read paths. This can improve metastore performance when fetching many partitions or column statistics by orders of magnitude; however, it is 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 it's safe even if SQL doesn't work for all queries on your datastore. If all SQL queries fail (for example, your metastore is backed by MongoDB), you might want to disable this to save the try-and-fall-back cost. hive.metastore.direct.sql.batch.size 0 Batch size for partition and other object retrieval from the underlying DB in direct SQL. For some DBs like Oracle and MSSQL, there are hardcoded or perf-based limitations that necessitate this. For DBs that can handle the queries, this isn't necessary and may impede performance. -1 means no batching, 0 means automatic batching. hive.metastore.try.direct.sql.ddl true Same as hive.metastore.try.direct.sql, for read statements within a transaction that modifies metastore data. Due to non-standard behavior in Postgres, if a direct SQL select query has incorrect syntax or something similar inside a transaction, the entire transaction will fail and fall-back to DataNucleus will not be possible. You should disable the usage of direct SQL inside transactions if that happens in your case. hive.direct.sql.max.query.length 100 The maximum size of a query string (in KB). hive.direct.sql.max.elements.in.clause 1000 The maximum number of values in a IN clause. Once exceeded, it will be broken into multiple OR separated IN clauses. hive.direct.sql.max.elements.values.clause 1000 The maximum number of values in a VALUES clause for INSERT statement. hive.metastore.orm.retrieveMapNullsAsEmptyStrings false Thrift 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 hive.metastore.disallow.incompatible.col.type.changes true If true (default is false), ALTER TABLE operations which change the type of a column (say STRING) to an incompatible type (say MAP) are disallowed. RCFile default SerDe (ColumnarSerDe) serializes the values in such a way that the datatypes can be converted from string to any type. The map is also serialized as a string, which can be read as a string as well. However, with any binary serialization, this is not true. Blocking the ALTER TABLE prevents ClassCastExceptions when subsequently trying to access old partitions. Primitive types like INT, STRING, BIGINT, etc., are compatible with each other and are not blocked. See HIVE-4409 for more details. hive.table.parameters.default Default property values for newly created tables hive.ddl.createtablelike.properties.whitelist Table Properties to copy over when executing a Create Table Like. hive.metastore.rawstore.impl org.apache.hadoop.hive.metastore.ObjectStore Name of the class that implements org.apache.hadoop.hive.metastore.rawstore interface. This class is used to store and retrieval of raw metadata objects such as table, database hive.metastore.txn.store.impl org.apache.hadoop.hive.metastore.txn.CompactionTxnHandler Name of class that implements org.apache.hadoop.hive.metastore.txn.TxnStore. This class is used to store and retrieve transactions and locks javax.jdo.option.ConnectionDriverName org.apache.derby.jdbc.EmbeddedDriver Driver class name for a JDBC metastore javax.jdo.PersistenceManagerFactoryClass org.datanucleus.api.jdo.JDOPersistenceManagerFactory class implementing the jdo persistence hive.metastore.expression.proxy org.apache.hadoop.hive.ql.optimizer.ppr.PartitionExpressionForMetastore javax.jdo.option.DetachAllOnCommit true Detaches all objects from session so that they can be used after transaction is committed javax.jdo.option.NonTransactionalRead true Reads outside of transactions javax.jdo.option.ConnectionUserName APP Username to use against metastore database hive.metastore.end.function.listeners List of comma separated listeners for the end of metastore functions. hive.metastore.partition.inherit.table.properties List of comma separated keys occurring in table properties which will get inherited to newly created partitions. * implies all the keys will get inherited. hive.metastore.filter.hook org.apache.hadoop.hive.metastore.DefaultMetaStoreFilterHookImpl Metastore hook class for filtering the metadata read results. If hive.security.authorization.manageris set to instance of HiveAuthorizerFactory, then this value is ignored. hive.metastore.dml.events false If true, the metastore will be asked to fire events for DML operations hive.metastore.client.drop.partitions.using.expressions true Choose whether dropping partitions with HCatClient pushes the partition-predicate to the metastore, or drops partitions iteratively hive.metastore.aggregate.stats.cache.enabled true Whether aggregate stats caching is enabled or not. hive.metastore.aggregate.stats.cache.size 10000 Maximum number of aggregate stats nodes that we will place in the metastore aggregate stats cache. hive.metastore.aggregate.stats.cache.max.partitions 10000 Maximum number of partitions that are aggregated per cache node. hive.metastore.aggregate.stats.cache.fpp 0.01 Maximum false positive probability for the Bloom Filter used in each aggregate stats cache node (default 1%). hive.metastore.aggregate.stats.cache.max.variance 0.01 Maximum tolerable variance in number of partitions between a cached node and our request (default 1%). hive.metastore.aggregate.stats.cache.ttl 600s Expects 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. hive.metastore.aggregate.stats.cache.max.writer.wait 5000ms Expects 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. hive.metastore.aggregate.stats.cache.max.reader.wait 1000ms Expects 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. hive.metastore.aggregate.stats.cache.max.full 0.9 Maximum cache full % after which the cache cleaner thread kicks in. hive.metastore.aggregate.stats.cache.clean.until 0.8 The cleaner thread cleans until cache reaches this % full size. hive.metastore.metrics.enabled false Enable metrics on the metastore. hive.metastore.initial.metadata.count.enabled true Enable a metadata count at metastore startup for metrics. hive.metadata.export.location When 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 user's home directory on HDFS. hive.metadata.move.exported.metadata.to.trash true When 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 user's trash directory alongside the dropped table data. This ensures that the metadata will be cleaned up along with the dropped table data. hive.cli.errors.ignore false hive.cli.print.current.db false Whether to include the current database in the Hive prompt. hive.cli.prompt hive Command line prompt configuration value. Other hiveconf can be used in this configuration value. Variable substitution will only be invoked at the Hive CLI startup. hive.cli.pretty.output.num.cols -1 The 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. hive.metastore.fs.handler.class org.apache.hadoop.hive.metastore.HiveMetaStoreFsImpl hive.session.id hive.session.silent false hive.session.history.enabled false Whether to log Hive query, query plan, runtime statistics etc. hive.query.string Query being executed (might be multiple per a session) hive.query.id ID for query being executed (might be multiple per a session) hive.jobname.length 50 max jobname length hive.jar.path The location of hive_cli.jar that is used when submitting jobs in a separate jvm. hive.aux.jars.path The location of the plugin jars that contain implementations of user defined functions and serdes. hive.reloadable.aux.jars.path Jars can be renewed by executing reload command. And these jars can be used as the auxiliary classes like creating a UDF or SerDe. hive.added.files.path This an internal parameter. hive.added.jars.path This an internal parameter. hive.added.archives.path This an internal parameter. hive.auto.progress.timeout 0s Expects 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. hive.script.auto.progress false Whether 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. hive.script.operator.id.env.var HIVE_SCRIPT_OPERATOR_ID Name of the environment variable that holds the unique script operator ID in the user's transform function (the custom mapper/reducer that the user has specified in the query) hive.script.operator.truncate.env false Truncate each environment variable for external script in scripts operator to 20KB (to fit system limits) hive.script.operator.env.blacklist hive.txn.valid.txns,hive.script.operator.env.blacklist Comma separated list of keys from the configuration file not to convert to environment variables when envoking the script operator hive.strict.checks.large.query false Enabling 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. hive.strict.checks.type.safety true Enabling strict type safety checks disallows the following: Comparing bigints and strings. Comparing bigints and doubles. hive.strict.checks.cartesian.product true Enabling strict large query checks disallows the following: Cartesian product (cross join). hive.mapred.mode nonstrict Deprecated; use hive.strict.checks.* settings instead. hive.alias hive.map.aggr true Whether to use map-side aggregation in Hive Group By queries hive.groupby.skewindata false Whether there is skew in data to optimize group by queries hive.join.emit.interval 1000 How many rows in the right-most join operand Hive should buffer before emitting the join result. hive.join.cache.size 25000 How many rows in the joining tables (except the streaming table) should be cached in memory. hive.cbo.enable true Flag to control enabling Cost Based Optimizations using Calcite framework. hive.cbo.cnf.maxnodes -1 When 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. hive.cbo.returnpath.hiveop false Flag to control calcite plan to hive operator conversion hive.cbo.costmodel.extended false Flag to control enabling the extended cost model based onCPU, IO and cardinality. Otherwise, the cost model is based on cardinality. hive.cbo.costmodel.cpu 0.000001 Default cost of a comparison hive.cbo.costmodel.network 150.0 Default cost of a transfering a byte over network; expressed as multiple of CPU cost hive.cbo.costmodel.local.fs.write 4.0 Default cost of writing a byte to local FS; expressed as multiple of NETWORK cost hive.cbo.costmodel.local.fs.read 4.0 Default cost of reading a byte from local FS; expressed as multiple of NETWORK cost hive.cbo.costmodel.hdfs.write 10.0 Default cost of writing a byte to HDFS; expressed as multiple of Local FS write cost hive.cbo.costmodel.hdfs.read 1.5 Default cost of reading a byte from HDFS; expressed as multiple of Local FS read cost hive.transpose.aggr.join false push aggregates through join hive.order.columnalignment true Flag 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 hive.mapjoin.bucket.cache.size 100 hive.mapjoin.optimized.hashtable true Whether Hive should use memory-optimized hash table for MapJoin. Only works on Tez and Spark, because memory-optimized hashtable cannot be serialized. hive.mapjoin.optimized.hashtable.probe.percent 0.5 Probing space percentage of the optimized hashtable hive.mapjoin.hybridgrace.hashtable true Whether to use hybridgrace hash join as the join method for mapjoin. Tez only. hive.mapjoin.hybridgrace.memcheckfrequency 1024 For hybrid grace hash join, how often (how many rows apart) we check if memory is full. This number should be power of 2. hive.mapjoin.hybridgrace.minwbsize 524288 For hybrid graceHash join, the minimum write buffer size used by optimized hashtable. Default is 512 KB. hive.mapjoin.hybridgrace.minnumpartitions 16 ForHybrid grace hash join, the minimum number of partitions to create. hive.mapjoin.optimized.hashtable.wbsize 8388608 Optimized hashtable (see hive.mapjoin.optimized.hashtable) uses a chain of buffers to store data. This is one buffer size. HT may be slightly faster if this is larger, but for small joins unnecessary memory will be allocated and then trimmed. hive.mapjoin.hybridgrace.bloomfilter true Whether to use BloomFilter in Hybrid grace hash join to minimize unnecessary spilling. hive.smbjoin.cache.rows 10000 How many rows with the same key value should be cached in memory per smb joined table. hive.groupby.mapaggr.checkinterval 100000 Number of rows after which size of the grouping keys/aggregation classes is performed hive.map.aggr.hash.percentmemory 0.5 Portion of total memory to be used by map-side group aggregation hash table hive.mapjoin.followby.map.aggr.hash.percentmemory 0.3 Portion of total memory to be used by map-side group aggregation hash table, when this group by is followed by map join hive.map.aggr.hash.force.flush.memory.threshold 0.9 The 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 hive.map.aggr.hash.min.reduction 0.5 Hash 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. hive.multigroupby.singlereducer true Whether 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. hive.map.groupby.sorted true If 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 this is that it limits the number of mappers to the number of files. hive.groupby.orderby.position.alias false Whether to enable using Column Position Alias in Group By or Order By hive.new.job.grouping.set.cardinality 30 Whether 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 set cardinality (4 in the example above), is more than this value, a new MR job is added under the assumption that the original group by will reduce the data size. hive.groupby.limit.extrastep true This parameter decides if Hive should create new MR job for sorting final output hive.exec.copyfile.maxsize 33554432 Maximum 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. hive.udtf.auto.progress false Whether Hive should automatically send progress information to TaskTracker when using UDTF's to prevent the task getting killed because of inactivity. Users should be cautious because this may prevent TaskTracker from killing tasks with infinite loops. hive.default.fileformat TextFile Expects one of [textfile, sequencefile, rcfile, orc]. Default file format for CREATE TABLE statement. Users can explicitly override it by CREATE TABLE ... STORED AS [FORMAT] hive.default.fileformat.managed none Expects 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. hive.query.result.fileformat SequenceFile Expects one of [textfile, sequencefile, rcfile, llap]. Default file format for storing result of the query. hive.fileformat.check true Whether to check file format or not when loading data files hive.default.rcfile.serde org.apache.hadoop.hive.serde2.columnar.LazyBinaryColumnarSerDe The default SerDe Hive will use for the RCFile format hive.default.serde org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe The default SerDe Hive will use for storage formats that do not specify a SerDe. hive.serdes.using.metastore.for.schema org.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 SerDes retrieving schema from metastore. This is an internal parameter. hive.querylog.location ${system:java.io.tmpdir}/${system:user.name} Location of Hive run time structured log file hive.querylog.enable.plan.progress true Whether to log the plan's progress every time a job's progress is checked. These logs are written to the location specified by hive.querylog.location hive.querylog.plan.progress.interval 60000ms Expects 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 plan's 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 of hive.exec.counters.pull.interval) multiplied by the value of hive.exec.counters.pull.interval I.e. if it is not divide evenly by the value of hive.exec.counters.pull.interval it will be logged less frequently than specified. This only has an effect if hive.querylog.enable.plan.progress is set to true. hive.script.serde org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe The default SerDe for transmitting input data to and reading output data from the user scripts. hive.script.recordreader org.apache.hadoop.hive.ql.exec.TextRecordReader The default record reader for reading data from the user scripts. hive.script.recordwriter org.apache.hadoop.hive.ql.exec.TextRecordWriter The default record writer for writing data to the user scripts. hive.transform.escape.input false This adds an option to escape special chars (newlines, carriage returns and tabs) when they are passed to the user script. This is useful if the Hive tables can contain data that contains special characters. hive.binary.record.max.length 1000 Read 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 hive.hwi.listen.host 0.0.0.0 This is the host address the Hive Web Interface will listen on hive.hwi.listen.port 9999 This is the port the Hive Web Interface will listen on hive.hwi.war.file ${env:HWI_WAR_FILE} This sets the path to the HWI war file, relative to ${HIVE_HOME}. hive.mapred.local.mem 0 mapper/reducer memory in local mode hive.mapjoin.smalltable.filesize 25000000 The 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 hive.exec.schema.evolution true Use schema evolution to convert self-describing file format's data to the schema desired by the reader. hive.sample.seednumber 0 A number used to percentage sampling. By changing this number, user will change the subsets of data sampled. hive.test.mode false Whether Hive is running in test mode. If yes, it turns on sampling and prefixes the output tablename. hive.test.mode.prefix test_ In test mode, specfies prefixes for the output table hive.test.mode.samplefreq 32 In test mode, specfies sampling frequency for table, which is not bucketed, For example, the following query: INSERT OVERWRITE TABLE dest SELECT col1 from src would be converted to INSERT OVERWRITE TABLE test_dest SELECT col1 from src TABLESAMPLE (BUCKET 1 out of 32 on rand(1)) hive.test.mode.nosamplelist In test mode, specifies comma separated table names which would not apply sampling hive.test.dummystats.aggregator internal variable for test hive.test.dummystats.publisher internal variable for test hive.test.currenttimestamp current timestamp for test hive.test.rollbacktxn false For testing only. Will mark every ACID transaction aborted hive.test.fail.compaction false For testing only. Will cause CompactorMR to fail. hive.test.fail.heartbeater false For testing only. Will cause Heartbeater to fail. hive.merge.mapfiles true Merge small files at the end of a map-only job hive.merge.mapredfiles false Merge small files at the end of a map-reduce job hive.merge.tezfiles false Merge small files at the end of a Tez DAG hive.merge.sparkfiles false Merge small files at the end of a Spark DAG Transformation hive.merge.size.per.task 256000000 Size of merged files at the end of the job hive.merge.smallfiles.avgsize 16000000 When 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. hive.merge.rcfile.block.level true hive.merge.orcfile.stripe.level true When hive.merge.mapfiles, hive.merge.mapredfiles or hive.merge.tezfiles is enabled while writing a table with ORC file format, enabling this config will do stripe-level fast merge for small ORC files. Note that enabling this config will not honor the padding tolerance config (hive.exec.orc.block.padding.tolerance). hive.exec.rcfile.use.explicit.header true If this is set the header for RCFiles will simply be RCF. If this is not set the header will be that borrowed from sequence files, e.g. SEQ- followed by the input and output RCFile formats. hive.exec.rcfile.use.sync.cache true hive.io.rcfile.record.interval 2147483647 hive.io.rcfile.column.number.conf 0 hive.io.rcfile.tolerate.corruptions false hive.io.rcfile.record.buffer.size 4194304 parquet.memory.pool.ratio 0.5 Maximum 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.'. hive.parquet.timestamp.skip.conversion true Current Hive implementation of parquet stores timestamps to UTC, this flag allows skipping of the conversionon reading parquet files from other tools hive.int.timestamp.conversion.in.seconds false Boolean/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. hive.exec.orc.memory.pool 0.5 Maximum fraction of heap that can be used by ORC file writers hive.exec.orc.write.format Define 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. hive.exec.orc.default.stripe.size 67108864 Define the default ORC stripe size, in bytes. hive.exec.orc.default.block.size 268435456 Define the default file system block size for ORC files. hive.exec.orc.dictionary.key.size.threshold 0.8 If the number of keys in a dictionary is greater than this fraction of the total number of non-null rows, turn off dictionary encoding. Use 1 to always use dictionary encoding. hive.exec.orc.default.row.index.stride 10000 Define the default ORC index stride in number of rows. (Stride is the number of rows an index entry represents.) hive.orc.row.index.stride.dictionary.check true If 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 decision to use dictionary or not will be retained thereafter. hive.exec.orc.default.buffer.size 262144 Define the default ORC buffer size, in bytes. hive.exec.orc.base.delta.ratio 8 The ratio of base writer and delta writer in terms of STRIPE_SIZE and BUFFER_SIZE. hive.exec.orc.default.block.padding true Define the default block padding, which pads stripes to the HDFS block boundaries. hive.exec.orc.block.padding.tolerance 0.05 Define the tolerance for block padding as a decimal fraction of stripe size (for example, the default value 0.05 is 5% of the stripe size). For the defaults of 64Mb ORC stripe and 256Mb HDFS blocks, the default block padding tolerance of 5% will reserve a maximum of 3.2Mb for padding within the 256Mb block. In that case, if the available size within the block is more than 3.2Mb, a new smaller stripe will be inserted to fit within that space. This will make sure that no stripe written will cross block boundaries and cause remote reads within a node local task. hive.exec.orc.default.compress ZLIB Define the default compression codec for ORC file hive.exec.orc.encoding.strategy SPEED Expects one of [speed, compression]. Define the encoding strategy to use while writing data. Changing this will only affect the light weight encoding for integers. This flag will not change the compression level of higher level compression codec (like ZLIB). hive.exec.orc.compression.strategy SPEED Expects 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). hive.exec.orc.split.strategy HYBRID Expects 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. hive.orc.splits.ms.footer.cache.enabled false Whether to enable using file metadata cache in metastore for ORC file footers. hive.orc.splits.ms.footer.cache.ppd.enabled true Whether to enable file footer cache PPD (hive.orc.splits.ms.footer.cache.enabled must also be set to true for this to work). hive.orc.splits.include.file.footer false If turned on splits generated by orc will include metadata about the stripes in the file. This data is read remotely (from the client or HS2 machine) and sent to all the tasks. hive.orc.splits.directory.batch.ms 0 How long, in ms, to wait to batch input directories for processing during ORC split generation. 0 means process directories individually. This can increase the number of metastore calls if metastore metadata cache is used. hive.orc.splits.include.fileid true Include file ID in splits on file systems that support it. hive.orc.splits.allow.synthetic.fileid true Allow synthetic file ID in splits on file systems that don't have a native one. hive.orc.cache.stripe.details.size 10000 Max cache size for keeping meta info about orc splits cached in the client. hive.orc.compute.splits.num.threads 10 How many threads orc should use to create splits in parallel. hive.orc.cache.use.soft.references false By default, the cache that ORC input format uses to store orc file footer use hard references for the cached object. Setting this to true can help avoid out of memory issues under memory pressure (in some cases) at the cost of slight unpredictability in overall query performance. hive.exec.orc.skip.corrupt.data false If ORC reader encounters corrupt data, this value will be used to determine whether to skip the corrupt data or throw exception. The default behavior is to throw exception. hive.exec.orc.zerocopy false Use zerocopy reads with ORC. (This requires Hadoop 2.3 or later.) hive.lazysimple.extended_boolean_literal false LazySimpleSerde 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 legal boolean literal. hive.optimize.skewjoin false Whether to enable skew join optimization. The algorithm is as follows: At runtime, detect the keys with a large skew. Instead of processing those keys, store them temporarily in an HDFS directory. In a follow-up map-reduce job, 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 a map-join. hive.optimize.dynamic.partition.hashjoin false Whether to enable dynamically partitioned hash join optimization. This setting is also dependent on enabling hive.auto.convert.join hive.auto.convert.join true Whether Hive enables the optimization about converting common join into mapjoin based on the input file size hive.auto.convert.join.noconditionaltask true Whether 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 the specified size, the join is directly converted to a mapjoin (there is no conditional task). hive.auto.convert.join.noconditionaltask.size 10000000 If 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 hive.auto.convert.join.use.nonstaged false For 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. hive.skewjoin.key 100000 Determine 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. hive.skewjoin.mapjoin.map.tasks 10000 Determine 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. hive.skewjoin.mapjoin.min.split 33554432 Determine 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. hive.heartbeat.interval 1000 Send a heartbeat after this interval - used by mapjoin and filter operators hive.limit.row.max.size 100000 When trying a smaller subset of data for simple LIMIT, how much size we need to guarantee each row to have at least. hive.limit.optimize.limit.file 10 When trying a smaller subset of data for simple LIMIT, maximum number of files we can sample. hive.limit.optimize.enable false Whether to enable to optimization to trying a smaller subset of data for simple LIMIT first. hive.limit.optimize.fetch.max 50000 Maximum 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. hive.limit.pushdown.memory.usage 0.1 Expects 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. hive.limit.query.max.table.partition -1 This controls how many partitions can be scanned for each partitioned table. The default value "-1" means no limit. hive.hashtable.key.count.adjustment 1.0 Adjustment 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. hive.hashtable.initialCapacity 100000 Initial capacity of mapjoin hashtable if statistics are absent, or if hive.hashtable.key.count.adjustment is set to 0 hive.hashtable.loadfactor 0.75 hive.mapjoin.followby.gby.localtask.max.memory.usage 0.55 This 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 task's 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. hive.mapjoin.localtask.max.memory.usage 0.9 This number means how much memory the local task can take to hold the key/value into an in-memory hash table. If the local task's 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. hive.mapjoin.check.memory.rows 100000 The number means after how many rows processed it needs to check the memory usage hive.debug.localtask false hive.input.format org.apache.hadoop.hive.ql.io.CombineHiveInputFormat The default input format. Set this to HiveInputFormat if you encounter problems with CombineHiveInputFormat. hive.tez.input.format org.apache.hadoop.hive.ql.io.HiveInputFormat The default input format for tez. Tez groups splits in the AM. hive.tez.container.size -1 By default Tez will spawn containers of the size of a mapper. This can be used to overwrite. hive.tez.cpu.vcores -1 By default Tez will ask for however many cpus map-reduce is configured to use per container. This can be used to overwrite. hive.tez.java.opts By default Tez will use the Java options from map tasks. This can be used to overwrite. hive.tez.log.level INFO The 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. hive.query.name This 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. hive.optimize.bucketingsorting true Don't 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. hive.mapred.partitioner org.apache.hadoop.hive.ql.io.DefaultHivePartitioner hive.enforce.sortmergebucketmapjoin false If the user asked for sort-merge bucketed map-side join, and it cannot be performed, should the query fail or not ? hive.enforce.bucketmapjoin false If 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 are not a multiple of each other, bucketed map-side join cannot be performed, and the query will fail if hive.enforce.bucketmapjoin is set to true. hive.auto.convert.sortmerge.join false Will the join be automatically converted to a sort-merge join, if the joined tables pass the criteria for sort-merge join. hive.auto.convert.sortmerge.join.bigtable.selection.policy org.apache.hadoop.hive.ql.optimizer.AvgPartitionSizeBasedBigTableSelectorForAutoSMJ The 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 selected org.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. hive.auto.convert.sortmerge.join.to.mapjoin false If 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 be tried. That would create a conditional task with n+1 children for a n-way join (1 child for each table as the big table), and the backup task will be the sort-merge join. In some cases, a map-join would be faster than a sort-merge join, if there is no advantage of having the output bucketed and sorted. For example, if a very big sorted and bucketed table with few files (say 10 files) are being joined with a very small sorter and bucketed table with few files (10 files), the sort-merge join will only use 10 mappers, and a simple map-only join might be faster if the complete small table can fit in memory, and a map-join can be performed. hive.exec.script.trust false hive.exec.rowoffset false Whether to provide the row offset virtual column hive.optimize.index.filter false Whether to enable automatic use of indexes hive.optimize.index.autoupdate false Whether to update stale indexes automatically hive.optimize.ppd true Whether to enable predicate pushdown hive.optimize.ppd.windowing true Whether to enable predicate pushdown through windowing hive.ppd.recognizetransivity true Whether to transitively replicate predicate filters over equijoin conditions. hive.ppd.remove.duplicatefilters true During 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. hive.optimize.point.lookup true Whether to transform OR clauses in Filter operators into IN clauses hive.optimize.point.lookup.min 31 Minimum number of OR clauses needed to transform into IN clauses hive.optimize.partition.columns.separate true Extract partition columns from IN clauses hive.optimize.constant.propagation true Whether to enable constant propagation optimizer hive.optimize.remove.identity.project true Removes identity project from operator tree hive.optimize.metadataonly true hive.optimize.null.scan true Dont scan relations which are guaranteed to not generate any rows hive.optimize.ppd.storage true Whether to push predicates down to storage handlers hive.optimize.groupby true Whether to enable the bucketed group by from bucketed partitions/tables. hive.optimize.bucketmapjoin false Whether to try bucket mapjoin hive.optimize.bucketmapjoin.sortedmerge false Whether to try sorted bucket merge map join hive.optimize.reducededuplication true Remove 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. hive.optimize.reducededuplication.min.reducer 4 Reduce 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. hive.optimize.sort.dynamic.partition false When enabled dynamic partitioning column will be globally sorted. This way we can keep only one record writer open for each partition value in the reducer thereby reducing the memory pressure on reducers. hive.optimize.sampling.orderby false Uses sampling on order-by clause for parallel execution. hive.optimize.sampling.orderby.number 1000 Total number of samples to be obtained. hive.optimize.sampling.orderby.percent 0.1 Expects value between 0.0f and 1.0f. Probability with which a row will be chosen. hive.optimize.distinct.rewrite true When 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. hive.optimize.union.remove false Whether 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 union queries, and specially useful when hive.optimize.skewjoin.compiletime is set to true, since an extra 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 the number 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. hive.optimize.correlation false exploit intra-query correlations. hive.optimize.limittranspose false Whether to push a limit through left/right outer join or union. If the value is true and the size of the outer input is reduced enough (as specified in hive.optimize.limittranspose.reduction), the limit is pushed to the outer input or union; to remain semantically correct, the limit is kept on top of the join or the union too. hive.optimize.limittranspose.reductionpercentage 1.0 When hive.optimize.limittranspose is true, this variable specifies the minimal reduction of the size of the outer input of the join or input of the union that we should get in order to apply the rule. hive.optimize.limittranspose.reductiontuples 0 When hive.optimize.limittranspose is true, this variable specifies the minimal reduction in the number 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. hive.optimize.filter.stats.reduction false Whether to simplify comparison expressions in filter operators using column stats hive.optimize.skewjoin.compiletime false Whether 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 broken into 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 present in 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 parameter uses 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 doing so for backward compatibility. If the skew information is correctly stored in the metadata, hive.optimize.skewjoin.compiletime would change the query plan to take care of it, and hive.optimize.skewjoin will be a no-op. hive.optimize.cte.materialize.threshold -1 If the number of references to a CTE clause exceeds this threshold, Hive will materialize it before executing the main query block. -1 will disable this feature. hive.optimize.index.filter.compact.minsize 5368709120 Minimum size (in bytes) of the inputs on which a compact index is automatically used. hive.optimize.index.filter.compact.maxsize -1 Maximum size (in bytes) of the inputs on which a compact index is automatically used. A negative number is equivalent to infinity. hive.index.compact.query.max.entries 10000000 The maximum number of index entries to read during a query that uses the compact index. Negative value is equivalent to infinity. hive.index.compact.query.max.size 10737418240 The maximum number of bytes that a query using the compact index can read. Negative value is equivalent to infinity. hive.index.compact.binary.search true Whether or not to use a binary search to find the entries in an index table that match the filter, where possible hive.stats.autogather true A flag to gather statistics (only basic) automatically during the INSERT OVERWRITE command. hive.stats.column.autogather false A flag to gather column statistics automatically. hive.stats.dbclass fs Expects 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. hive.stats.default.publisher The Java class (implementing the StatsPublisher interface) that is used by default if hive.stats.dbclass is custom type. hive.stats.default.aggregator The Java class (implementing the StatsAggregator interface) that is used by default if hive.stats.dbclass is custom type. hive.stats.atomic false whether to update metastore stats only if all stats are available hive.client.stats.counters Subset 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 hive.stats.reliable false Whether 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 stats could not be computed accurately. hive.analyze.stmt.collect.partlevel.stats true analyze table T compute statistics for columns. Queries like these should compute partitionlevel stats for partitioned table even when no part spec is specified. hive.stats.gather.num.threads 10 Number of threads used by partialscan/noscan analyze command for partitioned tables. This is applicable only for file formats that implement StatsProvidingRecordReader (like ORC). hive.stats.collect.tablekeys false Whether 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. hive.stats.collect.scancols false Whether 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. hive.stats.ndv.error 20.0 Standard 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. hive.metastore.stats.ndv.densityfunction false Whether to use density function to estimate the NDV for the whole table based on the NDV of partitions hive.stats.max.variable.length 100 To 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 absence of column statistics, for variable length columns (like string, bytes etc.), this value will be used. For fixed length columns their corresponding Java equivalent sizes are used (float - 4 bytes, double - 8 bytes etc.). hive.stats.list.num.entries 10 To 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 absence of column statistics and for variable length complex columns like list, the average number of entries/values can be specified using this config. hive.stats.map.num.entries 10 To 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 absence of column statistics and for variable length complex columns like map, the average number of entries/values can be specified using this config. hive.stats.fetch.partition.stats true Annotation of operator tree with statistics information requires partition level basic statistics like number of rows, data size and file size. Partition statistics are fetched from metastore. Fetching partition statistics for each needed partition can be expensive when the number of partitions is high. This flag can be used to disable fetching of partition statistics from metastore. When this flag is disabled, Hive will make calls to filesystem to get file sizes and will estimate the number of rows from row schema. hive.stats.fetch.column.stats false Annotation of operator tree with statistics information requires column statistics. Column statistics are fetched from metastore. Fetching column statistics for each needed column can be expensive when the number of columns is high. This flag can be used to disable fetching of column statistics from metastore. hive.stats.join.factor 1.1 Hive/Tez optimizer estimates the data size flowing through each of the operators. JOIN operator uses 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 out of JOIN operator. hive.stats.deserialization.factor 1.0 Hive/Tez optimizer estimates the data size flowing through each of the operators. In the absence of basic statistics like number of rows and data size, file size is used to estimate the number of rows and data size. Since files in tables/partitions are serialized (and optionally compressed) 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. hive.stats.filter.in.factor 1.0 Currently column distribution is assumed to be uniform. This can lead to overestimation/underestimation in the number of rows filtered by a certain operator, which in turn might lead to overprovision or underprovision of resources. This factor is applied to the cardinality estimation of IN clauses in filter operators. hive.support.concurrency false Whether Hive supports concurrency control or not. A ZooKeeper instance must be up and running when using zookeeper Hive lock manager hive.lock.manager org.apache.hadoop.hive.ql.lockmgr.zookeeper.ZooKeeperHiveLockManager hive.lock.numretries 100 The number of times you want to try to get all the locks hive.unlock.numretries 10 The number of times you want to retry to do one unlock hive.lock.sleep.between.retries 60s Expects 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 hive.lock.mapred.only.operation false This param is to control whether or not only do lock on queries that need to execute at least one mapred job. hive.zookeeper.quorum List 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, if hive.cluster.delegation.token.store.zookeeper.connectString is not set 4. LLAP daemon registry service hive.zookeeper.client.port 2181 The port of ZooKeeper servers to talk to. If the list of Zookeeper servers specified in hive.zookeeper.quorum does not contain port numbers, this value is used. hive.zookeeper.session.timeout 1200000ms Expects 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 client's session timeout (in milliseconds). The client is disconnected, and as a result, all locks released, if a heartbeat is not sent in the timeout. hive.zookeeper.namespace hive_zookeeper_namespace The parent node under which all ZooKeeper nodes are created. hive.zookeeper.clean.extra.nodes false Clean extra nodes at the end of the session. hive.zookeeper.connection.max.retries 3 Max number of times to retry when connecting to the ZooKeeper server. hive.zookeeper.connection.basesleeptime 1000ms Expects 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 retries when connecting to the ZooKeeper server when using ExponentialBackoffRetry policy. hive.txn.manager org.apache.hadoop.hive.ql.lockmgr.DummyTxnManager Set to org.apache.hadoop.hive.ql.lockmgr.DbTxnManager as part of turning on Hive transactions, 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 provides no transactions. hive.txn.timeout 300s Expects 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. hive.txn.heartbeat.threadpool.size 5 The number of threads to use for heartbeating. For Hive CLI, 1 is enough. For HiveServer2, we need a few hive.txn.manager.dump.lock.state.on.acquire.timeout false Set 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. hive.max.open.txns 100000 Maximum 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. hive.count.open.txns.interval 1s Expects 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. hive.txn.max.open.batch 1000 Maximum 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 open simultaneously. The streaming agent then writes that number of entries into a single file (per Flume agent or Storm bolt). Thus increasing this value decreases the number of delta files created by streaming agents. But it also increases the number of open transactions that Hive has to track at any given time, which may negatively affect read performance. hive.txn.retryable.sqlex.regex Comma separated list of regular expression patterns for SQL state, error code, and error message of retryable SQLExceptions, that's suitable for the metastore DB. For example: Can't 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() + ")" hive.compactor.initiator.on false Whether 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 turning on Hive transactions. For a complete list of parameters required for turning on transactions, see hive.txn.manager. hive.compactor.worker.threads 0 How many compactor worker threads to run on this metastore instance. Set this to a positive number on one or more instances of the Thrift metastore service as part of turning on Hive transactions. For a complete list of parameters required for turning on transactions, see hive.txn.manager. Worker threads spawn MapReduce jobs to do compactions. They do not do the compactions themselves. Increasing the number of worker threads will decrease the time it takes tables 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 jobs will be running in the background. hive.compactor.worker.timeout 86400s Expects 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 the compaction re-queued. hive.compactor.check.interval 300s Expects 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 be compacted. This should be kept high because each check for compaction requires many calls against the NameNode. Decreasing this value will reduce the time it takes for compaction to be started for a table or partition that requires compaction. However, checking if compaction is needed requires several calls to the NameNode for each table or partition that has had a transaction done on it since the last major compaction. So decreasing this value will increase the load on the NameNode. hive.compactor.delta.num.threshold 10 Number of delta directories in a table or partition that will trigger a minor compaction. hive.compactor.delta.pct.threshold 0.1 Percentage (fractional) size of the delta files relative to the base that will trigger a major compaction. (1.0 = 100%, so the default 0.1 = 10%.) hive.compactor.max.num.delta 500 Maximum number of delta files that the compactor will attempt to handle in a single job. hive.compactor.abortedtxn.threshold 1000 Number of aborted transactions involving a given table or partition that will trigger a major compaction. hive.compactor.initiator.failed.compacts.threshold 2 Expects 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. hive.compactor.cleaner.run.interval 5000ms Expects 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 hive.compactor.job.queue Used to specify name of Hadoop queue to which Compaction jobs will be submitted. Set to empty string to let Hadoop choose the queue. hive.compactor.history.retention.succeeded 3 Expects value between 0 and 100. Determines how many successful compaction records will be retained in compaction history for a given table/partition. hive.compactor.history.retention.failed 3 Expects value between 0 and 100. Determines how many failed compaction records will be retained in compaction history for a given table/partition. hive.compactor.history.retention.attempted 2 Expects value between 0 and 100. Determines how many attempted compaction records will be retained in compaction history for a given table/partition. hive.compactor.history.reaper.interval 2m Expects 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 hive.timedout.txn.reaper.start 100s Expects 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 hive.timedout.txn.reaper.interval 180s Expects 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 hive.writeset.reaper.interval 60s Expects 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 hive.hbase.wal.enabled true Whether 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. hive.hbase.generatehfiles false True when HBaseStorageHandler should generate hfiles instead of operate against the online table. hive.hbase.snapshot.name The HBase table snapshot name to use. hive.hbase.snapshot.restoredir /tmp The directory in which to restore the HBase table snapshot. hive.archive.enabled false Whether archiving operations are permitted hive.optimize.index.groupby false Whether to enable optimization of group-by queries using Aggregate indexes. hive.outerjoin.supports.filters true hive.fetch.task.conversion more Expects 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 have any aggregations or distincts (which incurs RS), lateral views and joins. 0. none : disable hive.fetch.task.conversion 1. minimal : SELECT STAR, FILTER on partition columns, LIMIT only 2. more : SELECT, FILTER, LIMIT only (support TABLESAMPLE and virtual columns) hive.fetch.task.conversion.threshold 1073741824 Input threshold for applying hive.fetch.task.conversion. If target table is native, input length is calculated by summation of file lengths. If it's not native, storage handler for the table can optionally implement org.apache.hadoop.hive.ql.metadata.InputEstimator interface. hive.fetch.task.aggr false Aggregation queries with no group-by clause (for example, select count(*) from src) execute final aggregations in single reduce task. If this is set true, Hive delegates final aggregation stage to fetch task, possibly decreasing the query time. hive.compute.query.using.stats false When set to true Hive will answer a few queries like count(1) purely using stats stored 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. hive.fetch.output.serde org.apache.hadoop.hive.serde2.DelimitedJSONSerDe The SerDe used by FetchTask to serialize the fetch output. hive.cache.expr.evaluation true If true, the evaluation result of a deterministic expression referenced twice or more will be cached. For example, in a filter condition like '.. where key + 10 = 100 or key + 10 = 0' the expression 'key + 10' will be evaluated/cached once and reused for the following expression ('key + 10 = 0'). Currently, this is applied only to expressions in select or filter operators. hive.variable.substitute true This enables substitution using syntax like ${var} ${system:var} and ${env:var}. hive.variable.substitute.depth 40 The maximum replacements the substitution engine will do. hive.conf.validation true Enables type checking for registered Hive configurations hive.semantic.analyzer.hook hive.security.authorization.enabled false enable or disable the Hive client authorization hive.security.authorization.manager org.apache.hadoop.hive.ql.security.authorization.plugin.sqlstd.SQLStdHiveAuthorizerFactory The Hive client authorization manager class name. The user defined authorization class should implement interface org.apache.hadoop.hive.ql.security.authorization.HiveAuthorizationProvider. hive.security.authenticator.manager org.apache.hadoop.hive.ql.security.HadoopDefaultAuthenticator hive client authenticator manager class name. The user defined authenticator should implement interface org.apache.hadoop.hive.ql.security.HiveAuthenticationProvider. hive.security.metastore.authorization.manager org.apache.hadoop.hive.ql.security.authorization.DefaultHiveMetastoreAuthorizationProvider Names of authorization manager classes (comma separated) to be used in the metastore for authorization. The user defined authorization class should implement interface org.apache.hadoop.hive.ql.security.authorization.HiveMetastoreAuthorizationProvider. All authorization manager classes have to successfully authorize the metastore API call for the command execution to be allowed. hive.security.metastore.authorization.auth.reads true If this is true, metastore authorizer authorizes read actions on database, table hive.security.metastore.authenticator.manager org.apache.hadoop.hive.ql.security.HadoopDefaultMetastoreAuthenticator authenticator 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. hive.security.authorization.createtable.user.grants the 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. hive.security.authorization.createtable.group.grants the 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. hive.security.authorization.createtable.role.grants the 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. hive.security.authorization.createtable.owner.grants The privileges automatically granted to the owner whenever a table gets created. An example like "select,drop" will grant select and drop privilege to the owner of the table. Note that the default gives the creator of a table no access to the table (but see HIVE-8067). hive.security.authorization.task.factory org.apache.hadoop.hive.ql.parse.authorization.HiveAuthorizationTaskFactoryImpl Authorization DDL task factory implementation hive.security.authorization.sqlstd.confwhitelist List of comma separated Java regexes. Configurations parameters that match these regexes can be modified by user when SQL standard authorization is enabled. To get the default value, use the 'set <param>' command. Note that the hive.conf.restricted.list checks are still enforced after the white list check hive.security.authorization.sqlstd.confwhitelist.append List of comma separated Java regexes, to be appended to list set in hive.security.authorization.sqlstd.confwhitelist. Using this list instead of updating the original list means that you can append to the defaults set by SQL standard authorization instead of replacing it entirely. hive.cli.print.header false Whether to print the names of the columns in query output. hive.cli.tez.session.async true Whether to start Tez session in background when running CLI with Tez, allowing CLI to be available earlier. hive.error.on.empty.partition false Whether to throw an exception if dynamic partition insert generates empty results. hive.index.compact.file internal variable hive.index.blockfilter.file internal variable hive.index.compact.file.ignore.hdfs false When 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. hive.exim.uri.scheme.whitelist hdfs,pfile A comma separated list of acceptable URI schemes for import and export. hive.exim.strict.repl.tables true Parameter that determines if 'regular' (non-replication) export dumps can be imported on to tables that are the target of replication. If this parameter is set, regular imports will check if the destination table(if it exists) has a 'repl.last.id' set on it. If so, it will fail. hive.repl.task.factory org.apache.hive.hcatalog.api.repl.exim.EximReplicationTaskFactory Parameter that can be used to override which ReplicationTaskFactory will be used to instantiate ReplicationTask events. Override for third party repl plugins hive.mapper.cannot.span.multiple.partitions false hive.rework.mapredwork false should rework the mapred work or not. This is first introduced by SymlinkTextInputFormat to replace symlink files with real paths at compile time. hive.exec.concatenate.check.index true If this is set to true, Hive will throw error when doing 'alter table tbl_name [partSpec] concatenate' on a table/partition that has indexes on it. The reason the user want to set this to true is because it can help user to avoid handling all index drop, recreation, rebuild work. This is very helpful for tables with thousands of partitions. hive.io.exception.handlers A list of io exception handler class names. This is used to construct a list exception handlers to handle exceptions thrown by record readers hive.log4j.file Hive 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). hive.exec.log4j.file Hive 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). hive.async.log.enabled true Whether to enable Log4j2's asynchronous logging. Asynchronous logging can give significant performance improvement as logging will be handled in separate thread that uses LMAX disruptor queue for buffering log messages. Refer https://logging.apache.org/log4j/2.x/manual/async.html for benefits and drawbacks. hive.log.explain.output false Whether to log explain output for every query. When enabled, will log EXPLAIN EXTENDED output for the query at INFO log4j log level. hive.explain.user true Whether to show explain result at user level. When enabled, will log EXPLAIN output for the query at user level. hive.autogen.columnalias.prefix.label _c String 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. hive.autogen.columnalias.prefix.includefuncname false Whether to include function name in the column alias auto generated by Hive. hive.service.metrics.class org.apache.hadoop.hive.common.metrics.metrics2.CodahaleMetrics Expects one of [org.apache.hadoop.hive.common.metrics.metrics2.codahalemetrics, org.apache.hadoop.hive.common.metrics.legacymetrics]. Hive metrics subsystem implementation class. hive.service.metrics.reporter JSON_FILE, JMX Reporter type for metric class org.apache.hadoop.hive.common.metrics.metrics2.CodahaleMetrics, comma separated list of JMX, CONSOLE, JSON_FILE, HADOOP2 hive.service.metrics.file.location /tmp/report.json For 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. hive.service.metrics.file.frequency 5s Expects 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. hive.service.metrics.hadoop2.frequency 30s Expects 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. hive.service.metrics.hadoop2.component hive Component name to provide to Hadoop2 Metrics system. Ideally 'hivemetastore' for the MetaStore and and 'hiveserver2' for HiveServer2. hive.exec.perf.logger org.apache.hadoop.hive.ql.log.PerfLogger The class responsible for logging client side performance metrics. Must be a subclass of org.apache.hadoop.hive.ql.log.PerfLogger hive.start.cleanup.scratchdir false To cleanup the Hive scratchdir when starting the Hive Server hive.scratchdir.lock false To hold a lock file in scratchdir to prevent to be removed by cleardanglingscratchdir hive.insert.into.multilevel.dirs false Where to insert into multilevel directories like "insert directory '/HIVEFT25686/chinna/' from table" hive.warehouse.subdir.inherit.perms true Set this to false if the table directories should be created with the permissions derived from dfs umask instead of inheriting the permission of the warehouse or database directory. hive.insert.into.external.tables true whether insert into external tables is allowed hive.exec.temporary.table.storage default Expects one of [memory, ssd, default]. Define the storage policy for temporary tables.Choices between memory, ssd and default hive.exec.driver.run.hooks A 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. hive.ddl.output.format The data format to use for DDL output. One of "text" (for human readable text) or "json" (for a json object). hive.entity.separator @ Separator used to construct names of tables and partitions. For example, dbname@tablename@partitionname hive.entity.capture.transform false Compiler to capture transform URI referred in the query hive.display.partition.cols.separately true In older Hive version (0.10 and earlier) no distinction was made between partition columns or non-partition columns while displaying columns in describe table. From 0.12 onwards, they are displayed separately. This flag will let you get old behavior, if desired. See, test-case in patch for HIVE-6689. hive.ssl.protocol.blacklist SSLv2,SSLv3 SSL Versions to disable for all Hive Servers hive.server2.max.start.attempts 30 Expects 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. hive.server2.support.dynamic.service.discovery false Whether 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. hive.server2.zookeeper.namespace hiveserver2 The parent node in ZooKeeper used by HiveServer2 when supporting dynamic service discovery. hive.server2.zookeeper.publish.configs true Whether we should publish HiveServer2's configs to ZooKeeper. hive.server2.global.init.file.location ${env:HIVE_CONF_DIR} Either 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. hive.server2.transport.mode binary Expects one of [binary, http]. Transport mode of HiveServer2. hive.server2.thrift.bind.host Bind host on which to run the HiveServer2 Thrift service. hive.driver.parallel.compilation false Whether to enable parallel compilation between sessions on HiveServer2. The default is false. hive.server2.compile.lock.timeout 0s Expects 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. hive.server2.parallel.ops.in.session true Whether to allow several parallel operations (such as SQL statements) in one session. hive.server2.webui.host 0.0.0.0 The host address the HiveServer2 WebUI will listen on hive.server2.webui.port 10002 The port the HiveServer2 WebUI will listen on. This can beset to 0 or a negative integer to disable the web UI hive.server2.webui.max.threads 50 The max HiveServer2 WebUI threads hive.server2.webui.use.ssl false Set this to true for using SSL encryption for HiveServer2 WebUI. hive.server2.webui.keystore.path SSL certificate keystore location for HiveServer2 WebUI. hive.server2.webui.keystore.password SSL certificate keystore password for HiveServer2 WebUI. hive.server2.webui.use.spnego false If true, the HiveServer2 WebUI will be secured with SPNEGO. Clients must authenticate with Kerberos. hive.server2.webui.spnego.keytab The path to the Kerberos Keytab file containing the HiveServer2 WebUI SPNEGO service principal. hive.server2.webui.spnego.principal HTTP/_HOST@EXAMPLE.COM The 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. hive.server2.webui.max.historic.queries 25 The maximum number of past queries to show in HiverSever2 WebUI. hive.server2.tez.default.queues A 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 set for multiple Tez sessions to run in parallel on the cluster. hive.server2.tez.sessions.per.default.queue 1 A positive integer that determines the number of Tez sessions that should be launched on each of the queues specified by "hive.server2.tez.default.queues". Determines the parallelism on each queue. hive.server2.tez.initialize.default.sessions false This flag is used in HiveServer2 to enable a user to use HiveServer2 without turning on Tez for HiveServer2. The user could potentially want to run queries over Tez without the pool of sessions. hive.server2.tez.session.lifetime 162h Expects 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. hive.server2.tez.session.lifetime.jitter 3h Expects 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. hive.server2.tez.sessions.init.threads 16 If hive.server2.tez.initialize.default.sessions is enabled, the maximum number of threads to use to initialize the default sessions. hive.server2.logging.operation.enabled true When true, HS2 will save operation logs and make them available for clients hive.server2.logging.operation.log.location ${system:java.io.tmpdir}/${system:user.name}/operation_logs Top level directory where operation logs are stored if logging functionality is enabled hive.server2.logging.operation.level EXECUTION Expects 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 logging EXECUTION: Log completion of tasks PERFORMANCE: Execution + Performance logs VERBOSE: All logs hive.server2.metrics.enabled false Enable metrics on the HiveServer2. hive.server2.thrift.http.port 10001 Port number of HiveServer2 Thrift interface when hive.server2.transport.mode is 'http'. hive.server2.thrift.http.path cliservice Path component of URL endpoint when in HTTP mode. hive.server2.thrift.max.message.size 104857600 Maximum message size in bytes a HS2 server will accept. hive.server2.thrift.http.max.idle.time 1800s Expects 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. hive.server2.thrift.http.worker.keepalive.time 60s Expects 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. hive.server2.thrift.http.request.header.size 6144 Request header size in bytes, when using HTTP transport mode. Jetty defaults used. hive.server2.thrift.http.response.header.size 6144 Response header size in bytes, when using HTTP transport mode. Jetty defaults used. hive.server2.thrift.http.cookie.auth.enabled true When true, HiveServer2 in HTTP transport mode, will use cookie based authentication mechanism. hive.server2.thrift.http.cookie.max.age 86400s Expects 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. hive.server2.thrift.http.cookie.domain Domain for the HS2 generated cookies hive.server2.thrift.http.cookie.path Path for the HS2 generated cookies hive.server2.thrift.http.cookie.is.secure true Secure attribute of the HS2 generated cookie. hive.server2.thrift.http.cookie.is.httponly true HttpOnly attribute of the HS2 generated cookie. hive.server2.thrift.port 10000 Port number of HiveServer2 Thrift interface when hive.server2.transport.mode is 'binary'. hive.server2.thrift.sasl.qop auth Expects one of [auth, auth-int, auth-conf]. Sasl QOP value; set it to one of following values to enable higher levels of protection for HiveServer2 communication with clients. Setting hadoop.rpc.protection to a higher level than HiveServer2 does not make sense in most situations. HiveServer2 ignores hadoop.rpc.protection in favor of hive.server2.thrift.sasl.qop. "auth" - authentication only (default) "auth-int" - authentication plus integrity protection "auth-conf" - authentication plus integrity and confidentiality protection This is applicable only if HiveServer2 is configured to use Kerberos authentication. hive.server2.thrift.min.worker.threads 5 Minimum number of Thrift worker threads hive.server2.thrift.max.worker.threads 500 Maximum number of Thrift worker threads hive.server2.thrift.exponential.backoff.slot.length 100ms Expects 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 hive.server2.thrift.login.timeout 20s Expects 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 hive.server2.thrift.worker.keepalive.time 60s Expects 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. hive.server2.async.exec.threads 100 Number of threads in the async thread pool for HiveServer2 hive.server2.async.exec.shutdown.timeout 10s Expects 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. hive.server2.async.exec.wait.queue.size 100 Size of the wait queue for async thread pool in HiveServer2. After hitting this limit, the async thread pool will reject new requests. hive.server2.async.exec.keepalive.time 10s Expects 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 task to arrive before terminating hive.server2.async.exec.async.compile false Whether to enable compiling async query asynchronously. If enabled, it is unknown if the query will have any resultset before compilation completed. hive.server2.long.polling.timeout 5000ms Expects 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 hive.session.impl.classname Classname for custom implementation of hive session hive.session.impl.withugi.classname Classname for custom implementation of hive session with UGI hive.server2.authentication NONE Expects one of [nosasl, none, ldap, kerberos, pam, custom]. Client authentication types. NONE: no authentication check LDAP: LDAP/AD based authentication KERBEROS: Kerberos/GSSAPI authentication CUSTOM: Custom authentication provider (Use with property hive.server2.custom.authentication.class) PAM: Pluggable authentication module NOSASL: Raw transport hive.server2.allow.user.substitution true Allow alternate user to be specified as part of HiveServer2 open connection request. hive.server2.authentication.kerberos.keytab Kerberos keytab file for server principal hive.server2.authentication.kerberos.principal Kerberos server principal hive.server2.authentication.spnego.keytab keytab 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 valid hive.server2.authentication.spnego.principal and hive.server2.authentication.spnego.keytab are specified. hive.server2.authentication.spnego.principal SPNego service principal, optional, typical value would look like HTTP/_HOST@EXAMPLE.COM SPNego service principal 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. hive.server2.authentication.ldap.url LDAP 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. hive.server2.authentication.ldap.baseDN LDAP base DN hive.server2.authentication.ldap.Domain hive.server2.authentication.ldap.groupDNPattern COLON-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,CN=Groups,DC=subdomain,DC=domain,DC=com. hive.server2.authentication.ldap.groupFilter COMMA-separated list of LDAP Group names (short name not full DNs). For example: HiveAdmins,HadoopAdmins,Administrators hive.server2.authentication.ldap.userDNPattern COLON-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,CN=Users,DC=subdomain,DC=domain,DC=com. hive.server2.authentication.ldap.userFilter COMMA-separated list of LDAP usernames (just short names, not full DNs). For example: hiveuser,impalauser,hiveadmin,hadoopadmin hive.server2.authentication.ldap.guidKey uid LDAP attribute name whose values are unique in this LDAP server. For example: uid or CN. hive.server2.authentication.ldap.groupMembershipKey member LDAP attribute name on the user entry that references a group, the user belongs to. For example: member, uniqueMember or memberUid hive.server2.authentication.ldap.groupClassKey groupOfNames LDAP attribute name on the group entry that is to be used in LDAP group searches. For example: group, groupOfNames or groupOfUniqueNames. hive.server2.authentication.ldap.customLDAPQuery A 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 Authentication request, succeeds if the user is part of the resultset.For example: (&(objectClass=group)(objectClass=top)(instanceType=4)(cn=Domain*)) (&(objectClass=person)(|(sAMAccountName=admin)(|(memberOf=CN=Domain Admins,CN=Users,DC=domain,DC=com)(memberOf=CN=Administrators,CN=Builtin,DC=domain,DC=com)))) hive.server2.custom.authentication.class Custom authentication class. Used when property 'hive.server2.authentication' is set to 'CUSTOM'. Provided class must be a proper implementation of the interface org.apache.hive.service.auth.PasswdAuthenticationProvider. HiveServer2 will call its Authenticate(user, passed) method to authenticate requests. The implementation may optionally implement Hadoop's org.apache.hadoop.conf.Configurable class to grab Hive's Configuration object. hive.server2.authentication.pam.services List of the underlying pam services that should be used when auth type is PAM A file with the same name must exist in /etc/pam.d hive.server2.enable.doAs true Setting this property to true will have HiveServer2 execute Hive operations as the user making the calls to it. hive.server2.table.type.mapping CLASSIC Expects one of [classic, hive]. This setting reflects how HiveServer2 will report the table types for JDBC and other client implementations that retrieve the available tables and supported table types HIVE : Exposes Hive's native table types like MANAGED_TABLE, EXTERNAL_TABLE, VIRTUAL_VIEW CLASSIC : More generic types like TABLE and VIEW hive.server2.session.hook hive.server2.use.SSL false Set this to true for using SSL encryption in HiveServer2. hive.server2.keystore.path SSL certificate keystore location. hive.server2.keystore.password SSL certificate keystore password. hive.server2.map.fair.scheduler.queue true If 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 queue for submitted jobs, so that map reduce resource usage can be tracked by user. If set to false, all Hive jobs go to the 'hive' user's queue. hive.server2.builtin.udf.whitelist Comma 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 hive.server2.builtin.udf.blacklist Comma separated list of udfs names. These udfs will not be allowed in queries. The udf black list takes precedence over udf white list hive.allow.udf.load.on.demand false Whether enable loading UDFs from metastore on demand; this is mostly relevant for HS2 and was the default behavior before Hive 1.2. Off by default. hive.server2.session.check.interval 6h Expects 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. hive.server2.close.session.on.disconnect true Session will be closed when connection is closed. Set this to false to have session outlive its parent connection. hive.server2.idle.session.timeout 7d Expects 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 it's not accessed for this duration, which can be disabled by setting to zero or negative value. hive.server2.idle.operation.timeout 5d Expects 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 it's not accessed for this duration of time, which can be disabled by setting to zero value. With positive value, it's checked for operations in terminal state only (FINISHED, CANCELED, CLOSED, ERROR). With negative value, it's checked for all of the operations regardless of state. hive.server2.idle.session.check.operation true Session 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. hive.server2.thrift.client.retry.limit 1 Number of retries upon failure of Thrift HiveServer2 calls hive.server2.thrift.client.connect.retry.limit 1 Number of retries while opening a connection to HiveServe2 hive.server2.thrift.client.retry.delay.seconds 1s Expects 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 hive.server2.thrift.client.user anonymous Username to use against thrift client hive.server2.thrift.client.password anonymous Password to use against thrift client hive.server2.thrift.resultset.serialize.in.tasks false Whether 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. hive.server2.thrift.resultset.max.fetch.size 1000 Max number of rows sent in one Fetch RPC call by the server to the client. hive.server2.xsrf.filter.enabled false If enabled, HiveServer2 will block any requests made to it over http if an X-XSRF-HEADER header is not present hive.security.command.whitelist set,reset,dfs,add,list,delete,reload,compile Comma separated list of non-SQL Hive commands users are authorized to execute hive.mv.files.thread 15 Expects 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. hive.multi.insert.move.tasks.share.dependencies false If this is set all move tasks for tables/partitions (not directories) at the end of a multi-insert query will only begin once the dependencies for all these move tasks have been met. Advantages: If concurrency is enabled, the locks will only be released once the query has finished, so with this config enabled, the time when the table/partition is generated will be much closer to when the lock on it is released. Disadvantages: If concurrency is not enabled, with this disabled, the tables/partitions which are produced by this query and finish earlier will be available for querying much earlier. Since the locks are only released once the query finishes, this does not apply if concurrency is enabled. hive.exec.infer.bucket.sort false If this is set, when writing partitions, the metadata will include the bucketing/sorting properties with which the data was written if any (this will not overwrite the metadata inherited from the table if the table is bucketed/sorted) hive.exec.infer.bucket.sort.num.buckets.power.two false If this is set, when setting the number of reducers for the map reduce task which writes the final output files, it will choose a number which is a power of two, unless the user specifies the number of reducers to use using mapred.reduce.tasks. The number of reducers may be set to a power of two, only to be followed by a merge task meaning preventing anything 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, will be very low. With this set, since the number of buckets used for any partition is a power of two, the number of mappers used for optimized joins will be the least number of buckets used by any partition being joined. Disadvantages: This may mean a much larger or much smaller number of reducers being used in the final 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. hive.optimize.listbucketing false Enable list bucketing optimizer. Default value is false so that we disable it by default. hive.server.read.socket.timeout 10s Expects 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. hive.server.tcp.keepalive true Whether to enable TCP keepalive for the Hive Server. Keepalive will prevent accumulation of half-open connections. hive.decode.partition.name false Whether to show the unquoted partition names in query results. hive.execution.engine mr Expects one of [mr, tez, spark]. Chooses execution engine. Options are: mr (Map reduce, default), tez, spark. While MR remains the default engine for historical reasons, it is itself a historical engine and is deprecated in Hive 2 line. It may be removed without further warning. hive.execution.mode container Expects one of [container, llap]. Chooses whether query fragments will run in container or in llap hive.jar.directory This is the location hive in tez mode will look for to find a site wide installed hive instance. hive.user.install.directory /user/ If 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.name" and use it to run queries. hive.vectorized.execution.enabled false This flag should be set to true to enable vectorized mode of query execution. The default value is false. hive.vectorized.execution.reduce.enabled true This flag should be set to true to enable vectorized mode of the reduce-side of query execution. The default value is true. hive.vectorized.execution.reduce.groupby.enabled true This flag should be set to true to enable vectorized mode of the reduce-side GROUP BY query execution. The default value is true. hive.vectorized.execution.mapjoin.native.enabled true This flag should be set to true to enable native (i.e. non-pass through) vectorization of queries using MapJoin. The default value is true. hive.vectorized.execution.mapjoin.native.multikey.only.enabled false This flag should be set to true to restrict use of native vector map join hash tables to the MultiKey in queries using MapJoin. The default value is false. hive.vectorized.execution.mapjoin.minmax.enabled false This flag should be set to true to enable vector map join hash tables to use max / max filtering for integer join queries using MapJoin. The default value is false. hive.vectorized.execution.mapjoin.overflow.repeated.threshold -1 The number of small table rows for a match in vector map join hash tables where 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. hive.vectorized.execution.mapjoin.native.fast.hashtable.enabled false This flag should be set to true to enable use of native fast vector map join hash tables in queries using MapJoin. The default value is false. hive.vectorized.groupby.checkinterval 100000 Number of entries added to the group by aggregation hash before a recomputation of average entry size is performed. hive.vectorized.groupby.maxentries 1000000 Max number of entries in the vector group by aggregation hashtables. Exceeding this will trigger a flush irrelevant of memory pressure condition. hive.vectorized.groupby.flush.percent 0.1 Percent of entries in the group by aggregation hash flushed when the memory threshold is exceeded. hive.vectorized.execution.reducesink.new.enabled true This flag should be set to true to enable the new vectorization of queries using ReduceSink. iThe default value is true. hive.vectorized.use.vectorized.input.format true This flag should be set to true to enable vectorizing with vectorized input file format capable SerDe. The default value is true. hive.vectorized.use.vector.serde.deserialize false This flag should be set to true to enable vectorizing rows using vector deserialize. The default value is false. hive.vectorized.use.row.serde.deserialize false This flag should be set to true to enable vectorizing using row deserialize. The default value is false. hive.typecheck.on.insert true This 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. hive.hadoop.classpath For Windows OS, we need to pass HIVE_HADOOP_CLASSPATH Java parameter while starting HiveServer2 using "-hiveconf hive.hadoop.classpath=%HIVE_LIB%". hive.rpc.query.plan false Whether to send the query plan via local resource or RPC hive.compute.splits.in.am true Whether to generate the splits locally or in the AM (tez only) hive.tez.input.generate.consistent.splits true Whether to generate consistent split locations when generating splits in the AM hive.prewarm.enabled false Enables container prewarm for Tez/Spark (Hadoop 2 only) hive.prewarm.numcontainers 10 Controls the number of containers to prewarm for Tez/Spark (Hadoop 2 only) hive.stageid.rearrange none Expects one of [none, idonly, traverse, execution]. hive.explain.dependency.append.tasktype false hive.counters.group.name HIVE The name of counter group for internal Hive variables (CREATED_FILE, FATAL_ERROR, etc.) hive.support.quoted.identifiers column Expects 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. hive.support.sql11.reserved.keywords true This flag should be set to true to enable support for SQL2011 reserved keywords. The default value is true. hive.support.special.characters.tablename true This 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. hive.users.in.admin.role Comma separated list of users who are in admin role for bootstrapping. More users can be added in ADMIN role later. hive.compat 0.12 Enable (configurable) deprecated behaviors by setting desired level of backward compatibility. Setting to 0.12: Maintains division behavior: int / int = double hive.convert.join.bucket.mapjoin.tez false Whether joins can be automatically converted to bucket map joins in hive when tez is used as the execution engine. hive.exec.check.crossproducts true Check if a plan contains a Cross Product. If there is one, output a warning to the Session's console. hive.localize.resource.wait.interval 5000ms Expects 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. hive.localize.resource.num.wait.attempts 5 The number of attempts waiting for localizing a resource in hive-tez. hive.tez.auto.reducer.parallelism false Turn on Tez' auto reducer parallelism feature. When enabled, Hive will still estimate data sizes and set parallelism estimates. Tez will sample source vertices' output sizes and adjust the estimates at runtime as necessary. hive.tez.max.partition.factor 2.0 When auto reducer parallelism is enabled this factor will be used to over-partition data in shuffle edges. hive.tez.min.partition.factor 0.25 When auto reducer parallelism is enabled this factor will be used to put a lower limit to the number of reducers that tez specifies. hive.tez.bucket.pruning false When 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. hive.tez.bucket.pruning.compat true When pruning is enabled, handle possibly broken inserts due to negative hashcodes. This occasionally doubles the data scan cost, but is default enabled for safety hive.tez.dynamic.partition.pruning true When dynamic pruning is enabled, joins on partition keys will be processed by sending events from the processing vertices to the Tez application master. These events will be used to prune unnecessary partitions. hive.tez.dynamic.partition.pruning.max.event.size 1048576 Maximum size of events sent by processors in dynamic pruning. If this size is crossed no pruning will take place. hive.tez.dynamic.partition.pruning.max.data.size 104857600 Maximum total data size of events in dynamic pruning. hive.tez.smb.number.waves 0.5 The number of waves in which to run the SMB join. Account for cluster being occupied. Ideally should be 1 wave. hive.tez.exec.print.summary false Display breakdown of execution steps, for every query executed by the shell. hive.tez.exec.inplace.progress true Updates tez job execution progress in-place in the terminal. hive.tez.container.max.java.heap.fraction 0.8 This is to override the tez setting with the same name hive.tez.task.scale.memory.reserve-fraction.min 0.3 This is to override the tez setting tez.task.scale.memory.reserve-fraction hive.tez.task.scale.memory.reserve.fraction.max 0.5 The maximum fraction of JVM memory which Tez will reserve for the processor hive.tez.task.scale.memory.reserve.fraction -1.0 The customized fraction of JVM memory which Tez will reserve for the processor hive.llap.io.enabled Whether the LLAP IO layer is enabled. hive.llap.io.memory.mode cache Expects one of [cache, none]. LLAP IO memory usage; 'cache' (the default) uses data and metadata cache with a custom off-heap allocator, 'none' doesn't use either (this mode may result in significant performance degradation) hive.llap.io.allocator.alloc.min 16Kb Expects a byte size value with unit (blank for bytes, kb, mb, gb, tb, pb). Minimum allocation possible from LLAP buddy allocator. Allocations below that are padded to minimum allocation. For ORC, should generally be the same as the expected compression buffer size, or next lowest power of 2. Must be a power of 2. hive.llap.io.allocator.alloc.max 16Mb Expects 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 as the largest expected ORC compression buffer size. Must be a power of 2. hive.llap.io.allocator.arena.count 8 Arena count for LLAP low-level cache; cache will be allocated in the steps of (size/arena_count) bytes. This size must be <= 1Gb and >= max allocation; if it is not the case, an adjusted size will be used. Using powers of 2 is recommended. hive.llap.io.memory.size 1Gb Expects a byte size value with unit (blank for bytes, kb, mb, gb, tb, pb). Maximum size for IO allocator or ORC low-level cache. hive.llap.io.allocator.direct true Whether ORC low-level cache should use direct allocation. hive.llap.io.allocator.mmap false Whether 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. hive.llap.io.allocator.mmap.path /tmp Expects a writable directory on the local filesystem. The directory location for mapping NVDIMM/NVMe flash storage into the ORC low-level cache. hive.llap.io.use.lrfu true Whether ORC low-level cache should use LRFU cache policy instead of default (FIFO). hive.llap.io.lrfu.lambda 0.01 Lambda for ORC low-level cache LRFU cache policy. Must be in [0, 1]. 0 makes LRFU behave like LFU, 1 makes it behave like LRU, values in between balance accordingly. hive.llap.cache.allow.synthetic.fileid false Whether LLAP cache should use synthetic file ID if real one is not available. Systems like HDFS, Isilon, etc. provide a unique file/inode ID. On other FSes (e.g. local FS), the cache would not work by default because LLAP is unable to uniquely track the files; enabling this setting allows LLAP to generate file ID from the path, size and modification time, which is almost certain to identify file uniquely. However, if you use a FS without file IDs and rewrite files a lot (or are paranoid), you might want to avoid this setting. hive.llap.orc.gap.cache true Whether LLAP cache for ORC should remember gaps in ORC compression buffer read estimates, to avoid re-reading the data that was read once and discarded because it is unneeded. This is only necessary for ORC files written before HIVE-9660. hive.llap.io.use.fileid.path true Whether LLAP should use fileId (inode)-based path to ensure better consistency for the cases of file overwrites. This is supported on HDFS. hive.llap.io.orc.time.counters true Whether to enable time counters for LLAP IO layer (time spent in HDFS, etc.) hive.llap.auto.allow.uber false Whether or not to allow the planner to run vertices in the AM. hive.llap.auto.enforce.tree true Enforce that all parents are in llap, before considering vertex hive.llap.auto.enforce.vectorized true Enforce that inputs are vectorized, before considering vertex hive.llap.auto.enforce.stats true Enforce that col stats are available, before considering vertex hive.llap.auto.max.input.size 10737418240 Check input size, before considering vertex (-1 disables check) hive.llap.auto.max.output.size 1073741824 Check output size, before considering vertex (-1 disables check) hive.llap.skip.compile.udf.check false Whether to skip the compile-time check for non-built-in UDFs when deciding whether to execute tasks in LLAP. Skipping the check allows executing UDFs from pre-localized jars in LLAP; if the jars are not pre-localized, the UDFs will simply fail to load. hive.llap.allow.permanent.fns true Whether LLAP decider should allow permanent UDFs. hive.llap.execution.mode none Expects one of [auto, none, all, map]. Chooses whether query fragments will run in container or in llap hive.llap.object.cache.enabled true Cache objects (plans, hashtables, etc) in llap hive.llap.io.decoding.metrics.percentiles.intervals 30 Comma-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 hive.llap.io.threadpool.size 10 Specify the number of threads to use for low-level IO thread pool. hive.llap.daemon.service.principal The name of the LLAP daemon's service principal. hive.llap.daemon.keytab.file The path to the Kerberos Keytab file containing the LLAP daemon's service principal. hive.llap.zk.sm.principal The name of the principal to use to talk to ZooKeeper for ZooKeeper SecretManager. hive.llap.zk.sm.keytab.file The path to the Kerberos Keytab file containing the principal to use to talk to ZooKeeper for ZooKeeper SecretManager. hive.llap.zk.sm.connectionString ZooKeeper connection string for ZooKeeper SecretManager. hive.llap.zk.registry.user In 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. hive.llap.zk.registry.namespace In the LLAP ZooKeeper-based registry, overrides the ZK path namespace. Note that using this makes the path management (e.g. setting correct ACLs) your responsibility. hive.llap.daemon.acl * The ACL for LLAP daemon. hive.llap.daemon.acl.blocked The deny ACL for LLAP daemon. hive.llap.management.acl * The ACL for LLAP daemon management. hive.llap.management.acl.blocked The deny ACL for LLAP daemon management. hive.llap.remote.token.requires.signing true Expects 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 secure cluster by setting it to true or 'except_llap_owner' (the latter returns such tokens to everyone except the user LLAP cluster is authenticating under). hive.llap.daemon.delegation.token.lifetime 14d Expects 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. hive.llap.management.rpc.port 15004 RPC port for LLAP daemon management service. hive.llap.auto.auth false Whether or not to set Hadoop configs to enable auth in LLAP web app. hive.llap.daemon.rpc.num.handlers 5 Number of RPC handlers for LLAP daemon. hive.llap.daemon.work.dirs Working directories for the daemon. Needs to be set for a secure cluster, since LLAP may not have access to the default YARN working directories. yarn.nodemanager.local-dirs is used if this is not set hive.llap.daemon.yarn.shuffle.port 15551 YARN shuffle port for LLAP-daemon-hosted shuffle. hive.llap.daemon.yarn.container.mb -1 llap server yarn container size in MB. Used in LlapServiceDriver and package.py hive.llap.daemon.queue.name Queue name within which the llap slider application will run. Used in LlapServiceDriver and package.py hive.llap.daemon.container.id ContainerId of a running LlapDaemon. Used to publish to the registry hive.llap.daemon.shuffle.dir.watcher.enabled false TODO doc hive.llap.daemon.am.liveness.heartbeat.interval.ms 10000ms Expects 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 timeout interval, but otherwise as high as possible to avoid unnecessary traffic. hive.llap.am.liveness.connection.timeout.ms 10000ms Expects 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 before considering the AM to be dead. hive.llap.am.liveness.connection.sleep.between.retries.ms 2000ms Expects 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 for the general keep-alive thread (milliseconds). hive.llap.task.scheduler.timeout.seconds 60s Expects 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. hive.llap.daemon.num.executors 4 Number of executors to use in LLAP daemon; essentially, the number of tasks that can be executed in parallel. hive.llap.daemon.rpc.port 15001 The LLAP daemon RPC port. hive.llap.daemon.memory.per.instance.mb 4096 The total amount of memory to use for the executors inside LLAP (in megabytes). hive.llap.daemon.vcpus.per.instance 4 The total number of vcpus to use for the executors inside LLAP. hive.llap.daemon.num.file.cleaner.threads 1 Number of file cleaner threads in LLAP. hive.llap.file.cleanup.delay.seconds 300s Expects 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). hive.llap.daemon.service.hosts Explicitly specified hosts to use for LLAP scheduling. Useful for testing. By default, YARN registry is used. hive.llap.daemon.service.refresh.interval.sec 60s Expects 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. hive.llap.daemon.communicator.num.threads 10 Number of threads to use in LLAP task communicator in Tez AM. hive.llap.daemon.download.permanent.fns false Whether LLAP daemon should localize the resources for permanent UDFs. hive.llap.task.scheduler.node.reenable.min.timeout.ms 200ms Expects 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. hive.llap.task.scheduler.node.reenable.max.timeout.ms 10000ms Expects 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. hive.llap.task.scheduler.node.disable.backoff.factor 1.5 Backoff factor on successive blacklists of a node due to some failures. Blacklist times start at the min timeout and go up to the max timeout based on this backoff factor. hive.llap.task.scheduler.num.schedulable.tasks.per.node 0 The number of tasks the AM TaskScheduler will try allocating per node. 0 indicates that this should be picked up from the Registry. -1 indicates unlimited capacity; positive values indicate a specific bound. hive.llap.task.scheduler.locality.delay 0ms Expects 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. hive.llap.daemon.task.preemption.metrics.intervals 30,60,300 Comma-delimited set of integers denoting the desired rollover intervals (in seconds) for percentile latency metrics. Used by LLAP daemon task scheduler metrics for time taken to kill task (due to pre-emption) and useful time wasted by the task that is about to be preempted. hive.llap.daemon.task.scheduler.wait.queue.size 10 LLAP scheduler maximum queue size. hive.llap.daemon.wait.queue.comparator.class.name org.apache.hadoop.hive.llap.daemon.impl.comparator.ShortestJobFirstComparator The priority comparator to use for LLAP scheduler prioroty queue. The built-in options are org.apache.hadoop.hive.llap.daemon.impl.comparator.ShortestJobFirstComparator and .....FirstInFirstOutComparator hive.llap.daemon.task.scheduler.enable.preemption true Whether non-finishable running tasks (e.g. a reducer waiting for inputs) should be preempted by finishable tasks inside LLAP scheduler. hive.llap.task.communicator.connection.timeout.ms 16000ms Expects 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. hive.llap.task.communicator.connection.sleep.between.retries.ms 2000ms Expects 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 a connection to LLAP daemon from Tez AM. hive.llap.daemon.web.port 15002 LLAP daemon web UI port. hive.llap.daemon.web.ssl false Whether LLAP daemon web UI should use SSL. hive.llap.client.consistent.splits false Whether to setup split locations to match nodes on which llap daemons are running, instead of using the locations provided by the split itself hive.llap.validate.acls true Whether LLAP should reject permissive ACLs in some cases (e.g. its own management protocol or ZK paths), similar to how ssh refuses a key with bad access permissions. hive.llap.daemon.output.service.port 15003 LLAP daemon output service port hive.llap.daemon.output.service.send.buffer.size 131072 Send buffer size to be used by LLAP daemon output service hive.llap.enable.grace.join.in.llap false Override if grace join should be allowed to run in llap. hive.spark.client.future.timeout 60s Expects 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. hive.spark.job.monitor.timeout 60s Expects 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. hive.spark.client.connect.timeout 1000ms Expects 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. hive.spark.client.server.connect.timeout 90000ms Expects 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. hive.spark.client.secret.bits 256 Number 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. hive.spark.client.rpc.threads 8 Maximum number of threads for remote Spark driver's RPC event loop. hive.spark.client.rpc.max.size 52428800 Maximum message size in bytes for communication between Hive client and remote Spark driver. Default is 50MB. hive.spark.client.channel.log.level Channel logging level for remote Spark driver. One of {DEBUG, ERROR, INFO, TRACE, WARN}. hive.spark.client.rpc.sasl.mechanisms DIGEST-MD5 Name of the SASL mechanism to use for authentication. hive.spark.client.rpc.server.address The 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. hive.spark.dynamic.partition.pruning false When dynamic pruning is enabled, joins on partition keys will be processed by writing to a temporary HDFS file, and read later for removing unnecessary partitions. hive.spark.dynamic.partition.pruning.max.data.size 104857600 Maximum total data size in dynamic pruning. hive.reorder.nway.joins true Runs reordering of tables within single n-way join (i.e.: picks streamtable) hive.log.every.n.records 0 Expects value bigger than 0. If value is greater than 0 logs in fixed intervals of size n rather than exponentially. hive.msck.path.validation throw Expects 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) hive.server2.llap.concurrent.queries -1 The number of queries allowed in parallel via llap. Negative number implies 'infinite'. hive.tez.enable.memory.manager true Enable memory manager for tez hive.hash.table.inflation.factor 2.0 Expected inflation factor between disk/in memory representation of hash tables hive.log.trace.id Log tracing id that can be used by upstream clients for tracking respective logs. Truncated to 64 characters. Defaults to use auto-generated session id. hive.conf.restricted.list hive.security.authenticator.manager,hive.security.authorization.manager,hive.users.in.admin.role,hive.server2.xsrf.filter.enabled Comma separated list of configuration options which are immutable at runtime hive.conf.hidden.list javax.jdo.option.ConnectionPassword,hive.server2.keystore.password Comma separated list of configuration options which should not be read by normal user like passwords hive.conf.internal.variable.list hive.added.files.path,hive.added.jars.path,hive.added.archives.path Comma separated list of variables which are used internally and should not be configurable.