Advertisement
Guest User

Untitled

a guest
Jun 5th, 2014
317
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 108.59 KB | None | 0 0
  1. <?xml version="1.0"?>
  2. <?xml-stylesheet type="text/xsl" href="configuration.xsl"?>
  3. <!--
  4. Licensed under the Apache License, Version 2.0 (the "License");
  5. you may not use this file except in compliance with the License.
  6. You may obtain a copy of the License at
  7.  
  8. http://www.apache.org/licenses/LICENSE-2.0
  9.  
  10. Unless required by applicable law or agreed to in writing, software
  11. distributed under the License is distributed on an "AS IS" BASIS,
  12. WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  13. See the License for the specific language governing permissions and
  14. limitations under the License. See accompanying LICENSE file.
  15. -->
  16.  
  17. <!-- Put site-specific property overrides in this file. -->
  18.  
  19. <configuration>
  20. <!-- variable values between dev and prod -->
  21. <property>
  22. <name>tez.lib.uris</name>
  23. <value>${fs.defaultFS}/data/tez/conf,${fs.defaultFS}/data/tez/lib</value>
  24. </property>
  25. <property>
  26. <name>tez.am.resource.memory.mb</name>
  27. <value>1280</value>
  28. </property>
  29. </configuration>
  30.  
  31. ================================= Hive-site.xml ==============================
  32. <?xml version="1.0"?>
  33. <?xml-stylesheet type="text/xsl" href="configuration.xsl"?>
  34. <!--
  35. Licensed to the Apache Software Foundation (ASF) under one or more
  36. contributor license agreements. See the NOTICE file distributed with
  37. this work for additional information regarding copyright ownership.
  38. The ASF licenses this file to You under the Apache License, Version 2.0
  39. (the "License"); you may not use this file except in compliance with
  40. the License. You may obtain a copy of the License at
  41.  
  42. http://www.apache.org/licenses/LICENSE-2.0
  43.  
  44. Unless required by applicable law or agreed to in writing, software
  45. distributed under the License is distributed on an "AS IS" BASIS,
  46. WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  47. See the License for the specific language governing permissions and
  48. limitations under the License.
  49. -->
  50.  
  51. <configuration>
  52.  
  53. <!-- WARNING!!! This file is provided for documentation purposes ONLY! -->
  54. <!-- WARNING!!! Any changes you make to this file will be ignored by Hive. -->
  55. <!-- WARNING!!! You must make your changes in hive-site.xml instead. -->
  56.  
  57.  
  58. <!-- Hive Execution Parameters -->
  59. <property>
  60. <name>mapred.reduce.tasks</name>
  61. <value>-1</value>
  62. <description>The default number of reduce tasks per job. Typically set
  63. to a prime close to the number of available hosts. Ignored when
  64. mapred.job.tracker is "local". Hadoop set this to 1 by default, whereas Hive uses -1 as its default value.
  65. By setting this property to -1, Hive will automatically figure out what should be the number of reducers.
  66. </description>
  67. </property>
  68.  
  69. <property>
  70. <name>hive.exec.reducers.bytes.per.reducer</name>
  71. <value>1000000000</value>
  72. <description>size per reducer.The default is 1G, i.e if the input size is 10G, it will use 10 reducers.</description>
  73. </property>
  74.  
  75. <property>
  76. <name>hive.exec.reducers.max</name>
  77. <value>999</value>
  78. <description>max number of reducers will be used. If the one
  79. specified in the configuration parameter mapred.reduce.tasks is
  80. negative, Hive will use this one as the max number of reducers when
  81. automatically determine number of reducers.</description>
  82. </property>
  83.  
  84. <property>
  85. <name>hive.cli.print.header</name>
  86. <value>false</value>
  87. <description>Whether to print the names of the columns in query output.</description>
  88. </property>
  89.  
  90. <property>
  91. <name>hive.cli.print.current.db</name>
  92. <value>false</value>
  93. <description>Whether to include the current database in the Hive prompt.</description>
  94. </property>
  95.  
  96. <property>
  97. <name>hive.cli.prompt</name>
  98. <value>hive</value>
  99. <description>Command line prompt configuration value. Other hiveconf can be used in
  100. this configuration value. Variable substitution will only be invoked at the Hive
  101. CLI startup.</description>
  102. </property>
  103.  
  104. <property>
  105. <name>hive.cli.pretty.output.num.cols</name>
  106. <value>-1</value>
  107. <description>The number of columns to use when formatting output generated
  108. by the DESCRIBE PRETTY table_name command. If the value of this property
  109. is -1, then Hive will use the auto-detected terminal width.</description>
  110. </property>
  111.  
  112. <property>
  113. <name>hive.exec.scratchdir</name>
  114. <value>/tmp/hive-${user.name}</value>
  115. <description>Scratch space for Hive jobs</description>
  116. </property>
  117.  
  118. <property>
  119. <name>hive.exec.local.scratchdir</name>
  120. <value>/tmp/${user.name}</value>
  121. <description>Local scratch space for Hive jobs</description>
  122. </property>
  123.  
  124. <property>
  125. <name>hive.test.mode</name>
  126. <value>false</value>
  127. <description>Whether Hive is running in test mode. If yes, it turns on sampling and prefixes the output tablename.</description>
  128. </property>
  129.  
  130. <property>
  131. <name>hive.test.mode.prefix</name>
  132. <value>test_</value>
  133. <description>if Hive is running in test mode, prefixes the output table by this string</description>
  134. </property>
  135.  
  136. <!-- If the input table is not bucketed, the denominator of the tablesample is determined by the parameter below -->
  137. <!-- For example, the following query: -->
  138. <!-- INSERT OVERWRITE TABLE dest -->
  139. <!-- SELECT col1 from src -->
  140. <!-- would be converted to -->
  141. <!-- INSERT OVERWRITE TABLE test_dest -->
  142. <!-- SELECT col1 from src TABLESAMPLE (BUCKET 1 out of 32 on rand(1)) -->
  143. <property>
  144. <name>hive.test.mode.samplefreq</name>
  145. <value>32</value>
  146. <description>if Hive is running in test mode and table is not bucketed, sampling frequency</description>
  147. </property>
  148.  
  149. <property>
  150. <name>hive.test.mode.nosamplelist</name>
  151. <value></value>
  152. <description>if Hive is running in test mode, don't sample the above comma separated list of tables</description>
  153. </property>
  154.  
  155. <property>
  156. <name>hive.metastore.uris</name>
  157. <value></value>
  158. <description>Thrift URI for the remote metastore. Used by metastore client to connect to remote metastore.</description>
  159. </property>
  160.  
  161. <property>
  162. <name>javax.jdo.option.ConnectionURL</name>
  163. <value>jdbc:mysql://10.154.250.23:3306/hive</value>
  164. <description>JDBC connect string for a JDBC metastore</description>
  165. </property>
  166.  
  167. <property>
  168. <name>javax.jdo.option.ConnectionDriverName</name>
  169. <value>com.mysql.jdbc.Driver</value>
  170. <description>Driver class name for a JDBC metastore</description>
  171. </property>
  172.  
  173. <property>
  174. <name>javax.jdo.PersistenceManagerFactoryClass</name>
  175. <value>org.datanucleus.api.jdo.JDOPersistenceManagerFactory</value>
  176. <description>class implementing the jdo persistence</description>
  177. </property>
  178.  
  179. <property>
  180. <name>javax.jdo.option.DetachAllOnCommit</name>
  181. <value>true</value>
  182. <description>detaches all objects from session so that they can be used after transaction is committed</description>
  183. </property>
  184.  
  185. <property>
  186. <name>javax.jdo.option.NonTransactionalRead</name>
  187. <value>true</value>
  188. <description>reads outside of transactions</description>
  189. </property>
  190.  
  191. <property>
  192. <name>javax.jdo.option.ConnectionUserName</name>
  193. <value>hive</value>
  194. <description>username to use against metastore database</description>
  195. </property>
  196.  
  197. <property>
  198. <name>javax.jdo.option.ConnectionPassword</name>
  199. <value>d67f2f36a7</value>
  200. <description>password to use against metastore database</description>
  201. </property>
  202.  
  203. <property>
  204. <name>javax.jdo.option.Multithreaded</name>
  205. <value>true</value>
  206. <description>Set this to true if multiple threads access metastore through JDO concurrently.</description>
  207. </property>
  208.  
  209. <property>
  210. <name>datanucleus.connectionPoolingType</name>
  211. <value>BoneCP</value>
  212. <description>Uses a BoneCP connection pool for JDBC metastore</description>
  213. </property>
  214.  
  215. <property>
  216. <name>datanucleus.validateTables</name>
  217. <value>false</value>
  218. <description>validates existing schema against code. turn this on if you want to verify existing schema </description>
  219. </property>
  220.  
  221. <property>
  222. <name>datanucleus.validateColumns</name>
  223. <value>false</value>
  224. <description>validates existing schema against code. turn this on if you want to verify existing schema </description>
  225. </property>
  226.  
  227. <property>
  228. <name>datanucleus.validateConstraints</name>
  229. <value>false</value>
  230. <description>validates existing schema against code. turn this on if you want to verify existing schema </description>
  231. </property>
  232.  
  233. <property>
  234. <name>datanucleus.storeManagerType</name>
  235. <value>rdbms</value>
  236. <description>metadata store type</description>
  237. </property>
  238.  
  239. <property>
  240. <name>datanucleus.autoCreateSchema</name>
  241. <value>true</value>
  242. <description>creates necessary schema on a startup if one doesn't exist. set this to false, after creating it once</description>
  243. </property>
  244.  
  245. <property>
  246. <name>datanucleus.autoStartMechanismMode</name>
  247. <value>checked</value>
  248. <description>throw exception if metadata tables are incorrect</description>
  249. </property>
  250.  
  251. <property>
  252. <name>datanucleus.transactionIsolation</name>
  253. <value>read-committed</value>
  254. <description>Default transaction isolation level for identity generation. </description>
  255. </property>
  256.  
  257. <property>
  258. <name>datanucleus.cache.level2</name>
  259. <value>false</value>
  260. <description>Use a level 2 cache. Turn this off if metadata is changed independently of Hive metastore server</description>
  261. </property>
  262.  
  263. <property>
  264. <name>datanucleus.cache.level2.type</name>
  265. <value>SOFT</value>
  266. <description>SOFT=soft reference based cache, WEAK=weak reference based cache.</description>
  267. </property>
  268.  
  269. <property>
  270. <name>datanucleus.identifierFactory</name>
  271. <value>datanucleus1</value>
  272. <description>Name of the identifier factory to use when generating table/column names etc. 'datanucleus1' is used for backward compatibility with DataNucleus v1</description>
  273. </property>
  274.  
  275. <property>
  276. <name>datanucleus.plugin.pluginRegistryBundleCheck</name>
  277. <value>LOG</value>
  278. <description>Defines what happens when plugin bundles are found and are duplicated [EXCEPTION|LOG|NONE]</description>
  279. </property>
  280.  
  281. <property>
  282. <name>hive.metastore.warehouse.dir</name>
  283. <value>/user/test/warehouse</value>
  284. <description>location of default database for the warehouse</description>
  285. </property>
  286.  
  287. <property>
  288. <name>hive.metastore.execute.setugi</name>
  289. <value>false</value>
  290. <description>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.</description>
  291. </property>
  292.  
  293. <property>
  294. <name>hive.metastore.event.listeners</name>
  295. <value></value>
  296. <description>list of comma separated listeners for metastore events.</description>
  297. </property>
  298.  
  299. <property>
  300. <name>hive.metastore.partition.inherit.table.properties</name>
  301. <value></value>
  302. <description>list of comma separated keys occurring in table properties which will get inherited to newly created partitions. * implies all the keys will get inherited.</description>
  303. </property>
  304.  
  305. <property>
  306. <name>hive.metadata.export.location</name>
  307. <value></value>
  308. <description>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.</description>
  309. </property>
  310.  
  311. <property>
  312. <name>hive.metadata.move.exported.metadata.to.trash</name>
  313. <value></value>
  314. <description>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.</description>
  315. </property>
  316.  
  317. <property>
  318. <name>hive.metastore.partition.name.whitelist.pattern</name>
  319. <value></value>
  320. <description>Partition names will be checked against this regex pattern and rejected if not matched.</description>
  321. </property>
  322.  
  323. <property>
  324. <name>hive.metastore.disallow.incompatible.col.type.change</name>
  325. <value></value>
  326. <description>If true (default is false), ALTER TABLE operations which change the type of
  327. a column (say STRING) to an incompatible type (say MAP&lt;STRING, STRING&gt;) are disallowed.
  328. RCFile default SerDe (ColumnarSerDe) serializes the values in such a way that the
  329. datatypes can be converted from string to any type. The map is also serialized as
  330. a string, which can be read as a string as well. However, with any binary
  331. serialization, this is not true. Blocking the ALTER TABLE prevents ClassCastExceptions
  332. when subsequently trying to access old partitions.
  333.  
  334. Primitive types like INT, STRING, BIGINT, etc are compatible with each other and are
  335. not blocked.
  336.  
  337. See HIVE-4409 for more details.
  338. </description>
  339. </property>
  340.  
  341. <property>
  342. <name>hive.metastore.end.function.listeners</name>
  343. <value></value>
  344. <description>list of comma separated listeners for the end of metastore functions.</description>
  345. </property>
  346.  
  347. <property>
  348. <name>hive.metastore.event.expiry.duration</name>
  349. <value>0</value>
  350. <description>Duration after which events expire from events table (in seconds)</description>
  351. </property>
  352.  
  353. <property>
  354. <name>hive.metastore.event.clean.freq</name>
  355. <value>0</value>
  356. <description>Frequency at which timer task runs to purge expired events in metastore(in seconds).</description>
  357. </property>
  358.  
  359. <property>
  360. <name>hive.metastore.connect.retries</name>
  361. <value>5</value>
  362. <description>Number of retries while opening a connection to metastore</description>
  363. </property>
  364.  
  365. <property>
  366. <name>hive.metastore.failure.retries</name>
  367. <value>3</value>
  368. <description>Number of retries upon failure of Thrift metastore calls</description>
  369. </property>
  370.  
  371. <property>
  372. <name>hive.metastore.client.connect.retry.delay</name>
  373. <value>1</value>
  374. <description>Number of seconds for the client to wait between consecutive connection attempts</description>
  375. </property>
  376.  
  377. <property>
  378. <name>hive.metastore.client.socket.timeout</name>
  379. <value>20</value>
  380. <description>MetaStore Client socket timeout in seconds</description>
  381. </property>
  382.  
  383. <property>
  384. <name>hive.metastore.rawstore.impl</name>
  385. <value>org.apache.hadoop.hive.metastore.ObjectStore</value>
  386. <description>Name of the class that implements org.apache.hadoop.hive.metastore.rawstore interface. This class is used to store and retrieval of raw metadata objects such as table, database</description>
  387. </property>
  388.  
  389. <property>
  390. <name>hive.metastore.batch.retrieve.max</name>
  391. <value>300</value>
  392. <description>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.</description>
  393. </property>
  394.  
  395. <property>
  396. <name>hive.metastore.batch.retrieve.table.partition.max</name>
  397. <value>1000</value>
  398. <description>Maximum number of table partitions that metastore internally retrieves in one batch.</description>
  399. </property>
  400.  
  401. <property>
  402. <name>hive.default.fileformat</name>
  403. <value>TextFile</value>
  404. <description>Default file format for CREATE TABLE statement. Options are TextFile and SequenceFile. Users can explicitly say CREATE TABLE ... STORED AS &lt;TEXTFILE|SEQUENCEFILE&gt; to override</description>
  405. </property>
  406.  
  407. <property>
  408. <name>hive.default.rcfile.serde</name>
  409. <value>org.apache.hadoop.hive.serde2.columnar.LazyBinaryColumnarSerDe</value>
  410. <description>The default SerDe Hive will use for the RCFile format</description>
  411. </property>
  412.  
  413. <property>
  414. <name>hive.fileformat.check</name>
  415. <value>true</value>
  416. <description>Whether to check file format or not when loading data files</description>
  417. </property>
  418.  
  419. <property>
  420. <name>hive.file.max.footer</name>
  421. <value>100</value>
  422. <description>maximum number of lines for footer user can define for a table file</description>
  423. </property>
  424.  
  425. <property>
  426. <name>hive.map.aggr</name>
  427. <value>true</value>
  428. <description>Whether to use map-side aggregation in Hive Group By queries</description>
  429. </property>
  430.  
  431. <property>
  432. <name>hive.groupby.skewindata</name>
  433. <value>false</value>
  434. <description>Whether there is skew in data to optimize group by queries</description>
  435. </property>
  436.  
  437. <property>
  438. <name>hive.optimize.multigroupby.common.distincts</name>
  439. <value>true</value>
  440. <description>Whether to optimize a multi-groupby query with the same distinct.
  441. Consider a query like:
  442.  
  443. from src
  444. insert overwrite table dest1 select col1, count(distinct colx) group by col1
  445. insert overwrite table dest2 select col2, count(distinct colx) group by col2;
  446.  
  447. With this parameter set to true, first we spray by the distinct value (colx), and then
  448. perform the 2 groups bys. This makes sense if map-side aggregation is turned off. However,
  449. with maps-side aggregation, it might be useful in some cases to treat the 2 inserts independently,
  450. thereby performing the query above in 2MR jobs instead of 3 (due to spraying by distinct key first).
  451. If this parameter is turned off, we don't consider the fact that the distinct key is the same across
  452. different MR jobs.
  453. </description>
  454. </property>
  455.  
  456. <property>
  457. <name>hive.groupby.mapaggr.checkinterval</name>
  458. <value>100000</value>
  459. <description>Number of rows after which size of the grouping keys/aggregation classes is performed</description>
  460. </property>
  461.  
  462. <property>
  463. <name>hive.mapred.local.mem</name>
  464. <value>0</value>
  465. <description>For local mode, memory of the mappers/reducers</description>
  466. </property>
  467.  
  468. <property>
  469. <name>hive.mapjoin.followby.map.aggr.hash.percentmemory</name>
  470. <value>0.3</value>
  471. <description>Portion of total memory to be used by map-side group aggregation hash table, when this group by is followed by map join</description>
  472. </property>
  473.  
  474. <property>
  475. <name>hive.map.aggr.hash.force.flush.memory.threshold</name>
  476. <value>0.9</value>
  477. <description>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</description>
  478. </property>
  479.  
  480. <property>
  481. <name>hive.map.aggr.hash.percentmemory</name>
  482. <value>0.5</value>
  483. <description>Portion of total memory to be used by map-side group aggregation hash table</description>
  484. </property>
  485.  
  486. <property>
  487. <name>hive.session.history.enabled</name>
  488. <value>false</value>
  489. <description>Whether to log Hive query, query plan, runtime statistics etc.</description>
  490. </property>
  491.  
  492. <property>
  493. <name>hive.map.aggr.hash.min.reduction</name>
  494. <value>0.5</value>
  495. <description>Hash aggregation will be turned off if the ratio between hash
  496. table size and input rows is bigger than this number. Set to 1 to make sure
  497. hash aggregation is never turned off.</description>
  498. </property>
  499.  
  500. <property>
  501. <name>hive.optimize.index.filter</name>
  502. <value>false</value>
  503. <description>Whether to enable automatic use of indexes</description>
  504. </property>
  505.  
  506. <property>
  507. <name>hive.optimize.index.groupby</name>
  508. <value>false</value>
  509. <description>Whether to enable optimization of group-by queries using Aggregate indexes.</description>
  510. </property>
  511.  
  512. <property>
  513. <name>hive.optimize.ppd</name>
  514. <value>true</value>
  515. <description>Whether to enable predicate pushdown</description>
  516. </property>
  517.  
  518. <property>
  519. <name>hive.optimize.ppd.storage</name>
  520. <value>true</value>
  521. <description>Whether to push predicates down into storage handlers. Ignored when hive.optimize.ppd is false.</description>
  522. </property>
  523.  
  524. <property>
  525. <name>hive.ppd.recognizetransivity</name>
  526. <value>true</value>
  527. <description>Whether to transitively replicate predicate filters over equijoin conditions.</description>
  528. </property>
  529.  
  530. <property>
  531. <name>hive.optimize.groupby</name>
  532. <value>true</value>
  533. <description>Whether to enable the bucketed group by from bucketed partitions/tables.</description>
  534. </property>
  535.  
  536. <property>
  537. <name>hive.optimize.sort.dynamic.partition</name>
  538. <value>true</value>
  539. <description>When enabled dynamic partitioning column will be globally sorted.
  540. This way we can keep only one record writer open for each partition value
  541. in the reducer thereby reducing the memory pressure on reducers.</description>
  542. </property>
  543.  
  544. <property>
  545. <name>hive.optimize.skewjoin.compiletime</name>
  546. <value>false</value>
  547. <description>Whether to create a separate plan for skewed keys for the tables in the join.
  548. This is based on the skewed keys stored in the metadata. At compile time, the plan is broken
  549. into different joins: one for the skewed keys, and the other for the remaining keys. And then,
  550. a union is performed for the 2 joins generated above. So unless the same skewed key is present
  551. in both the joined tables, the join for the skewed key will be performed as a map-side join.
  552.  
  553. The main difference between this parameter and hive.optimize.skewjoin is that this parameter
  554. uses the skew information stored in the metastore to optimize the plan at compile time itself.
  555. If there is no skew information in the metadata, this parameter will not have any affect.
  556. Both hive.optimize.skewjoin.compiletime and hive.optimize.skewjoin should be set to true.
  557. Ideally, hive.optimize.skewjoin should be renamed as hive.optimize.skewjoin.runtime, but not doing
  558. so for backward compatibility.
  559.  
  560. If the skew information is correctly stored in the metadata, hive.optimize.skewjoin.compiletime
  561. would change the query plan to take care of it, and hive.optimize.skewjoin will be a no-op.
  562. </description>
  563. </property>
  564.  
  565. <property>
  566. <name>hive.optimize.union.remove</name>
  567. <value>false</value>
  568. <description>
  569. Whether to remove the union and push the operators between union and the filesink above
  570. union. This avoids an extra scan of the output by union. This is independently useful for union
  571. queries, and specially useful when hive.optimize.skewjoin.compiletime is set to true, since an
  572. extra union is inserted.
  573.  
  574. The merge is triggered if either of hive.merge.mapfiles or hive.merge.mapredfiles is set to true.
  575. If the user has set hive.merge.mapfiles to true and hive.merge.mapredfiles to false, the idea was the
  576. number of reducers are few, so the number of files anyway are small. However, with this optimization,
  577. we are increasing the number of files possibly by a big margin. So, we merge aggressively.</description>
  578. </property>
  579.  
  580. <property>
  581. <name>hive.mapred.supports.subdirectories</name>
  582. <value>false</value>
  583. <description>Whether the version of Hadoop which is running supports sub-directories for tables/partitions.
  584. Many Hive optimizations can be applied if the Hadoop version supports sub-directories for
  585. tables/partitions. It was added by MAPREDUCE-1501</description>
  586. </property>
  587.  
  588. <property>
  589. <name>hive.multigroupby.singlereducer</name>
  590. <value>false</value>
  591. <description>Whether to optimize multi group by query to generate single M/R
  592. job plan. If the multi group by query has common group by keys, it will be
  593. optimized to generate single M/R job.</description>
  594. </property>
  595.  
  596. <property>
  597. <name>hive.map.groupby.sorted</name>
  598. <value>false</value>
  599. <description>If the bucketing/sorting properties of the table exactly match the grouping key, whether to
  600. perform the group by in the mapper by using BucketizedHiveInputFormat. The only downside to this
  601. is that it limits the number of mappers to the number of files.
  602. </description>
  603. </property>
  604.  
  605. <property>
  606. <name>hive.map.groupby.sorted.testmode</name>
  607. <value>false</value>
  608. <description>If the bucketing/sorting properties of the table exactly match the grouping key, whether to
  609. perform the group by in the mapper by using BucketizedHiveInputFormat. If the test mode is set, the plan
  610. is not converted, but a query property is set to denote the same.
  611. </description>
  612. </property>
  613.  
  614. <property>
  615. <name>hive.new.job.grouping.set.cardinality</name>
  616. <value>30</value>
  617. <description>
  618. Whether a new map-reduce job should be launched for grouping sets/rollups/cubes.
  619. For a query like: select a, b, c, count(1) from T group by a, b, c with rollup;
  620. 4 rows are created per row: (a, b, c), (a, b, null), (a, null, null), (null, null, null).
  621. This can lead to explosion across map-reduce boundary if the cardinality of T is very high,
  622. and map-side aggregation does not do a very good job.
  623.  
  624. This parameter decides if Hive should add an additional map-reduce job. If the grouping set
  625. cardinality (4 in the example above), is more than this value, a new MR job is added under the
  626. assumption that the original group by will reduce the data size.
  627. </description>
  628. </property>
  629.  
  630. <property>
  631. <name>hive.join.emit.interval</name>
  632. <value>1000</value>
  633. <description>How many rows in the right-most join operand Hive should buffer before emitting the join result.</description>
  634. </property>
  635.  
  636. <property>
  637. <name>hive.join.cache.size</name>
  638. <value>25000</value>
  639. <description>How many rows in the joining tables (except the streaming table) should be cached in memory. </description>
  640. </property>
  641.  
  642. <property>
  643. <name>hive.smbjoin.cache.rows</name>
  644. <value>10000</value>
  645. <description>How many rows with the same key value should be cached in memory per SMB joined table.</description>
  646. </property>
  647.  
  648. <property>
  649. <name>hive.optimize.skewjoin</name>
  650. <value>false</value>
  651. <description>Whether to enable skew join optimization.
  652. The algorithm is as follows: At runtime, detect the keys with a large skew. Instead of
  653. processing those keys, store them temporarily in an HDFS directory. In a follow-up map-reduce
  654. job, process those skewed keys. The same key need not be skewed for all the tables, and so,
  655. the follow-up map-reduce job (for the skewed keys) would be much faster, since it would be a
  656. map-join.
  657. </description>
  658. </property>
  659.  
  660. <property>
  661. <name>hive.skewjoin.key</name>
  662. <value>100000</value>
  663. <description>Determine if we get a skew key in join. If we see more
  664. than the specified number of rows with the same key in join operator,
  665. we think the key as a skew join key. </description>
  666. </property>
  667.  
  668. <property>
  669. <name>hive.skewjoin.mapjoin.map.tasks</name>
  670. <value>10000</value>
  671. <description> Determine the number of map task used in the follow up map join job
  672. for a skew join. It should be used together with hive.skewjoin.mapjoin.min.split
  673. to perform a fine grained control.</description>
  674. </property>
  675.  
  676. <property>
  677. <name>hive.skewjoin.mapjoin.min.split</name>
  678. <value>33554432</value>
  679. <description> Determine the number of map task at most used in the follow up map join job
  680. for a skew join by specifying the minimum split size. It should be used together with
  681. hive.skewjoin.mapjoin.map.tasks to perform a fine grained control.</description>
  682. </property>
  683.  
  684. <property>
  685. <name>hive.mapred.mode</name>
  686. <value>nonstrict</value>
  687. <description>The mode in which the Hive operations are being performed.
  688. In strict mode, some risky queries are not allowed to run. They include:
  689. Cartesian Product.
  690. No partition being picked up for a query.
  691. Comparing bigints and strings.
  692. Comparing bigints and doubles.
  693. Orderby without limit.
  694. </description>
  695. </property>
  696.  
  697. <property>
  698. <name>hive.enforce.bucketmapjoin</name>
  699. <value>false</value>
  700. <description>If the user asked for bucketed map-side join, and it cannot be performed,
  701. should the query fail or not ? For example, if the buckets in the tables being joined are
  702. not a multiple of each other, bucketed map-side join cannot be performed, and the
  703. query will fail if hive.enforce.bucketmapjoin is set to true.
  704. </description>
  705. </property>
  706.  
  707. <property>
  708. <name>hive.exec.script.maxerrsize</name>
  709. <value>100000</value>
  710. <description>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 </description>
  711. </property>
  712.  
  713. <property>
  714. <name>hive.exec.script.allow.partial.consumption</name>
  715. <value>false</value>
  716. <description> When enabled, this option allows a user script to exit successfully without consuming all the data from the standard input.
  717. </description>
  718. </property>
  719.  
  720. <property>
  721. <name>hive.script.operator.id.env.var</name>
  722. <value>HIVE_SCRIPT_OPERATOR_ID</value>
  723. <description> 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)
  724. </description>
  725. </property>
  726.  
  727. <property>
  728. <name>hive.script.operator.truncate.env</name>
  729. <value>false</value>
  730. <description>Truncate each environment variable for external script in scripts operator to 20KB (to fit system limits)</description>
  731. </property>
  732.  
  733. <property>
  734. <name>hive.exec.compress.output</name>
  735. <value>false</value>
  736. <description> 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* </description>
  737. </property>
  738.  
  739. <property>
  740. <name>hive.exec.compress.intermediate</name>
  741. <value>false</value>
  742. <description> 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* </description>
  743. </property>
  744.  
  745. <property>
  746. <name>hive.exec.parallel</name>
  747. <value>false</value>
  748. <description>Whether to execute jobs in parallel</description>
  749. </property>
  750.  
  751. <property>
  752. <name>hive.exec.parallel.thread.number</name>
  753. <value>8</value>
  754. <description>How many jobs at most can be executed in parallel</description>
  755. </property>
  756.  
  757. <property>
  758. <name>hive.exec.rowoffset</name>
  759. <value>false</value>
  760. <description>Whether to provide the row offset virtual column</description>
  761. </property>
  762.  
  763. <property>
  764. <name>hive.counters.group.name</name>
  765. <value>HIVE</value>
  766. <description>The name of counter group for internal Hive variables (CREATED_FILE, FATAL_ERROR, etc.)</description>
  767. </property>
  768.  
  769. <property>
  770. <name>hive.hwi.war.file</name>
  771. <value>lib/hive-hwi-@VERSION@.war</value>
  772. <description>This sets the path to the HWI war file, relative to ${HIVE_HOME}. </description>
  773. </property>
  774.  
  775. <property>
  776. <name>hive.hwi.listen.host</name>
  777. <value>0.0.0.0</value>
  778. <description>This is the host address the Hive Web Interface will listen on</description>
  779. </property>
  780.  
  781. <property>
  782. <name>hive.hwi.listen.port</name>
  783. <value>9999</value>
  784. <description>This is the port the Hive Web Interface will listen on</description>
  785. </property>
  786.  
  787. <property>
  788. <name>hive.exec.pre.hooks</name>
  789. <value></value>
  790. <description>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.</description>
  791. </property>
  792.  
  793. <property>
  794. <name>hive.exec.post.hooks</name>
  795. <value></value>
  796. <description>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.</description>
  797. </property>
  798.  
  799. <property>
  800. <name>hive.exec.failure.hooks</name>
  801. <value></value>
  802. <description>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.</description>
  803. </property>
  804.  
  805. <property>
  806. <name>hive.metastore.init.hooks</name>
  807. <value></value>
  808. <description>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.</description>
  809. </property>
  810.  
  811. <property>
  812. <name>hive.client.stats.publishers</name>
  813. <value></value>
  814. <description>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.</description>
  815. </property>
  816.  
  817. <property>
  818. <name>hive.client.stats.counters</name>
  819. <value></value>
  820. <description>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</description>
  821. </property>
  822.  
  823. <property>
  824. <name>hive.merge.mapfiles</name>
  825. <value>true</value>
  826. <description>Merge small files at the end of a map-only job</description>
  827. </property>
  828.  
  829. <property>
  830. <name>hive.merge.mapredfiles</name>
  831. <value>false</value>
  832. <description>Merge small files at the end of a map-reduce job</description>
  833. </property>
  834.  
  835. <property>
  836. <name>hive.merge.tezfiles</name>
  837. <value>false</value>
  838. <description>Merge small files at the end of a Tez DAG</description>
  839. </property>
  840.  
  841. <property>
  842. <name>hive.heartbeat.interval</name>
  843. <value>1000</value>
  844. <description>Send a heartbeat after this interval - used by mapjoin and filter operators</description>
  845. </property>
  846.  
  847. <property>
  848. <name>hive.merge.size.per.task</name>
  849. <value>256000000</value>
  850. <description>Size of merged files at the end of the job</description>
  851. </property>
  852.  
  853. <property>
  854. <name>hive.merge.smallfiles.avgsize</name>
  855. <value>16000000</value>
  856. <description>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.</description>
  857. </property>
  858.  
  859. <property>
  860. <name>hive.mapjoin.smalltable.filesize</name>
  861. <value>25000000</value>
  862. <description>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</description>
  863. </property>
  864.  
  865. <property>
  866. <name>hive.ignore.mapjoin.hint</name>
  867. <value>true</value>
  868. <description>Ignore the mapjoin hint</description>
  869. </property>
  870.  
  871. <property>
  872. <name>hive.mapjoin.localtask.max.memory.usage</name>
  873. <value>0.90</value>
  874. <description>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.</description>
  875. </property>
  876.  
  877. <property>
  878. <name>hive.mapjoin.followby.gby.localtask.max.memory.usage</name>
  879. <value>0.55</value>
  880. <description>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.</description>
  881. </property>
  882.  
  883. <property>
  884. <name>hive.mapjoin.check.memory.rows</name>
  885. <value>100000</value>
  886. <description>The number means after how many rows processed it needs to check the memory usage</description>
  887. </property>
  888.  
  889. <property>
  890. <name>hive.auto.convert.join</name>
  891. <value>true</value>
  892. <description>Whether Hive enables the optimization about converting common join into mapjoin based on the input file size</description>
  893. </property>
  894.  
  895. <property>
  896. <name>hive.auto.convert.join.noconditionaltask</name>
  897. <value>true</value>
  898. <description>Whether Hive enables the optimization about converting common join into mapjoin based on the input file
  899. 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
  900. specified size, the join is directly converted to a mapjoin (there is no conditional task).
  901. </description>
  902. </property>
  903.  
  904. <property>
  905. <name>hive.auto.convert.join.noconditionaltask.size</name>
  906. <value>10000000</value>
  907. <description>If hive.auto.convert.join.noconditionaltask is off, this parameter does not take affect. However, if it
  908. 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
  909. converted to a mapjoin(there is no conditional task). The default is 10MB
  910. </description>
  911. </property>
  912.  
  913. <property>
  914. <name>hive.auto.convert.join.use.nonstaged</name>
  915. <value>false</value>
  916. <description>For conditional joins, if input stream from a small alias can be directly applied to join operator without
  917. filtering or projection, the alias need not to be pre-staged in distributed cache via mapred local task.
  918. Currently, this is not working with vectorization or tez execution engine.
  919. </description>
  920. </property>
  921.  
  922. <property>
  923. <name>hive.script.auto.progress</name>
  924. <value>false</value>
  925. <description>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. </description>
  926. </property>
  927.  
  928. <property>
  929. <name>hive.script.serde</name>
  930. <value>org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe</value>
  931. <description>The default SerDe for transmitting input data to and reading output data from the user scripts. </description>
  932. </property>
  933.  
  934. <property>
  935. <name>hive.binary.record.max.length</name>
  936. <value>1000</value>
  937. <description>Read from a binary stream and treat each hive.binary.record.max.length bytes as a record.
  938. The last record before the end of stream can have less than hive.binary.record.max.length bytes</description>
  939. </property>
  940.  
  941. <property>
  942. <name>hive.server2.max.start.attempts</name>
  943. <value>30</value>
  944. <description>This number of times HiveServer2 will attempt to start before exiting, sleeping 60 seconds between retries. The default of 30 will keep trying for 30 minutes.</description>
  945. </property>
  946.  
  947. <property>
  948. <name>hive.server2.transport.mode</name>
  949. <value>binary</value>
  950. <description>Server transport mode. "binary" or "http".</description>
  951. </property>
  952.  
  953. <property>
  954. <name>hive.server2.thrift.http.port</name>
  955. <value>10001</value>
  956. <description>Port number when in HTTP mode.</description>
  957. </property>
  958.  
  959. <property>
  960. <name>hive.server2.thrift.http.path</name>
  961. <value>cliservice</value>
  962. <description>Path component of URL endpoint when in HTTP mode.</description>
  963. </property>
  964.  
  965. <property>
  966. <name>hive.server2.thrift.http.min.worker.threads</name>
  967. <value>5</value>
  968. <description>Minimum number of worker threads when in HTTP mode.</description>
  969. </property>
  970.  
  971. <property>
  972. <name>hive.server2.thrift.http.max.worker.threads</name>
  973. <value>500</value>
  974. <description>Maximum number of worker threads when in HTTP mode.</description>
  975. </property>
  976.  
  977. <property>
  978. <name>hive.script.recordreader</name>
  979. <value>org.apache.hadoop.hive.ql.exec.TextRecordReader</value>
  980. <description>The default record reader for reading data from the user scripts. </description>
  981. </property>
  982.  
  983. <property>
  984. <name>stream.stderr.reporter.prefix</name>
  985. <value>reporter:</value>
  986. <description>Streaming jobs that log to standard error with this prefix can log counter or status information.</description>
  987. </property>
  988.  
  989. <property>
  990. <name>stream.stderr.reporter.enabled</name>
  991. <value>true</value>
  992. <description>Enable consumption of status and counter messages for streaming jobs.</description>
  993. </property>
  994.  
  995. <property>
  996. <name>hive.script.recordwriter</name>
  997. <value>org.apache.hadoop.hive.ql.exec.TextRecordWriter</value>
  998. <description>The default record writer for writing data to the user scripts. </description>
  999. </property>
  1000.  
  1001. <property>
  1002. <name>hive.input.format</name>
  1003. <value>org.apache.hadoop.hive.ql.io.CombineHiveInputFormat</value>
  1004. <description>The default input format. Set this to HiveInputFormat if you encounter problems with CombineHiveInputFormat.</description>
  1005. </property>
  1006.  
  1007. <property>
  1008. <name>hive.tez.input.format</name>
  1009. <value>org.apache.hadoop.hive.ql.io.HiveInputFormat</value>
  1010. <description>The default input format for tez. Tez groups splits in the AM.</description>
  1011. </property>
  1012.  
  1013. <property>
  1014. <name>hive.udtf.auto.progress</name>
  1015. <value>false</value>
  1016. <description>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. </description>
  1017. </property>
  1018.  
  1019. <property>
  1020. <name>hive.mapred.reduce.tasks.speculative.execution</name>
  1021. <value>true</value>
  1022. <description>Whether speculative execution for reducers should be turned on. </description>
  1023. </property>
  1024.  
  1025. <property>
  1026. <name>hive.exec.counters.pull.interval</name>
  1027. <value>1000</value>
  1028. <description>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.</description>
  1029. </property>
  1030.  
  1031. <property>
  1032. <name>hive.querylog.location</name>
  1033. <value>/tmp/${user.name}</value>
  1034. <description>
  1035. Location of Hive run time structured log file
  1036. </description>
  1037. </property>
  1038.  
  1039. <property>
  1040. <name>hive.querylog.enable.plan.progress</name>
  1041. <value>true</value>
  1042. <description>
  1043. Whether to log the plan's progress every time a job's progress is checked.
  1044. These logs are written to the location specified by hive.querylog.location
  1045. </description>
  1046. </property>
  1047.  
  1048. <property>
  1049. <name>hive.querylog.plan.progress.interval</name>
  1050. <value>60000</value>
  1051. <description>
  1052. The interval to wait between logging the plan's progress in milliseconds.
  1053. If there is a whole number percentage change in the progress of the mappers or the reducers,
  1054. the progress is logged regardless of this value.
  1055. The actual interval will be the ceiling of (this value divided by the value of
  1056. hive.exec.counters.pull.interval) multiplied by the value of hive.exec.counters.pull.interval
  1057. I.e. if it is not divide evenly by the value of hive.exec.counters.pull.interval it will be
  1058. logged less frequently than specified.
  1059. This only has an effect if hive.querylog.enable.plan.progress is set to true.
  1060. </description>
  1061. </property>
  1062.  
  1063. <property>
  1064. <name>hive.enforce.bucketing</name>
  1065. <value>false</value>
  1066. <description>Whether bucketing is enforced. If true, while inserting into the table, bucketing is enforced. </description>
  1067. </property>
  1068.  
  1069. <property>
  1070. <name>hive.enforce.sorting</name>
  1071. <value>false</value>
  1072. <description>Whether sorting is enforced. If true, while inserting into the table, sorting is enforced. </description>
  1073. </property>
  1074.  
  1075. <property>
  1076. <name>hive.optimize.bucketingsorting</name>
  1077. <value>true</value>
  1078. <description>If hive.enforce.bucketing or hive.enforce.sorting is true, don't create a reducer for enforcing
  1079. bucketing/sorting for queries of the form:
  1080. insert overwrite table T2 select * from T1;
  1081. where T1 and T2 are bucketed/sorted by the same keys into the same number of buckets.
  1082. </description>
  1083. </property>
  1084.  
  1085. <property>
  1086. <name>hive.enforce.sortmergebucketmapjoin</name>
  1087. <value>false</value>
  1088. <description>If the user asked for sort-merge bucketed map-side join, and it cannot be performed,
  1089. should the query fail or not ?
  1090. </description>
  1091. </property>
  1092.  
  1093. <property>
  1094. <name>hive.auto.convert.sortmerge.join</name>
  1095. <value>false</value>
  1096. <description>Will the join be automatically converted to a sort-merge join, if the joined tables pass
  1097. the criteria for sort-merge join.
  1098. </description>
  1099. </property>
  1100.  
  1101. <property>
  1102. <name>hive.auto.convert.sortmerge.join.bigtable.selection.policy</name>
  1103. <value>org.apache.hadoop.hive.ql.optimizer.AvgPartitionSizeBasedBigTableSelectorForAutoSMJ</value>
  1104. <description>The policy to choose the big table for automatic conversion to sort-merge join.
  1105. By default, the table with the largest partitions is assigned the big table. All policies are:
  1106. . based on position of the table - the leftmost table is selected
  1107. org.apache.hadoop.hive.ql.optimizer.LeftmostBigTableSMJ.
  1108. . based on total size (all the partitions selected in the query) of the table
  1109. org.apache.hadoop.hive.ql.optimizer.TableSizeBasedBigTableSelectorForAutoSMJ.
  1110. . based on average size (all the partitions selected in the query) of the table
  1111. org.apache.hadoop.hive.ql.optimizer.AvgPartitionSizeBasedBigTableSelectorForAutoSMJ.
  1112. New policies can be added in future.
  1113. </description>
  1114. </property>
  1115.  
  1116. <property>
  1117. <name>hive.auto.convert.sortmerge.join.to.mapjoin</name>
  1118. <value>false</value>
  1119. <description>If hive.auto.convert.sortmerge.join is set to true, and a join was converted to a sort-merge join,
  1120. this parameter decides whether each table should be tried as a big table, and effectively a map-join should be
  1121. tried. That would create a conditional task with n+1 children for a n-way join (1 child for each table as the
  1122. big table), and the backup task will be the sort-merge join. In some cases, a map-join would be faster than a
  1123. sort-merge join, if there is no advantage of having the output bucketed and sorted. For example, if a very big sorted
  1124. and bucketed table with few files (say 10 files) are being joined with a very small sorter and bucketed table
  1125. with few files (10 files), the sort-merge join will only use 10 mappers, and a simple map-only join might be faster
  1126. if the complete small table can fit in memory, and a map-join can be performed.
  1127. </description>
  1128. </property>
  1129.  
  1130. <property>
  1131. <name>hive.metastore.ds.connection.url.hook</name>
  1132. <value></value>
  1133. <description>Name of the hook to use for retrieving the JDO connection URL. If empty, the value in javax.jdo.option.ConnectionURL is used </description>
  1134. </property>
  1135.  
  1136. <property>
  1137. <name>hive.metastore.ds.retry.attempts</name>
  1138. <value>1</value>
  1139. <description>The number of times to retry a metastore call if there were a connection error</description>
  1140. </property>
  1141.  
  1142. <property>
  1143. <name>hive.metastore.ds.retry.interval</name>
  1144. <value>1000</value>
  1145. <description>The number of milliseconds between metastore retry attempts</description>
  1146. </property>
  1147.  
  1148. <property>
  1149. <name>hive.metastore.server.min.threads</name>
  1150. <value>200</value>
  1151. <description>Minimum number of worker threads in the Thrift server's pool.</description>
  1152. </property>
  1153.  
  1154. <property>
  1155. <name>hive.metastore.server.max.threads</name>
  1156. <value>100000</value>
  1157. <description>Maximum number of worker threads in the Thrift server's pool.</description>
  1158. </property>
  1159.  
  1160. <property>
  1161. <name>hive.metastore.server.tcp.keepalive</name>
  1162. <value>true</value>
  1163. <description>Whether to enable TCP keepalive for the metastore server. Keepalive will prevent accumulation of half-open connections.</description>
  1164. </property>
  1165.  
  1166. <property>
  1167. <name>hive.metastore.sasl.enabled</name>
  1168. <value>false</value>
  1169. <description>If true, the metastore Thrift interface will be secured with SASL. Clients must authenticate with Kerberos.</description>
  1170. </property>
  1171.  
  1172. <property>
  1173. <name>hive.metastore.thrift.framed.transport.enabled</name>
  1174. <value>false</value>
  1175. <description>If true, the metastore Thrift interface will use TFramedTransport. When false (default) a standard TTransport is used.</description>
  1176. </property>
  1177.  
  1178. <property>
  1179. <name>hive.metastore.kerberos.keytab.file</name>
  1180. <value></value>
  1181. <description>The path to the Kerberos Keytab file containing the metastore Thrift server's service principal.</description>
  1182. </property>
  1183.  
  1184. <property>
  1185. <name>hive.metastore.kerberos.principal</name>
  1186. <value>hive-metastore/_HOST@EXAMPLE.COM</value>
  1187. <description>The service principal for the metastore Thrift server. The special string _HOST will be replaced automatically with the correct host name.</description>
  1188. </property>
  1189.  
  1190. <property>
  1191. <name>hive.cluster.delegation.token.store.class</name>
  1192. <value>org.apache.hadoop.hive.thrift.MemoryTokenStore</value>
  1193. <description>The delegation token store implementation. Set to org.apache.hadoop.hive.thrift.ZooKeeperTokenStore for load-balanced cluster.</description>
  1194. </property>
  1195.  
  1196. <property>
  1197. <name>hive.cluster.delegation.token.store.zookeeper.connectString</name>
  1198. <value>localhost:2181</value>
  1199. <description>The ZooKeeper token store connect string.</description>
  1200. </property>
  1201.  
  1202. <property>
  1203. <name>hive.cluster.delegation.token.store.zookeeper.znode</name>
  1204. <value>/hive/cluster/delegation</value>
  1205. <description>The root path for token store data.</description>
  1206. </property>
  1207.  
  1208. <property>
  1209. <name>hive.cluster.delegation.token.store.zookeeper.acl</name>
  1210. <value>sasl:hive/host1@EXAMPLE.COM:cdrwa,sasl:hive/host2@EXAMPLE.COM:cdrwa</value>
  1211. <description>ACL for token store entries. List comma separated all server principals for the cluster.</description>
  1212. </property>
  1213.  
  1214. <property>
  1215. <name>hive.metastore.cache.pinobjtypes</name>
  1216. <value>Table,StorageDescriptor,SerDeInfo,Partition,Database,Type,FieldSchema,Order</value>
  1217. <description>List of comma separated metastore object types that should be pinned in the cache</description>
  1218. </property>
  1219.  
  1220. <property>
  1221. <name>hive.optimize.reducededuplication</name>
  1222. <value>true</value>
  1223. <description>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.</description>
  1224. </property>
  1225.  
  1226. <property>
  1227. <name>hive.optimize.correlation</name>
  1228. <value>false</value>
  1229. <description>exploit intra-query correlations.</description>
  1230. </property>
  1231.  
  1232. <property>
  1233. <name>hive.optimize.reducededuplication.min.reducer</name>
  1234. <value>4</value>
  1235. <description>Reduce deduplication merges two RSs by moving key/parts/reducer-num of the child RS to parent RS.
  1236. 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.
  1237. The optimization will be disabled if number of reducers is less than specified value.</description>
  1238. </property>
  1239.  
  1240. <property>
  1241. <name>hive.exec.dynamic.partition</name>
  1242. <value>true</value>
  1243. <description>Whether or not to allow dynamic partitions in DML/DDL.</description>
  1244. </property>
  1245.  
  1246. <property>
  1247. <name>hive.exec.dynamic.partition.mode</name>
  1248. <value>strict</value>
  1249. <description>In strict mode, the user must specify at least one static partition in case the user accidentally overwrites all partitions.</description>
  1250. </property>
  1251.  
  1252. <property>
  1253. <name>hive.exec.max.dynamic.partitions</name>
  1254. <value>1000</value>
  1255. <description>Maximum number of dynamic partitions allowed to be created in total.</description>
  1256. </property>
  1257.  
  1258. <property>
  1259. <name>hive.exec.max.dynamic.partitions.pernode</name>
  1260. <value>100</value>
  1261. <description>Maximum number of dynamic partitions allowed to be created in each mapper/reducer node.</description>
  1262. </property>
  1263.  
  1264. <property>
  1265. <name>hive.exec.max.created.files</name>
  1266. <value>100000</value>
  1267. <description>Maximum number of HDFS files created by all mappers/reducers in a MapReduce job.</description>
  1268. </property>
  1269.  
  1270. <property>
  1271. <name>hive.exec.default.partition.name</name>
  1272. <value>__HIVE_DEFAULT_PARTITION__</value>
  1273. <description>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.</description>
  1274. </property>
  1275.  
  1276. <property>
  1277. <name>hive.stats.dbclass</name>
  1278. <value>fs</value>
  1279. <description>The storage that stores temporary Hive statistics. Supported values are
  1280. fs (filesystem), jdbc(:.*), hbase, counter, and custom. In FS based statistics collection,
  1281. each task writes statistics it has collected in a file on the filesystem, which will be
  1282. aggregated after the job has finished.</description>
  1283. </property>
  1284.  
  1285. <property>
  1286. <name>hive.stats.autogather</name>
  1287. <value>true</value>
  1288. <description>A flag to gather statistics automatically during the INSERT OVERWRITE command.</description>
  1289. </property>
  1290.  
  1291. <property>
  1292. <name>hive.stats.jdbcdriver</name>
  1293. <value>org.apache.derby.jdbc.EmbeddedDriver</value>
  1294. <description>The JDBC driver for the database that stores temporary Hive statistics.</description>
  1295. </property>
  1296.  
  1297. <property>
  1298. <name>hive.stats.dbconnectionstring</name>
  1299. <value>jdbc:derby:;databaseName=TempStatsStore;create=true</value>
  1300. <description>The default connection string for the database that stores temporary Hive statistics.</description>
  1301. </property>
  1302.  
  1303. <property>
  1304. <name>hive.stats.default.publisher</name>
  1305. <value></value>
  1306. <description>The Java class (implementing the StatsPublisher interface) that is used by default if hive.stats.dbclass is custom type.</description>
  1307. </property>
  1308.  
  1309. <property>
  1310. <name>hive.stats.default.aggregator</name>
  1311. <value></value>
  1312. <description>The Java class (implementing the StatsAggregator interface) that is used by default if hive.stats.dbclass is custom type.</description>
  1313. </property>
  1314.  
  1315. <property>
  1316. <name>hive.stats.jdbc.timeout</name>
  1317. <value>30</value>
  1318. <description>Timeout value (number of seconds) used by JDBC connection and statements.</description>
  1319. </property>
  1320.  
  1321. <property>
  1322. <name>hive.stats.retries.max</name>
  1323. <value>0</value>
  1324. <description>Maximum number of retries when stats publisher/aggregator got an exception updating intermediate database. Default is no tries on failures.</description>
  1325. </property>
  1326.  
  1327. <property>
  1328. <name>hive.stats.retries.wait</name>
  1329. <value>3000</value>
  1330. <description>The base waiting window (in milliseconds) before the next retry. The actual wait time is calculated by baseWindow * failures baseWindow * (failure 1) * (random number between [0.0,1.0]).</description>
  1331. </property>
  1332.  
  1333. <property>
  1334. <name>hive.stats.reliable</name>
  1335. <value>false</value>
  1336. <description>Whether queries will fail because stats cannot be collected completely accurately.
  1337. If this is set to true, reading/writing from/into a partition may fail because the stats
  1338. could not be computed accurately.
  1339. </description>
  1340. </property>
  1341.  
  1342. <property>
  1343. <name>hive.stats.collect.tablekeys</name>
  1344. <value>false</value>
  1345. <description>Whether join and group by keys on tables are derived and maintained in the QueryPlan.
  1346. This is useful to identify how tables are accessed and to determine if they should be bucketed.
  1347. </description>
  1348. </property>
  1349.  
  1350. <property>
  1351. <name>hive.stats.collect.scancols</name>
  1352. <value>false</value>
  1353. <description>Whether column accesses are tracked in the QueryPlan.
  1354. This is useful to identify how tables are accessed and to determine if there are wasted columns that can be trimmed.
  1355. </description>
  1356. </property>
  1357.  
  1358. <property>
  1359. <name>hive.stats.ndv.error</name>
  1360. <value>20.0</value>
  1361. <description>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.
  1362. </description>
  1363. </property>
  1364.  
  1365. <property>
  1366. <name>hive.stats.key.prefix.max.length</name>
  1367. <value>200</value>
  1368. <description>
  1369. Determines if when the prefix of the key used for intermediate stats collection
  1370. exceeds a certain length, a hash of the key is used instead. If the value &lt; 0 then hashing
  1371. is never used, if the value >= 0 then hashing is used only when the key prefixes length
  1372. exceeds that value. The key prefix is defined as everything preceding the task ID in the key.
  1373. For counter type stats, it's maxed by mapreduce.job.counters.group.name.max, which is by default 128.
  1374. </description>
  1375. </property>
  1376.  
  1377. <property>
  1378. <name>hive.stats.key.prefix.reserve.length</name>
  1379. <value>24</value>
  1380. <description>
  1381. Reserved length for postfix of stats key. Currently only meaningful for counter type which should
  1382. keep length of full stats key smaller than max length configured by hive.stats.key.prefix.max.length.
  1383. For counter type, it should be bigger than the length of LB spec if exists.
  1384. </description>
  1385. </property>
  1386.  
  1387. <property>
  1388. <name>hive.stats.max.variable.length</name>
  1389. <value>100</value>
  1390. <description>
  1391. To estimate the size of data flowing through operators in Hive/Tez(for reducer estimation etc.),
  1392. average row size is multiplied with the total number of rows coming out of each operator.
  1393. Average row size is computed from average column size of all columns in the row. In the absence
  1394. of column statistics, for variable length columns (like string, bytes etc.), this value will be
  1395. used. For fixed length columns their corresponding Java equivalent sizes are used
  1396. (float - 4 bytes, double - 8 bytes etc.).
  1397. </description>
  1398. </property>
  1399.  
  1400. <property>
  1401. <name>hive.stats.list.num.entries</name>
  1402. <value>10</value>
  1403. <description>
  1404. To estimate the size of data flowing through operators in Hive/Tez(for reducer estimation etc.),
  1405. average row size is multiplied with the total number of rows coming out of each operator.
  1406. Average row size is computed from average column size of all columns in the row. In the absence
  1407. of column statistics and for variable length complex columns like list, the average number of
  1408. entries/values can be specified using this config.
  1409. </description>
  1410. </property>
  1411.  
  1412. <property>
  1413. <name>hive.stats.map.num.entries</name>
  1414. <value>10</value>
  1415. <description>
  1416. To estimate the size of data flowing through operators in Hive/Tez(for reducer estimation etc.),
  1417. average row size is multiplied with the total number of rows coming out of each operator.
  1418. Average row size is computed from average column size of all columns in the row. In the absence
  1419. of column statistics and for variable length complex columns like map, the average number of
  1420. entries/values can be specified using this config.
  1421. </description>
  1422. </property>
  1423.  
  1424. <property>
  1425. <name>hive.stats.map.parallelism</name>
  1426. <value>1</value>
  1427. <description>
  1428. Hive/Tez optimizer estimates the data size flowing through each of the operators.
  1429. For GROUPBY operator, to accurately compute the data size map-side parallelism needs to
  1430. be known. By default, this value is set to 1 since optimizer is not aware of the number of
  1431. mappers during compile-time. This Hive config can be used to specify the number of mappers
  1432. to be used for data size computation of GROUPBY operator.
  1433. </description>
  1434. </property>
  1435.  
  1436. <property>
  1437. <name>hive.stats.fetch.column.stats</name>
  1438. <value>false</value>
  1439. <description>
  1440. Annotation of operator tree with statistics information requires column statisitcs.
  1441. Column statistics are fetched from metastore. Fetching column statistics for each needed column
  1442. can be expensive when the number of columns is high. This flag can be used to disable fetching
  1443. of column statistics from metastore.
  1444. </description>
  1445. </property>
  1446.  
  1447. <property>
  1448. <name>hive.stats.fetch.partition.stats</name>
  1449. <value>true</value>
  1450. <description>
  1451. Annotation of operator tree with statistics information requires partition level basic
  1452. statisitcs like number of rows, data size and file size. Partition statistics are fetched from
  1453. metastore. Fetching partition statistics for each needed partition can be expensive when the
  1454. number of partitions is high. This flag can be used to disable fetching of partition statistics
  1455. from metastore. When this flag is disabled, Hive will make calls to filesystem to get file sizes
  1456. and will estimate the number of rows from row schema.
  1457. </description>
  1458. </property>
  1459.  
  1460. <property>
  1461. <name>hive.stats.join.factor</name>
  1462. <value>1.1</value>
  1463. <description>
  1464. Hive/Tez optimizer estimates the data size flowing through each of the operators. JOIN operator
  1465. uses column statistics to estimate the number of rows flowing out of it and hence the data size.
  1466. In the absence of column statistics, this factor determines the amount of rows that flows out
  1467. of JOIN operator.
  1468. </description>
  1469. </property>
  1470.  
  1471. <property>
  1472. <name>hive.stats.deserialization.factor</name>
  1473. <value>1.0</value>
  1474. <description>
  1475. Hive/Tez optimizer estimates the data size flowing through each of the operators. In the absence
  1476. of basic statistics like number of rows and data size, file size is used to estimate the number
  1477. of rows and data size. Since files in tables/partitions are serialized (and optionally
  1478. compressed) the estimates of number of rows and data size cannot be reliably determined.
  1479. This factor is multiplied with the file size to account for serialization and compression.
  1480. </description>
  1481. </property>
  1482.  
  1483. <property>
  1484. <name>hive.support.concurrency</name>
  1485. <value>false</value>
  1486. <description>Whether Hive supports concurrency or not. A ZooKeeper instance must be up and running for the default Hive lock manager to support read-write locks.</description>
  1487. </property>
  1488.  
  1489. <property>
  1490. <name>hive.lock.numretries</name>
  1491. <value>100</value>
  1492. <description>The number of times you want to try to get all the locks</description>
  1493. </property>
  1494.  
  1495. <property>
  1496. <name>hive.unlock.numretries</name>
  1497. <value>10</value>
  1498. <description>The number of times you want to retry to do one unlock</description>
  1499. </property>
  1500.  
  1501. <property>
  1502. <name>hive.lock.sleep.between.retries</name>
  1503. <value>60</value>
  1504. <description>The sleep time (in seconds) between various retries</description>
  1505. </property>
  1506.  
  1507. <property>
  1508. <name>hive.zookeeper.quorum</name>
  1509. <value></value>
  1510. <description>The list of ZooKeeper servers to talk to. This is only needed for read/write locks.</description>
  1511. </property>
  1512.  
  1513. <property>
  1514. <name>hive.zookeeper.client.port</name>
  1515. <value>2181</value>
  1516. <description>The port of ZooKeeper servers to talk to. This is only needed for read/write locks.</description>
  1517. </property>
  1518.  
  1519. <property>
  1520. <name>hive.zookeeper.session.timeout</name>
  1521. <value>600000</value>
  1522. <description>ZooKeeper client's session timeout. The client is disconnected, and as a result, all locks released, if a heartbeat is not sent in the timeout.</description>
  1523. </property>
  1524.  
  1525. <property>
  1526. <name>hive.zookeeper.namespace</name>
  1527. <value>hive_zookeeper_namespace</value>
  1528. <description>The parent node under which all ZooKeeper nodes are created.</description>
  1529. </property>
  1530.  
  1531. <property>
  1532. <name>hive.zookeeper.clean.extra.nodes</name>
  1533. <value>false</value>
  1534. <description>Clean extra nodes at the end of the session.</description>
  1535. </property>
  1536.  
  1537. <property>
  1538. <name>fs.har.impl</name>
  1539. <value>org.apache.hadoop.hive.shims.HiveHarFileSystem</value>
  1540. <description>The implementation for accessing Hadoop Archives. Note that this won't be applicable to Hadoop versions less than 0.20</description>
  1541. </property>
  1542.  
  1543. <property>
  1544. <name>hive.archive.enabled</name>
  1545. <value>false</value>
  1546. <description>Whether archiving operations are permitted</description>
  1547. </property>
  1548.  
  1549. <property>
  1550. <name>hive.fetch.output.serde</name>
  1551. <value>org.apache.hadoop.hive.serde2.DelimitedJSONSerDe</value>
  1552. <description>The SerDe used by FetchTask to serialize the fetch output.</description>
  1553. </property>
  1554.  
  1555. <property>
  1556. <name>hive.exec.mode.local.auto</name>
  1557. <value>false</value>
  1558. <description> Let Hive determine whether to run in local mode automatically </description>
  1559. </property>
  1560.  
  1561. <property>
  1562. <name>hive.exec.drop.ignorenonexistent</name>
  1563. <value>true</value>
  1564. <description>
  1565. Do not report an error if DROP TABLE/VIEW specifies a non-existent table/view
  1566. </description>
  1567. </property>
  1568.  
  1569. <property>
  1570. <name>hive.exec.show.job.failure.debug.info</name>
  1571. <value>true</value>
  1572. <description>
  1573. If a job fails, whether to provide a link in the CLI to the task with the
  1574. most failures, along with debugging hints if applicable.
  1575. </description>
  1576. </property>
  1577.  
  1578. <property>
  1579. <name>hive.auto.progress.timeout</name>
  1580. <value>0</value>
  1581. <description>
  1582. How long to run autoprogressor for the script/UDTF operators (in seconds).
  1583. Set to 0 for forever.
  1584. </description>
  1585. </property>
  1586.  
  1587. <!-- HBase Storage Handler Parameters -->
  1588.  
  1589. <property>
  1590. <name>hive.hbase.wal.enabled</name>
  1591. <value>true</value>
  1592. <description>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.</description>
  1593. </property>
  1594.  
  1595. <property>
  1596. <name>hive.table.parameters.default</name>
  1597. <value></value>
  1598. <description>Default property values for newly created tables</description>
  1599. </property>
  1600.  
  1601. <property>
  1602. <name>hive.entity.separator</name>
  1603. <value>@</value>
  1604. <description>Separator used to construct names of tables and partitions. For example, dbname@tablename@partitionname</description>
  1605. </property>
  1606.  
  1607. <property>
  1608. <name>hive.ddl.createtablelike.properties.whitelist</name>
  1609. <value></value>
  1610. <description>Table Properties to copy over when executing a Create Table Like.</description>
  1611. </property>
  1612.  
  1613. <property>
  1614. <name>hive.variable.substitute</name>
  1615. <value>true</value>
  1616. <description>This enables substitution using syntax like ${var} ${system:var} and ${env:var}.</description>
  1617. </property>
  1618.  
  1619. <property>
  1620. <name>hive.variable.substitute.depth</name>
  1621. <value>40</value>
  1622. <description>The maximum replacements the substitution engine will do.</description>
  1623. </property>
  1624.  
  1625. <property>
  1626. <name>hive.conf.validation</name>
  1627. <value>true</value>
  1628. <description>Enables type checking for registered Hive configurations</description>
  1629. </property>
  1630.  
  1631. <property>
  1632. <name>hive.security.authorization.enabled</name>
  1633. <value>false</value>
  1634. <description>enable or disable the Hive client authorization</description>
  1635. </property>
  1636.  
  1637. <property>
  1638. <name>hive.security.authorization.manager</name>
  1639. <value>org.apache.hadoop.hive.ql.security.authorization.DefaultHiveAuthorizationProvider</value>
  1640. <description>The Hive client authorization manager class name.
  1641. The user defined authorization class should implement interface org.apache.hadoop.hive.ql.security.authorization.HiveAuthorizationProvider.
  1642. </description>
  1643. </property>
  1644.  
  1645. <property>
  1646. <name>hive.security.metastore.authorization.manager</name>
  1647. <value>org.apache.hadoop.hive.ql.security.authorization.DefaultHiveMetastoreAuthorizationProvider</value>
  1648. <description>authorization manager class name to be used in the metastore for authorization.
  1649. The user defined authorization class should implement interface org.apache.hadoop.hive.ql.security.authorization.HiveMetastoreAuthorizationProvider.
  1650. </description>
  1651. </property>
  1652.  
  1653. <property>
  1654. <name>hive.security.authenticator.manager</name>
  1655. <value>org.apache.hadoop.hive.ql.security.HadoopDefaultAuthenticator</value>
  1656. <description>hive client authenticator manager class name.
  1657. The user defined authenticator should implement interface org.apache.hadoop.hive.ql.security.HiveAuthenticationProvider.</description>
  1658. </property>
  1659.  
  1660. <property>
  1661. <name>hive.security.metastore.authenticator.manager</name>
  1662. <value>org.apache.hadoop.hive.ql.security.HadoopDefaultMetastoreAuthenticator</value>
  1663. <description>authenticator manager class name to be used in the metastore for authentication.
  1664. The user defined authenticator should implement interface org.apache.hadoop.hive.ql.security.HiveAuthenticationProvider.</description>
  1665. </property>
  1666.  
  1667. <property>
  1668. <name>hive.security.authorization.createtable.user.grants</name>
  1669. <value></value>
  1670. <description>the privileges automatically granted to some users whenever a table gets created.
  1671. An example like "userX,userY:select;userZ:create" will grant select privilege to userX and userY,
  1672. and grant create privilege to userZ whenever a new table created.</description>
  1673. </property>
  1674.  
  1675. <property>
  1676. <name>hive.security.authorization.createtable.group.grants</name>
  1677. <value></value>
  1678. <description>the privileges automatically granted to some groups whenever a table gets created.
  1679. An example like "groupX,groupY:select;groupZ:create" will grant select privilege to groupX and groupY,
  1680. and grant create privilege to groupZ whenever a new table created.</description>
  1681. </property>
  1682.  
  1683. <property>
  1684. <name>hive.security.authorization.createtable.role.grants</name>
  1685. <value></value>
  1686. <description>the privileges automatically granted to some roles whenever a table gets created.
  1687. An example like "roleX,roleY:select;roleZ:create" will grant select privilege to roleX and roleY,
  1688. and grant create privilege to roleZ whenever a new table created.</description>
  1689. </property>
  1690.  
  1691. <property>
  1692. <name>hive.security.authorization.createtable.owner.grants</name>
  1693. <value></value>
  1694. <description>the privileges automatically granted to the owner whenever a table gets created.
  1695. An example like "select,drop" will grant select and drop privilege to the owner of the table</description>
  1696. </property>
  1697.  
  1698. <property>
  1699. <name>hive.users.in.admin.role</name>
  1700. <value></value>
  1701. <description>Comma separated list of users who are in admin role for bootstrapping.
  1702. More users can be added in ADMIN role later.</description>
  1703. </property>
  1704.  
  1705. <property>
  1706. <name>hive.security.command.whitelist</name>
  1707. <value>set,reset,dfs,add,delete</value>
  1708. <description>Comma separated list of non-SQL Hive commands users are authorized to execute</description>
  1709. </property>
  1710.  
  1711. <property>
  1712. <name>hive.conf.restricted.list</name>
  1713. <value>hive.security.authenticator.manager,hive.security.authorization.manager</value>
  1714. <description>Comma separated list of configuration options which are immutable at runtime</description>
  1715. </property>
  1716.  
  1717. <property>
  1718. <name>hive.metastore.authorization.storage.checks</name>
  1719. <value>false</value>
  1720. <description>Should the metastore do authorization checks against the underlying storage
  1721. for operations like drop-partition (disallow the drop-partition if the user in
  1722. question doesn't have permissions to delete the corresponding directory
  1723. on the storage).</description>
  1724. </property>
  1725.  
  1726. <property>
  1727. <name>hive.error.on.empty.partition</name>
  1728. <value>false</value>
  1729. <description>Whether to throw an exception if dynamic partition insert generates empty results.</description>
  1730. </property>
  1731.  
  1732. <property>
  1733. <name>hive.index.compact.file.ignore.hdfs</name>
  1734. <value>false</value>
  1735. <description>When true the HDFS location stored in the index file will be ignored at runtime.
  1736. If the data got moved or the name of the cluster got changed, the index data should still be usable.</description>
  1737. </property>
  1738.  
  1739. <property>
  1740. <name>hive.optimize.index.filter.compact.minsize</name>
  1741. <value>5368709120</value>
  1742. <description>Minimum size (in bytes) of the inputs on which a compact index is automatically used.</description>
  1743. </property>
  1744.  
  1745. <property>
  1746. <name>hive.optimize.index.filter.compact.maxsize</name>
  1747. <value>-1</value>
  1748. <description>Maximum size (in bytes) of the inputs on which a compact index is automatically used.
  1749. A negative number is equivalent to infinity.</description>
  1750. </property>
  1751.  
  1752. <property>
  1753. <name>hive.index.compact.query.max.size</name>
  1754. <value>10737418240</value>
  1755. <description>The maximum number of bytes that a query using the compact index can read. Negative value is equivalent to infinity.</description>
  1756. </property>
  1757.  
  1758. <property>
  1759. <name>hive.index.compact.query.max.entries</name>
  1760. <value>10000000</value>
  1761. <description>The maximum number of index entries to read during a query that uses the compact index. Negative value is equivalent to infinity.</description>
  1762. </property>
  1763.  
  1764. <property>
  1765. <name>hive.index.compact.binary.search</name>
  1766. <value>true</value>
  1767. <description>Whether or not to use a binary search to find the entries in an index table that match the filter, where possible</description>
  1768. </property>
  1769.  
  1770. <property>
  1771. <name>hive.exim.uri.scheme.whitelist</name>
  1772. <value>hdfs,pfile</value>
  1773. <description>A comma separated list of acceptable URI schemes for import and export.</description>
  1774. </property>
  1775.  
  1776. <property>
  1777. <name>hive.lock.mapred.only.operation</name>
  1778. <value>false</value>
  1779. <description>This param is to control whether or not only do lock on queries
  1780. that need to execute at least one mapred job.</description>
  1781. </property>
  1782.  
  1783. <property>
  1784. <name>hive.limit.row.max.size</name>
  1785. <value>100000</value>
  1786. <description>When trying a smaller subset of data for simple LIMIT, how much size we need to guarantee
  1787. each row to have at least.</description>
  1788. </property>
  1789.  
  1790. <property>
  1791. <name>hive.limit.optimize.limit.file</name>
  1792. <value>10</value>
  1793. <description>When trying a smaller subset of data for simple LIMIT, maximum number of files we can
  1794. sample.</description>
  1795. </property>
  1796.  
  1797. <property>
  1798. <name>hive.limit.optimize.enable</name>
  1799. <value>false</value>
  1800. <description>Whether to enable to optimization to trying a smaller subset of data for simple LIMIT first.</description>
  1801. </property>
  1802.  
  1803. <property>
  1804. <name>hive.limit.optimize.fetch.max</name>
  1805. <value>50000</value>
  1806. <description>Maximum number of rows allowed for a smaller subset of data for simple LIMIT, if it is a fetch query.
  1807. Insert queries are not restricted by this limit.</description>
  1808. </property>
  1809.  
  1810. <property>
  1811. <name>hive.limit.pushdown.memory.usage</name>
  1812. <value>0.3f</value>
  1813. <description>The max memory to be used for hash in RS operator for top K selection.</description>
  1814. </property>
  1815.  
  1816. <property>
  1817. <name>hive.rework.mapredwork</name>
  1818. <value>false</value>
  1819. <description>should rework the mapred work or not.
  1820. This is first introduced by SymlinkTextInputFormat to replace symlink files with real paths at compile time.</description>
  1821. </property>
  1822.  
  1823. <property>
  1824. <name>hive.exec.concatenate.check.index</name>
  1825. <value>true</value>
  1826. <description>If this is set to true, Hive will throw error when doing
  1827. 'alter table tbl_name [partSpec] concatenate' on a table/partition
  1828. that has indexes on it. The reason the user want to set this to true
  1829. is because it can help user to avoid handling all index drop, recreation,
  1830. rebuild work. This is very helpful for tables with thousands of partitions.</description>
  1831. </property>
  1832.  
  1833. <property>
  1834. <name>hive.sample.seednumber</name>
  1835. <value>0</value>
  1836. <description>A number used to percentage sampling. By changing this number, user will change the subsets
  1837. of data sampled.</description>
  1838. </property>
  1839.  
  1840. <property>
  1841. <name>hive.io.exception.handlers</name>
  1842. <value></value>
  1843. <description>A list of io exception handler class names. This is used
  1844. to construct a list exception handlers to handle exceptions thrown
  1845. by record readers</description>
  1846. </property>
  1847.  
  1848. <property>
  1849. <name>hive.autogen.columnalias.prefix.label</name>
  1850. <value>_c</value>
  1851. <description>String used as a prefix when auto generating column alias.
  1852. By default the prefix label will be appended with a column position number to form the column alias. Auto generation would happen if an aggregate function is used in a select clause without an explicit alias.</description>
  1853. </property>
  1854.  
  1855. <property>
  1856. <name>hive.autogen.columnalias.prefix.includefuncname</name>
  1857. <value>false</value>
  1858. <description>Whether to include function name in the column alias auto generated by Hive.</description>
  1859. </property>
  1860.  
  1861. <property>
  1862. <name>hive.exec.perf.logger</name>
  1863. <value>org.apache.hadoop.hive.ql.log.PerfLogger</value>
  1864. <description>The class responsible logging client side performance metrics. Must be a subclass of org.apache.hadoop.hive.ql.log.PerfLogger</description>
  1865. </property>
  1866.  
  1867. <property>
  1868. <name>hive.start.cleanup.scratchdir</name>
  1869. <value>false</value>
  1870. <description>To cleanup the Hive scratchdir while starting the Hive Server</description>
  1871. </property>
  1872.  
  1873. <property>
  1874. <name>hive.output.file.extension</name>
  1875. <value></value>
  1876. <description>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.</description>
  1877. </property>
  1878.  
  1879. <property>
  1880. <name>hive.insert.into.multilevel.dirs</name>
  1881. <value>false</value>
  1882. <description>Where to insert into multilevel directories like
  1883. "insert directory '/HIVEFT25686/chinna/' from table"</description>
  1884. </property>
  1885.  
  1886. <property>
  1887. <name>hive.warehouse.subdir.inherit.perms</name>
  1888. <value>false</value>
  1889. <description>Set this to true if the the table directories should inherit the
  1890. permission of the warehouse or database directory instead of being created
  1891. with the permissions derived from dfs umask</description>
  1892. </property>
  1893.  
  1894. <property>
  1895. <name>hive.exec.job.debug.capture.stacktraces</name>
  1896. <value>true</value>
  1897. <description>Whether or not stack traces parsed from the task logs of a sampled failed task for
  1898. each failed job should be stored in the SessionState
  1899. </description>
  1900. </property>
  1901.  
  1902. <property>
  1903. <name>hive.exec.driver.run.hooks</name>
  1904. <value></value>
  1905. <description>A comma separated list of hooks which implement HiveDriverRunHook
  1906. and will be run at the beginning and end of Driver.run, these will be run in
  1907. the order specified.
  1908. </description>
  1909. </property>
  1910.  
  1911. <property>
  1912. <name>hive.ddl.output.format</name>
  1913. <value>text</value>
  1914. <description>
  1915. The data format to use for DDL output. One of "text" (for human
  1916. readable text) or "json" (for a json object).
  1917. </description>
  1918. </property>
  1919.  
  1920. <property>
  1921. <name>hive.display.partition.cols.separately</name>
  1922. <value>true</value>
  1923. <description>
  1924. In older Hive version (0.10 and earlier) no distinction was made between
  1925. partition columns or non-partition columns while displaying columns in describe
  1926. table. From 0.12 onwards, they are displayed separately. This flag will let you
  1927. get old behavior, if desired. See, test-case in patch for HIVE-6689.
  1928. </description>
  1929. </property>
  1930.  
  1931. <property>
  1932. <name>hive.transform.escape.input</name>
  1933. <value>false</value>
  1934. <description>
  1935. This adds an option to escape special chars (newlines, carriage returns and
  1936. tabs) when they are passed to the user script. This is useful if the Hive tables
  1937. can contain data that contains special characters.
  1938. </description>
  1939. </property>
  1940.  
  1941. <property>
  1942. <name>hive.exec.rcfile.use.explicit.header</name>
  1943. <value>true</value>
  1944. <description>
  1945. If this is set the header for RCFiles will simply be RCF. If this is not
  1946. set the header will be that borrowed from sequence files, e.g. SEQ- followed
  1947. by the input and output RCFile formats.
  1948. </description>
  1949. </property>
  1950.  
  1951. <property>
  1952. <name>hive.exec.orc.default.stripe.size</name>
  1953. <value>268435456</value>
  1954. <description>
  1955. Define the default ORC stripe size.
  1956. </description>
  1957. </property>
  1958.  
  1959. <property>
  1960. <name>hive.exec.orc.default.row.index.stride</name>
  1961. <value>10000</value>
  1962. <description>
  1963. Define the default ORC index stride in number of rows.
  1964. </description>
  1965. </property>
  1966.  
  1967. <property>
  1968. <name>hive.exec.orc.default.buffer.size</name>
  1969. <value>262144</value>
  1970. <description>
  1971. Define the default ORC buffer size in bytes.
  1972. </description>
  1973. </property>
  1974.  
  1975. <property>
  1976. <name>hive.exec.orc.default.block.padding</name>
  1977. <value>true</value>
  1978. <description>
  1979. Define the default block padding.
  1980. </description>
  1981. </property>
  1982.  
  1983. <property>
  1984. <name>hive.exec.orc.default.compress</name>
  1985. <value>ZLIB</value>
  1986. <description>
  1987. Define the default compression codec for ORC file.
  1988. </description>
  1989. </property>
  1990.  
  1991. <property>
  1992. <name>hive.exec.orc.dictionary.key.size.threshold</name>
  1993. <value>0.8</value>
  1994. <description>
  1995. If the number of keys in a dictionary is greater than this fraction of the total number of
  1996. non-null rows, turn off dictionary encoding. Use 1 to always use dictionary encoding.
  1997. </description>
  1998. </property>
  1999.  
  2000. <property>
  2001. <name>hive.exec.orc.skip.corrupt.data</name>
  2002. <value>false</value>
  2003. <description>If ORC reader encounters corrupt data, this value will be used to determine
  2004. whether to skip the corrupt data or throw exception. The default behavior is to throw exception.
  2005. </description>
  2006. </property>
  2007.  
  2008. <property>
  2009. <name>hive.multi.insert.move.tasks.share.dependencies</name>
  2010. <value>false</value>
  2011. <description>
  2012. If this is set all move tasks for tables/partitions (not directories) at the end of a
  2013. multi-insert query will only begin once the dependencies for all these move tasks have been
  2014. met.
  2015. Advantages: If concurrency is enabled, the locks will only be released once the query has
  2016. finished, so with this config enabled, the time when the table/partition is
  2017. generated will be much closer to when the lock on it is released.
  2018. Disadvantages: If concurrency is not enabled, with this disabled, the tables/partitions which
  2019. are produced by this query and finish earlier will be available for querying
  2020. much earlier. Since the locks are only released once the query finishes, this
  2021. does not apply if concurrency is enabled.
  2022. </description>
  2023. </property>
  2024.  
  2025. <property>
  2026. <name>hive.fetch.task.conversion</name>
  2027. <value>minimal</value>
  2028. <description>
  2029. Some select queries can be converted to single FETCH task minimizing latency.
  2030. Currently the query should be single sourced not having any subquery and should not have
  2031. any aggregations or distincts (which incurs RS), lateral views and joins.
  2032. 1. minimal : SELECT STAR, FILTER on partition columns, LIMIT only
  2033. 2. more : SELECT, FILTER, LIMIT only (TABLESAMPLE, virtual columns)
  2034. </description>
  2035. </property>
  2036.  
  2037. <property>
  2038. <name>hive.fetch.task.conversion.threshold</name>
  2039. <value>-1</value>
  2040. <description>
  2041. Input threshold for applying hive.fetch.task.conversion. If target table is native, input length
  2042. is calculated by summation of file lengths. If it's not native, storage handler for the table
  2043. can optionally implement org.apache.hadoop.hive.ql.metadata.InputEstimator interface.
  2044. </description>
  2045. </property>
  2046.  
  2047. <property>
  2048. <name>hive.fetch.task.aggr</name>
  2049. <value>false</value>
  2050. <description>
  2051. Aggregation queries with no group-by clause (for example, select count(*) from src) execute
  2052. final aggregations in single reduce task. If this is set true, Hive delegates final aggregation
  2053. stage to fetch task, possibly decreasing the query time.
  2054. </description>
  2055. </property>
  2056.  
  2057. <property>
  2058. <name>hive.cache.expr.evaluation</name>
  2059. <value>true</value>
  2060. <description>
  2061. If true, evaluation result of deterministic expression referenced twice or more will be cached.
  2062. For example, in filter condition like ".. where key + 10 > 10 or key + 10 = 0"
  2063. "key + 10" will be evaluated/cached once and reused for following expression ("key + 10 = 0").
  2064. Currently, this is applied only to expressions in select or filter operator.
  2065. </description>
  2066. </property>
  2067.  
  2068.  
  2069. <property>
  2070. <name>hive.hmshandler.retry.attempts</name>
  2071. <value>1</value>
  2072. <description>The number of times to retry a HMSHandler call if there were a connection error</description>
  2073. </property>
  2074.  
  2075. <property>
  2076. <name>hive.hmshandler.retry.interval</name>
  2077. <value>1000</value>
  2078. <description>The number of milliseconds between HMSHandler retry attempts</description>
  2079. </property>
  2080.  
  2081. <property>
  2082. <name>hive.server.read.socket.timeout</name>
  2083. <value>10</value>
  2084. <description>Timeout for the HiveServer to close the connection if no response from the client in N seconds, defaults to 10 seconds.</description>
  2085. </property>
  2086.  
  2087. <property>
  2088. <name>hive.server.tcp.keepalive</name>
  2089. <value>true</value>
  2090. <description>Whether to enable TCP keepalive for the Hive Server. Keepalive will prevent accumulation of half-open connections.</description>
  2091. </property>
  2092.  
  2093. <property>
  2094. <name>hive.decode.partition.name</name>
  2095. <value>false</value>
  2096. <description>Whether to show the unquoted partition names in query results.</description>
  2097. </property>
  2098.  
  2099. <property>
  2100. <name>hive.log4j.file</name>
  2101. <value></value>
  2102. <description>Hive log4j configuration file.
  2103. If the property is not set, then logging will be initialized using hive-log4j.properties found on the classpath.
  2104. If the property is set, the value must be a valid URI (java.net.URI, e.g. "file:///tmp/my-logging.properties"), which you can then extract a URL from and pass to PropertyConfigurator.configure(URL).</description>
  2105. </property>
  2106.  
  2107. <property>
  2108. <name>hive.exec.log4j.file</name>
  2109. <value></value>
  2110. <description>Hive log4j configuration file for execution mode(sub command).
  2111. If the property is not set, then logging will be initialized using hive-exec-log4j.properties found on the classpath.
  2112. If the property is set, the value must be a valid URI (java.net.URI, e.g. "file:///tmp/my-logging.properties"), which you can then extract a URL from and pass to PropertyConfigurator.configure(URL).</description>
  2113. </property>
  2114.  
  2115. <property>
  2116. <name>hive.exec.infer.bucket.sort</name>
  2117. <value>false</value>
  2118. <description>
  2119. If this is set, when writing partitions, the metadata will include the bucketing/sorting
  2120. properties with which the data was written if any (this will not overwrite the metadata
  2121. inherited from the table if the table is bucketed/sorted)
  2122. </description>
  2123. </property>
  2124.  
  2125. <property>
  2126. <name>hive.exec.infer.bucket.sort.num.buckets.power.two</name>
  2127. <value>false</value>
  2128. <description>
  2129. If this is set, when setting the number of reducers for the map reduce task which writes the
  2130. final output files, it will choose a number which is a power of two, unless the user specifies
  2131. the number of reducers to use using mapred.reduce.tasks. The number of reducers
  2132. may be set to a power of two, only to be followed by a merge task meaning preventing
  2133. anything from being inferred.
  2134. With hive.exec.infer.bucket.sort set to true:
  2135. Advantages: If this is not set, the number of buckets for partitions will seem arbitrary,
  2136. which means that the number of mappers used for optimized joins, for example, will
  2137. be very low. With this set, since the number of buckets used for any partition is
  2138. a power of two, the number of mappers used for optimized joins will be the least
  2139. number of buckets used by any partition being joined.
  2140. Disadvantages: This may mean a much larger or much smaller number of reducers being used in the
  2141. final map reduce job, e.g. if a job was originally going to take 257 reducers,
  2142. it will now take 512 reducers, similarly if the max number of reducers is 511,
  2143. and a job was going to use this many, it will now use 256 reducers.
  2144.  
  2145. </description>
  2146. </property>
  2147.  
  2148. <property>
  2149. <name>hive.groupby.orderby.position.alias</name>
  2150. <value>false</value>
  2151. <description>Whether to enable using Column Position Alias in Group By or Order By</description>
  2152. </property>
  2153.  
  2154. <property>
  2155. <name>hive.server2.thrift.min.worker.threads</name>
  2156. <value>5</value>
  2157. <description>Minimum number of Thrift worker threads</description>
  2158. </property>
  2159.  
  2160. <property>
  2161. <name>hive.server2.thrift.max.worker.threads</name>
  2162. <value>500</value>
  2163. <description>Maximum number of Thrift worker threads</description>
  2164. </property>
  2165.  
  2166. <property>
  2167. <name>hive.server2.async.exec.threads</name>
  2168. <value>100</value>
  2169. <description>Number of threads in the async thread pool for HiveServer2</description>
  2170. </property>
  2171.  
  2172. <property>
  2173. <name>hive.server2.async.exec.shutdown.timeout</name>
  2174. <value>10</value>
  2175. <description>Time (in seconds) for which HiveServer2 shutdown will wait for async
  2176. threads to terminate</description>
  2177. </property>
  2178.  
  2179. <property>
  2180. <name>hive.server2.async.exec.keepalive.time</name>
  2181. <value>10</value>
  2182. <description>Time (in seconds) that an idle HiveServer2 async thread (from the thread pool) will wait
  2183. for a new task to arrive before terminating</description>
  2184. </property>
  2185.  
  2186. <property>
  2187. <name>hive.server2.long.polling.timeout</name>
  2188. <value>5000L</value>
  2189. <description>Time in milliseconds that HiveServer2 will wait, before responding to asynchronous calls that use long polling</description>
  2190. </property>
  2191.  
  2192. <property>
  2193. <name>hive.server2.async.exec.wait.queue.size</name>
  2194. <value>100</value>
  2195. <description>Size of the wait queue for async thread pool in HiveServer2.
  2196. After hitting this limit, the async thread pool will reject new requests.</description>
  2197. </property>
  2198.  
  2199. <property>
  2200. <name>hive.server2.thrift.port</name>
  2201. <value>10000</value>
  2202. <description>Port number of HiveServer2 Thrift interface.
  2203. Can be overridden by setting $HIVE_SERVER2_THRIFT_PORT</description>
  2204. </property>
  2205.  
  2206. <property>
  2207. <name>hive.server2.thrift.bind.host</name>
  2208. <value>localhost</value>
  2209. <description>Bind host on which to run the HiveServer2 Thrift interface.
  2210. Can be overridden by setting $HIVE_SERVER2_THRIFT_BIND_HOST</description>
  2211. </property>
  2212.  
  2213. <property>
  2214. <name>hive.server2.authentication</name>
  2215. <value>NONE</value>
  2216. <description>
  2217. Client authentication types.
  2218. NONE: no authentication check
  2219. LDAP: LDAP/AD based authentication
  2220. KERBEROS: Kerberos/GSSAPI authentication
  2221. CUSTOM: Custom authentication provider
  2222. (Use with property hive.server2.custom.authentication.class)
  2223. PAM: Pluggable authentication module.
  2224. </description>
  2225. </property>
  2226.  
  2227. <property>
  2228. <name>hive.server2.custom.authentication.class</name>
  2229. <value></value>
  2230. <description>
  2231. Custom authentication class. Used when property
  2232. 'hive.server2.authentication' is set to 'CUSTOM'. Provided class
  2233. must be a proper implementation of the interface
  2234. org.apache.hive.service.auth.PasswdAuthenticationProvider. HiveServer2
  2235. will call its Authenticate(user, passed) method to authenticate requests.
  2236. The implementation may optionally extend Hadoop's
  2237. org.apache.hadoop.conf.Configured class to grab Hive's Configuration object.
  2238. </description>
  2239. </property>
  2240.  
  2241. <property>
  2242. <name>hive.server2.authentication.kerberos.principal</name>
  2243. <value></value>
  2244. <description>
  2245. Kerberos server principal
  2246. </description>
  2247. </property>
  2248.  
  2249. <property>
  2250. <name>hive.server2.authentication.kerberos.keytab</name>
  2251. <value></value>
  2252. <description>
  2253. Kerberos keytab file for server principal
  2254. </description>
  2255. </property>
  2256.  
  2257. <property>
  2258. <name>hive.server2.authentication.spnego.principal</name>
  2259. <value></value>
  2260. <description>
  2261. SPNego service principal, optional,
  2262. typical value would look like HTTP/_HOST@EXAMPLE.COM
  2263. SPNego service principal would be used by hiveserver2 when kerberos security is enabled
  2264. and HTTP transport mode is used.
  2265. This needs to be set only if SPNEGO is to be used in authentication.
  2266. </description>
  2267. </property>
  2268.  
  2269. <property>
  2270. <name>hive.server2.authentication.spnego.keytab</name>
  2271. <value></value>
  2272. <description>
  2273. keytab file for SPNego principal, optional,
  2274. typical value would look like /etc/security/keytabs/spnego.service.keytab,
  2275. This keytab would be used by hiveserver2 when kerberos security is enabled
  2276. and HTTP transport mode is used.
  2277. This needs to be set only if SPNEGO is to be used in authentication.
  2278. SPNego authentication would be honored only if valid
  2279. hive.server2.authentication.spnego.principal
  2280. and
  2281. hive.server2.authentication.spnego.keytab
  2282. are specified.
  2283. </description>
  2284. </property>
  2285.  
  2286. <property>
  2287. <name>hive.server2.authentication.ldap.url</name>
  2288. <value></value>
  2289. <description>
  2290. LDAP connection URL.
  2291. </description>
  2292. </property>
  2293.  
  2294. <property>
  2295. <name>hive.server2.authentication.ldap.baseDN</name>
  2296. <value></value>
  2297. <description>
  2298. LDAP base DN (distinguished name).
  2299. </description>
  2300. </property>
  2301.  
  2302. <property>
  2303. <name>hive.server2.authentication.ldap.Domain</name>
  2304. <value></value>
  2305. <description>
  2306. LDAP domain.
  2307. </description>
  2308. </property>
  2309.  
  2310. <property>
  2311. <name>hive.server2.enable.doAs</name>
  2312. <value>true</value>
  2313. <description>
  2314. Setting this property to true will have HiveServer2 execute
  2315. Hive operations as the user making the calls to it.
  2316. </description>
  2317. </property>
  2318.  
  2319. <property>
  2320. <name>hive.execution.engine</name>
  2321. <value>tez</value>
  2322. <description>
  2323. Chooses execution engine. Options are mr (MapReduce, default) or Tez (Hadoop 2 only).
  2324. </description>
  2325. </property>
  2326.  
  2327. <property>
  2328. <name>hive.prewarm.enabled</name>
  2329. <value>false</value>
  2330. <description>
  2331. Enables container prewarm for Tez (Hadoop 2 only).
  2332. </description>
  2333. </property>
  2334.  
  2335. <property>
  2336. <name>hive.prewarm.numcontainers</name>
  2337. <value>10</value>
  2338. <description>
  2339. Controls the number of containers to prewarm for Tez (Hadoop 2 only).
  2340. </description>
  2341. </property>
  2342.  
  2343. <property>
  2344. <name>hive.server2.table.type.mapping</name>
  2345. <value>CLASSIC</value>
  2346. <description>
  2347. This setting reflects how HiveServer2 will report the table types for JDBC and other
  2348. client implementations that retrieve the available tables and supported table types
  2349. HIVE : Exposes Hive's native table types like MANAGED_TABLE, EXTERNAL_TABLE, VIRTUAL_VIEW
  2350. CLASSIC : More generic types like TABLE and VIEW
  2351. </description>
  2352. </property>
  2353.  
  2354. <property>
  2355. <name>hive.server2.session.hook</name>
  2356. <value></value>
  2357. <description>
  2358. Session-level hook for HiveServer2.
  2359. </description>
  2360. </property>
  2361.  
  2362. <property>
  2363. <name>hive.server2.thrift.sasl.qop</name>
  2364. <value>auth</value>
  2365. <description>Sasl QOP value; set it to one of the following values to enable higher levels of
  2366. protection for HiveServer2 communication with clients.
  2367. "auth" - authentication only (default)
  2368. "auth-int" - authentication plus integrity protection
  2369. "auth-conf" - authentication plus integrity and confidentiality protection
  2370. Note that hadoop.rpc.protection being set to a higher level than HiveServer2 does not
  2371. make sense in most situations. HiveServer2 ignores hadoop.rpc.protection in favor of
  2372. hive.server2.thrift.sasl.qop.
  2373. This is applicable only if HiveServer2 is configured to use Kerberos authentication.
  2374. </description>
  2375. </property>
  2376.  
  2377. <property>
  2378. <name>hive.plan.serialization.format</name>
  2379. <value>kryo</value>
  2380. <description>
  2381. Query plan format serialization between client and task nodes.
  2382. Two supported values are : kryo and javaXML. Kryo is default.
  2383. </description>
  2384. </property>
  2385.  
  2386. <property>
  2387. <name>hive.vectorized.execution.enabled</name>
  2388. <value>false</value>
  2389. <description>
  2390. This flag should be set to true to enable vectorized mode of query execution.
  2391. The default value is false.
  2392. </description>
  2393. </property>
  2394.  
  2395. <property>
  2396. <name>hive.vectorized.groupby.maxentries</name>
  2397. <value>1000000</value>
  2398. <description>Max number of entries in the vector group by aggregation hashtables. Exceeding this will trigger a flush irrelevant of memory pressure condition.</description>
  2399. </property>
  2400.  
  2401. <property>
  2402. <name>hive.vectorized.groupby.checkinterval</name>
  2403. <value>100000</value>
  2404. <description>Number of entries added to the group by aggregation hash before a reocmputation of average entry size is performed.</description>
  2405. </property>
  2406.  
  2407. <property>
  2408. <name>hive.vectorized.groupby.flush.percent</name>
  2409. <value>0.1</value>
  2410. <description>Percent of entries in the group by aggregation hash flushed when the memory treshold is exceeded.</description>
  2411. </property>
  2412.  
  2413. <property>
  2414. <name>hive.compute.query.using.stats</name>
  2415. <value>false</value>
  2416. <description>
  2417. When set to true Hive will answer a few queries like count(1) purely using stats
  2418. stored in metastore. For basic stats collection turn on the config hive.stats.autogather to true.
  2419. For more advanced stats collection need to run analyze table queries.
  2420. </description>
  2421. </property>
  2422.  
  2423. <property>
  2424. <name>hive.metastore.schema.verification</name>
  2425. <value>false</value>
  2426. <description>
  2427. Enforce metastore schema version consistency.
  2428. True: Verify that version information stored in metastore matches with one from Hive jars. Also disable automatic
  2429. schema migration attempt. Users are required to manually migrate schema after Hive upgrade which ensures
  2430. proper metastore schema migration. (Default)
  2431. False: Warn if the version information stored in metastore doesn't match with one from in Hive jars.
  2432. </description>
  2433. </property>
  2434.  
  2435. <property>
  2436. <name>hive.metastore.integral.jdo.pushdown</name>
  2437. <value>false</value>
  2438. <description>
  2439. Allow JDO query pushdown for integral partition columns in the metastore. Off by default.
  2440. This improves metastore performance for integral columns, especially with a large number of
  2441. partitions. However, it doesn't work correctly for integral values that are not normalized
  2442. (for example, if they have leading zeroes like 0012). If metastore direct SQL is enabled and
  2443. works (hive.metastore.try.direct.sql), this optimization is also irrelevant.
  2444. </description>
  2445. </property>
  2446.  
  2447. <property>
  2448. <name>hive.orc.splits.include.file.footer</name>
  2449. <value>false</value>
  2450. <description>
  2451. If turned on splits generated by orc will include metadata about the stripes in the file. This
  2452. data is read remotely (from the client or HS2 machine) and sent to all the tasks.
  2453. </description>
  2454. </property>
  2455.  
  2456. <property>
  2457. <name>hive.orc.cache.stripe.details.size</name>
  2458. <value>10000</value>
  2459. <description>
  2460. Cache size for keeping meta info about orc splits cached in the client.
  2461. </description>
  2462. </property>
  2463.  
  2464. <property>
  2465. <name>hive.orc.compute.splits.num.threads</name>
  2466. <value>10</value>
  2467. <description>
  2468. How many threads orc should use to create splits in parallel.
  2469. </description>
  2470. </property>
  2471.  
  2472. <property>
  2473. <name>hive.stats.gather.num.threads</name>
  2474. <value>10</value>
  2475. <description>
  2476. Number of threads used by partialscan/noscan analyze command for partitioned tables.
  2477. This is applicable only for file formats that implement StatsProvidingRecordReader (like ORC).
  2478. </description>
  2479. </property>
  2480.  
  2481. <property>
  2482. <name>hive.exec.orc.zerocopy</name>.
  2483. <value>false</value>
  2484. <description>
  2485. Use zerocopy reads with ORC.
  2486. </description>
  2487. </property>
  2488.  
  2489. <property>
  2490. <name>hive.jar.directory</name>
  2491. <value></value>
  2492. <description>
  2493. This is the location Hive in Tez mode will look for to find a site wide
  2494. installed Hive instance. If not set, the directory under hive.user.install.directory
  2495. corresponding to current user name will be used.
  2496. </description>
  2497. </property>
  2498.  
  2499. <property>
  2500. <name>hive.user.install.directory</name>
  2501. <value>hdfs:///user/</value>
  2502. <description>
  2503. If Hive (in Tez mode only) cannot find a usable Hive jar in "hive.jar.directory",
  2504. it will upload the Hive jar to &lt;hive.user.install.directory&gt;/&lt;user name&gt;
  2505. and use it to run queries.
  2506. </description>
  2507. </property>
  2508.  
  2509. <property>
  2510. <name>hive.tez.container.size</name>
  2511. <value>-1</value>
  2512. <description>By default Tez will spawn containers of the size of a mapper. This can be used to overwrite.</description>
  2513. </property>
  2514.  
  2515. <property>
  2516. <name>hive.tez.java.opts</name>
  2517. <value></value>
  2518. <description>By default Tez will use the Java options from map tasks. This can be used to overwrite.</description>
  2519. </property>
  2520.  
  2521. <property>
  2522. <name>hive.tez.log.level</name>
  2523. <value>INFO</value>
  2524. <description>
  2525. The log level to use for tasks executing as part of the DAG.
  2526. Used only if hive.tez.java.opts is used to configure Java options.
  2527. </description>
  2528. </property>
  2529.  
  2530. <property>
  2531. <name>hive.server2.tez.default.queues</name>
  2532. <value></value>
  2533. <description>
  2534. A list of comma separated values corresponding to YARN queues of the same name.
  2535. When HiveServer2 is launched in Tez mode, this configuration needs to be set
  2536. for multiple Tez sessions to run in parallel on the cluster.
  2537. </description>
  2538. </property>
  2539.  
  2540. <property>
  2541. <name>hive.server2.tez.sessions.per.default.queue</name>
  2542. <value>1</value>
  2543. <description>
  2544. A positive integer that determines the number of Tez sessions that should be
  2545. launched on each of the queues specified by "hive.server2.tez.default.queues".
  2546. Determines the parallelism on each queue.
  2547. </description>
  2548. </property>
  2549.  
  2550. <property>
  2551. <name>hive.server2.tez.initialize.default.sessions</name>
  2552. <value>false</value>
  2553. <description>
  2554. This flag is used in HiveServer2 to enable a user to use HiveServer2 without
  2555. turning on Tez for HiveServer2. The user could potentially want to run queries
  2556. over Tez without the pool of sessions.
  2557. </description>
  2558. </property>
  2559.  
  2560. <property>
  2561. <name>hive.server2.allow.user.substitution</name>
  2562. <value>true</value>
  2563. <description>
  2564. Allow alternate user to be specified as part of HiveServer2 open connection request
  2565. </description>
  2566. </property>
  2567.  
  2568. <property>
  2569. <name>hive.resultset.use.unique.column.names</name>
  2570. <value>true</value>
  2571. <description>
  2572. Make column names unique in the result set by qualifying column names with table alias if needed.
  2573. Table alias will be added to column names for queries of type "select *" or
  2574. if query explicitly uses table alias "select r1.x..".
  2575. </description>
  2576. </property>
  2577.  
  2578. <property>
  2579. <name>hive.compat</name>
  2580. <value>0.12</value>
  2581. <description>
  2582. Enable (configurable) deprecated behaviors by setting desired level of backward compatbility
  2583. </description>
  2584. </property>
  2585.  
  2586. <property>
  2587. <name>hive.metastore.try.direct.sql</name>
  2588. <value>true</value>
  2589. <description>
  2590. Whether Hive metastore should try to use direct SQL queries instead of DataNucleus for certain
  2591. read paths. Can improve metastore performance when fetching many partitions or column stats by
  2592. orders of magnitude; however, is not guaranteed to work on all RDBMS-es and all versions. In case
  2593. of SQL failures, metastore will fall back to DataNucleus, so it's safe even if SQL doesn't work
  2594. for all queries on your datastore. If all SQL queries fail (e.g. your metastore is backed by
  2595. MongoDB), you might want to disable this to save the try-and-fall-back cost.
  2596. </description>
  2597. </property>
  2598.  
  2599. <property>
  2600. <name>hive.metastore.try.direct.sql.ddl</name>
  2601. <value>true</value>
  2602. <description>
  2603. Same as hive.metastore.try.direct.sql, for read statements within a transaction that modifies
  2604. metastore data. Due to non-standard behavior in Postgres, if direct SQL select query has
  2605. incorrect syntax or something inside a transaction, entire transaction will fail and fall-back to
  2606. DataNucleus will not be possible. You should disable the usage of direct SQL inside transactions
  2607. if that happens in your case.
  2608. </description>
  2609. </property>
  2610.  
  2611. <property>
  2612. <name>hive.mapjoin.optimized.keys</name>
  2613. <value>true</value>
  2614. <description>
  2615. Whether MapJoin hashtable should use optimized (size-wise), keys, allowing the table to take less
  2616. memory. Depending on key, the memory savings for entire table can be 5-15% or so.
  2617. </description>
  2618. </property>
  2619.  
  2620. <property>
  2621. <name>hive.mapjoin.lazy.hashtable</name>
  2622. <value>true</value>
  2623. <description>
  2624. Whether MapJoin hashtable should deserialize values on demand. Depending on how many values in
  2625. the table the join will actually touch, it can save a lot of memory by not creating objects for
  2626. rows that are not needed. If all rows are needed obviously there's no gain.
  2627. </description>
  2628. </property>
  2629.  
  2630. <property>
  2631. <name>hive.exec.check.crossproducts</name>
  2632. <value>true</value>
  2633. <description>
  2634. Check if a plan contains a Cross Product. If there is one, output a warning to the Session's console.
  2635. </description>
  2636. </property>
  2637.  
  2638. <property>
  2639. <name>hive.localize.resource.wait.interval</name>
  2640. <value>5000</value>
  2641. <description>
  2642. Time in milliseconds to wait for another thread to localize the same resource for hive-tez.
  2643. </description>
  2644. </property>
  2645.  
  2646. <property>
  2647. <name>hive.localize.resource.num.wait.attempts</name>
  2648. <value>5</value>
  2649. <description>
  2650. The number of attempts waiting for localizing a resource in hive-tez.
  2651. </description>
  2652. </property>
  2653.  
  2654. <property>
  2655. <name>hive.server2.use.SSL</name>
  2656. <value>false</value>
  2657. <description>Set this to true for using SSL encryption in HiveServer2</description>
  2658. </property>
  2659.  
  2660. <property>
  2661. <name>hive.server2.keystore.path</name>
  2662. <value></value>
  2663. <description>SSL certificate keystore location</description>
  2664. </property>
  2665.  
  2666. <property>
  2667. <name>hive.server2.keystore.password</name>
  2668. <value></value>
  2669. <description>SSL certificate keystore password.</description>
  2670. </property>
  2671.  
  2672. <property>
  2673. <name>hive.server2.authentication.pam.services</name>
  2674. <value></value>
  2675. <description>List of the underlying PAM services that should be used when authentication
  2676. type is PAM (hive.server2.authentication). A file with the same name must exist in
  2677. /etc/pam.d</description>
  2678. </property>
  2679.  
  2680. <property>
  2681. <name>hive.convert.join.bucket.mapjoin.tez</name>
  2682. <value>false</value>
  2683. <description>Whether joins can be automatically converted to bucket map
  2684. joins in hive when tez is used as the execution engine.
  2685. </description>
  2686. </property>
  2687.  
  2688. <property>
  2689. <name>hive.serdes.using.metastore.for.schema</name>
  2690. <value>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</value>
  2691. <description>This an internal parameter. Check with the hive dev. team</description>
  2692. </property>
  2693.  
  2694. <property>
  2695. <name>hive.limit.query.max.table.partition</name>
  2696. <value>-1</value>
  2697. <description>This controls how many partitions can be scanned for each partitioned table. The default value "-1" means no limit.</description>
  2698. </property>
  2699.  
  2700. <property>
  2701. <name>hive.txn.manager</name>
  2702. <value>org.apache.hadoop.hive.ql.lockmgr.DummyTxnManager</value>
  2703. <description></description>
  2704. </property>
  2705.  
  2706. <property>
  2707. <name>hive.txn.timeout</name>
  2708. <value>300</value>
  2709. <description>time after which transactions are declared aborted if the client has
  2710. not sent a heartbeat, in seconds.</description>
  2711. </property>
  2712.  
  2713. <property>
  2714. <name>hive.txn.max.open.batch</name>
  2715. <value>1000</value>
  2716. <description>Maximum number of transactions that can be fetched in one call to open_txns().
  2717. Increasing this will decrease the number of delta files created when
  2718. streaming data into Hive. But it will also increase the number of
  2719. open transactions at any given time, possibly impacting read
  2720. performance.
  2721. </description>
  2722. </property>
  2723.  
  2724. <property>
  2725. <name>hive.compactor.initiator.on</name>
  2726. <value>false</value>
  2727. <description>Whether to run the compactor's initiator thread in this metastore instance or not.</description>
  2728. </property>
  2729.  
  2730. <property>
  2731. <name>hive.compactor.worker.threads</name>
  2732. <value>0</value>
  2733. <description>Number of compactor worker threads to run on this metastore instance.</description>
  2734. </property>
  2735.  
  2736. <property>
  2737. <name>hive.compactor.worker.timeout</name>
  2738. <value>86400</value>
  2739. <description>Time, in seconds, before a given compaction in working state is declared a failure and returned to the initiated state.</description>
  2740. </property>
  2741.  
  2742. <property>
  2743. <name>hive.compactor.check.interval</name>
  2744. <value>300</value>
  2745. <description>Time in seconds between checks to see if any partitions need compacted.
  2746. This should be kept high because each check for compaction requires many calls against the NameNode.</description>
  2747. </property>
  2748.  
  2749. <property>
  2750. <name>hive.compactor.delta.num.threshold</name>
  2751. <value>10</value>
  2752. <description>Number of delta files that must exist in a directory before the compactor will attempt a minor compaction.</description>
  2753. </property>
  2754.  
  2755. <property>
  2756. <name>hive.compactor.delta.pct.threshold</name>
  2757. <value>0.1</value>
  2758. <description>Percentage (by size) of base that deltas can be before major compaction is initiated.</description>
  2759. </property>
  2760.  
  2761. <property>
  2762. <name>hive.compactor.abortedtxn.threshold</name>
  2763. <value>1000</value>
  2764. <description>Number of aborted transactions involving a particular table or partition before major compaction is initiated.</description>
  2765. </property>
  2766.  
  2767.  
  2768.  
  2769. <property>
  2770. <name>mapreduce.jobtracker.address</name>
  2771. <value>ignore</value>
  2772. </property>
  2773. </configuration>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement