hive-default.xml 224 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348334933503351335233533354335533563357335833593360336133623363336433653366336733683369337033713372337333743375337633773378337933803381338233833384338533863387338833893390339133923393339433953396339733983399340034013402340334043405340634073408340934103411341234133414341534163417341834193420342134223423342434253426342734283429343034313432343334343435343634373438343934403441344234433444344534463447344834493450345134523453345434553456345734583459346034613462346334643465346634673468346934703471347234733474347534763477347834793480348134823483348434853486348734883489349034913492349334943495349634973498349935003501350235033504350535063507350835093510351135123513351435153516351735183519352035213522352335243525352635273528352935303531353235333534353535363537353835393540354135423543354435453546354735483549355035513552355335543555355635573558355935603561356235633564356535663567356835693570357135723573357435753576357735783579358035813582358335843585358635873588358935903591359235933594359535963597359835993600360136023603360436053606360736083609361036113612361336143615361636173618361936203621362236233624362536263627362836293630363136323633363436353636363736383639364036413642364336443645364636473648364936503651365236533654365536563657365836593660366136623663366436653666366736683669367036713672367336743675367636773678367936803681368236833684368536863687368836893690369136923693369436953696369736983699370037013702370337043705370637073708370937103711371237133714371537163717371837193720372137223723372437253726372737283729373037313732373337343735373637373738373937403741374237433744374537463747374837493750375137523753375437553756375737583759376037613762376337643765376637673768376937703771377237733774377537763777377837793780378137823783378437853786378737883789379037913792379337943795379637973798379938003801380238033804380538063807380838093810381138123813381438153816381738183819382038213822382338243825382638273828382938303831383238333834383538363837383838393840384138423843384438453846384738483849385038513852385338543855385638573858385938603861386238633864386538663867386838693870387138723873387438753876387738783879388038813882388338843885388638873888388938903891389238933894389538963897389838993900390139023903390439053906390739083909391039113912391339143915391639173918391939203921392239233924392539263927392839293930393139323933393439353936393739383939394039413942394339443945394639473948394939503951395239533954395539563957395839593960396139623963396439653966396739683969397039713972397339743975397639773978397939803981398239833984398539863987398839893990399139923993399439953996399739983999400040014002400340044005400640074008400940104011401240134014401540164017401840194020402140224023402440254026402740284029403040314032403340344035403640374038403940404041404240434044404540464047404840494050405140524053405440554056405740584059406040614062406340644065406640674068406940704071407240734074407540764077407840794080408140824083408440854086408740884089409040914092409340944095409640974098409941004101410241034104410541064107410841094110411141124113411441154116411741184119412041214122412341244125412641274128412941304131413241334134413541364137413841394140414141424143414441454146414741484149415041514152415341544155415641574158415941604161416241634164416541664167416841694170417141724173417441754176417741784179418041814182418341844185418641874188418941904191419241934194419541964197419841994200420142024203420442054206420742084209421042114212421342144215421642174218421942204221422242234224422542264227422842294230423142324233423442354236423742384239424042414242424342444245424642474248424942504251425242534254425542564257425842594260426142624263426442654266426742684269427042714272427342744275427642774278427942804281428242834284428542864287428842894290429142924293429442954296429742984299430043014302430343044305430643074308430943104311431243134314431543164317431843194320432143224323432443254326432743284329433043314332433343344335433643374338433943404341434243434344434543464347434843494350435143524353435443554356435743584359436043614362436343644365436643674368436943704371437243734374437543764377437843794380438143824383438443854386438743884389439043914392439343944395439643974398439944004401440244034404440544064407440844094410441144124413441444154416441744184419442044214422442344244425442644274428442944304431443244334434443544364437443844394440444144424443444444454446444744484449445044514452445344544455445644574458445944604461446244634464446544664467446844694470447144724473447444754476447744784479448044814482448344844485448644874488448944904491449244934494449544964497449844994500450145024503450445054506450745084509451045114512451345144515451645174518451945204521452245234524452545264527452845294530453145324533453445354536453745384539454045414542454345444545454645474548454945504551455245534554455545564557455845594560456145624563456445654566456745684569457045714572457345744575457645774578457945804581458245834584458545864587458845894590459145924593459445954596459745984599460046014602460346044605460646074608460946104611461246134614461546164617461846194620462146224623462446254626462746284629463046314632463346344635463646374638463946404641464246434644464546464647464846494650465146524653465446554656465746584659466046614662466346644665466646674668466946704671467246734674467546764677467846794680468146824683468446854686468746884689469046914692469346944695469646974698469947004701470247034704470547064707470847094710471147124713471447154716471747184719472047214722472347244725472647274728472947304731473247334734473547364737473847394740474147424743474447454746474747484749475047514752475347544755475647574758475947604761476247634764476547664767476847694770477147724773477447754776477747784779478047814782478347844785478647874788478947904791479247934794479547964797479847994800480148024803480448054806480748084809481048114812481348144815481648174818481948204821482248234824482548264827482848294830483148324833483448354836483748384839484048414842484348444845484648474848484948504851485248534854485548564857485848594860486148624863486448654866486748684869487048714872487348744875487648774878487948804881488248834884488548864887488848894890489148924893489448954896489748984899490049014902490349044905490649074908490949104911491249134914491549164917491849194920492149224923492449254926492749284929493049314932493349344935493649374938493949404941494249434944494549464947494849494950495149524953495449554956495749584959496049614962496349644965496649674968496949704971497249734974497549764977497849794980498149824983498449854986498749884989499049914992499349944995499649974998499950005001500250035004500550065007500850095010501150125013501450155016501750185019502050215022502350245025502650275028502950305031503250335034503550365037503850395040504150425043504450455046504750485049505050515052505350545055505650575058505950605061506250635064506550665067506850695070507150725073507450755076507750785079508050815082508350845085508650875088508950905091509250935094509550965097509850995100510151025103510451055106510751085109511051115112511351145115511651175118511951205121512251235124512551265127512851295130513151325133513451355136513751385139514051415142514351445145514651475148514951505151515251535154515551565157515851595160516151625163516451655166516751685169517051715172517351745175517651775178517951805181518251835184518551865187518851895190519151925193519451955196519751985199520052015202520352045205520652075208520952105211521252135214521552165217521852195220522152225223522452255226522752285229523052315232523352345235523652375238523952405241524252435244524552465247524852495250525152525253525452555256525752585259526052615262526352645265526652675268526952705271527252735274527552765277527852795280528152825283528452855286528752885289529052915292529352945295529652975298529953005301530253035304530553065307530853095310531153125313531453155316531753185319532053215322532353245325532653275328532953305331533253335334533553365337533853395340534153425343534453455346534753485349
  1. <?xml version="1.0" encoding="UTF-8" standalone="no"?>
  2. <?xml-stylesheet type="text/xsl" href="configuration.xsl"?><!--
  3. Licensed to the Apache Software Foundation (ASF) under one or more
  4. contributor license agreements. See the NOTICE file distributed with
  5. this work for additional information regarding copyright ownership.
  6. The ASF licenses this file to You under the Apache License, Version 2.0
  7. (the "License"); you may not use this file except in compliance with
  8. the License. You may obtain a copy of the License at
  9. http://www.apache.org/licenses/LICENSE-2.0
  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.
  15. --><configuration>
  16. <!-- WARNING!!! This file is auto generated for documentation purposes ONLY! -->
  17. <!-- WARNING!!! Any changes you make to this file will be ignored by Hive. -->
  18. <!-- WARNING!!! You must make your changes in hive-site.xml instead. -->
  19. <!-- Hive Execution Parameters -->
  20. <property>
  21. <name>hive.exec.script.wrapper</name>
  22. <value/>
  23. <description/>
  24. </property>
  25. <property>
  26. <name>hive.exec.plan</name>
  27. <value/>
  28. <description/>
  29. </property>
  30. <property>
  31. <name>hive.exec.stagingdir</name>
  32. <value>.hive-staging</value>
  33. <description>Directory name that will be created inside table locations in order to support HDFS encryption. This is replaces ${hive.exec.scratchdir} for query results with the exception of read-only tables. In all cases ${hive.exec.scratchdir} is still used for other temporary files, such as job plans.</description>
  34. </property>
  35. <property>
  36. <name>hive.exec.scratchdir</name>
  37. <value>/tmp/hive</value>
  38. <description>HDFS root scratch dir for Hive jobs which gets created with write all (733) permission. For each connecting user, an HDFS scratch dir: ${hive.exec.scratchdir}/&lt;username&gt; is created, with ${hive.scratch.dir.permission}.</description>
  39. </property>
  40. <property>
  41. <name>hive.exec.local.scratchdir</name>
  42. <value>${system:java.io.tmpdir}/${system:user.name}</value>
  43. <description>Local scratch space for Hive jobs</description>
  44. </property>
  45. <property>
  46. <name>hive.downloaded.resources.dir</name>
  47. <value>${system:java.io.tmpdir}/${hive.session.id}_resources</value>
  48. <description>Temporary local directory for added resources in the remote file system.</description>
  49. </property>
  50. <property>
  51. <name>hive.scratch.dir.permission</name>
  52. <value>700</value>
  53. <description>The permission for the user specific scratch directories that get created.</description>
  54. </property>
  55. <property>
  56. <name>hive.exec.submitviachild</name>
  57. <value>false</value>
  58. <description/>
  59. </property>
  60. <property>
  61. <name>hive.exec.submit.local.task.via.child</name>
  62. <value>true</value>
  63. <description>
  64. Determines whether local tasks (typically mapjoin hashtable generation phase) runs in
  65. separate JVM (true recommended) or not.
  66. Avoids the overhead of spawning new JVM, but can lead to out-of-memory issues.
  67. </description>
  68. </property>
  69. <property>
  70. <name>hive.exec.script.maxerrsize</name>
  71. <value>100000</value>
  72. <description>
  73. Maximum number of bytes a script is allowed to emit to standard error (per map-reduce task).
  74. This prevents runaway scripts from filling logs partitions to capacity
  75. </description>
  76. </property>
  77. <property>
  78. <name>hive.exec.script.allow.partial.consumption</name>
  79. <value>false</value>
  80. <description>
  81. When enabled, this option allows a user script to exit successfully without consuming
  82. all the data from the standard input.
  83. </description>
  84. </property>
  85. <property>
  86. <name>stream.stderr.reporter.prefix</name>
  87. <value>reporter:</value>
  88. <description>Streaming jobs that log to standard error with this prefix can log counter or status information.</description>
  89. </property>
  90. <property>
  91. <name>stream.stderr.reporter.enabled</name>
  92. <value>true</value>
  93. <description>Enable consumption of status and counter messages for streaming jobs.</description>
  94. </property>
  95. <property>
  96. <name>hive.exec.compress.output</name>
  97. <value>false</value>
  98. <description>
  99. This controls whether the final outputs of a query (to a local/HDFS file or a Hive table) is compressed.
  100. The compression codec and other options are determined from Hadoop config variables mapred.output.compress*
  101. </description>
  102. </property>
  103. <property>
  104. <name>hive.exec.compress.intermediate</name>
  105. <value>false</value>
  106. <description>
  107. This controls whether intermediate files produced by Hive between multiple map-reduce jobs are compressed.
  108. The compression codec and other options are determined from Hadoop config variables mapred.output.compress*
  109. </description>
  110. </property>
  111. <property>
  112. <name>hive.intermediate.compression.codec</name>
  113. <value/>
  114. <description/>
  115. </property>
  116. <property>
  117. <name>hive.intermediate.compression.type</name>
  118. <value/>
  119. <description/>
  120. </property>
  121. <property>
  122. <name>hive.exec.reducers.bytes.per.reducer</name>
  123. <value>256000000</value>
  124. <description>size per reducer.The default is 256Mb, i.e if the input size is 1G, it will use 4 reducers.</description>
  125. </property>
  126. <property>
  127. <name>hive.exec.reducers.max</name>
  128. <value>1009</value>
  129. <description>
  130. max number of reducers will be used. If the one specified in the configuration parameter mapred.reduce.tasks is
  131. negative, Hive will use this one as the max number of reducers when automatically determine number of reducers.
  132. </description>
  133. </property>
  134. <property>
  135. <name>hive.exec.pre.hooks</name>
  136. <value/>
  137. <description>
  138. Comma-separated list of pre-execution hooks to be invoked for each statement.
  139. A pre-execution hook is specified as the name of a Java class which implements the
  140. org.apache.hadoop.hive.ql.hooks.ExecuteWithHookContext interface.
  141. </description>
  142. </property>
  143. <property>
  144. <name>hive.exec.post.hooks</name>
  145. <value/>
  146. <description>
  147. Comma-separated list of post-execution hooks to be invoked for each statement.
  148. A post-execution hook is specified as the name of a Java class which implements the
  149. org.apache.hadoop.hive.ql.hooks.ExecuteWithHookContext interface.
  150. </description>
  151. </property>
  152. <property>
  153. <name>hive.exec.failure.hooks</name>
  154. <value/>
  155. <description>
  156. Comma-separated list of on-failure hooks to be invoked for each statement.
  157. An on-failure hook is specified as the name of Java class which implements the
  158. org.apache.hadoop.hive.ql.hooks.ExecuteWithHookContext interface.
  159. </description>
  160. </property>
  161. <property>
  162. <name>hive.exec.query.redactor.hooks</name>
  163. <value/>
  164. <description>
  165. Comma-separated list of hooks to be invoked for each query which can
  166. tranform the query before it's placed in the job.xml file. Must be a Java class which
  167. extends from the org.apache.hadoop.hive.ql.hooks.Redactor abstract class.
  168. </description>
  169. </property>
  170. <property>
  171. <name>hive.client.stats.publishers</name>
  172. <value/>
  173. <description>
  174. Comma-separated list of statistics publishers to be invoked on counters on each job.
  175. A client stats publisher is specified as the name of a Java class which implements the
  176. org.apache.hadoop.hive.ql.stats.ClientStatsPublisher interface.
  177. </description>
  178. </property>
  179. <property>
  180. <name>hive.exec.parallel</name>
  181. <value>false</value>
  182. <description>Whether to execute jobs in parallel</description>
  183. </property>
  184. <property>
  185. <name>hive.exec.parallel.thread.number</name>
  186. <value>8</value>
  187. <description>How many jobs at most can be executed in parallel</description>
  188. </property>
  189. <property>
  190. <name>hive.mapred.reduce.tasks.speculative.execution</name>
  191. <value>true</value>
  192. <description>Whether speculative execution for reducers should be turned on. </description>
  193. </property>
  194. <property>
  195. <name>hive.exec.counters.pull.interval</name>
  196. <value>1000</value>
  197. <description>
  198. The interval with which to poll the JobTracker for the counters the running job.
  199. The smaller it is the more load there will be on the jobtracker, the higher it is the less granular the caught will be.
  200. </description>
  201. </property>
  202. <property>
  203. <name>hive.exec.dynamic.partition</name>
  204. <value>true</value>
  205. <description>Whether or not to allow dynamic partitions in DML/DDL.</description>
  206. </property>
  207. <property>
  208. <name>hive.exec.dynamic.partition.mode</name>
  209. <value>strict</value>
  210. <description>
  211. In strict mode, the user must specify at least one static partition
  212. in case the user accidentally overwrites all partitions.
  213. In nonstrict mode all partitions are allowed to be dynamic.
  214. </description>
  215. </property>
  216. <property>
  217. <name>hive.exec.max.dynamic.partitions</name>
  218. <value>1000</value>
  219. <description>Maximum number of dynamic partitions allowed to be created in total.</description>
  220. </property>
  221. <property>
  222. <name>hive.exec.max.dynamic.partitions.pernode</name>
  223. <value>100</value>
  224. <description>Maximum number of dynamic partitions allowed to be created in each mapper/reducer node.</description>
  225. </property>
  226. <property>
  227. <name>hive.exec.max.created.files</name>
  228. <value>100000</value>
  229. <description>Maximum number of HDFS files created by all mappers/reducers in a MapReduce job.</description>
  230. </property>
  231. <property>
  232. <name>hive.exec.default.partition.name</name>
  233. <value>__HIVE_DEFAULT_PARTITION__</value>
  234. <description>
  235. The default partition name in case the dynamic partition column value is null/empty string or any other values that cannot be escaped.
  236. This value must not contain any special character used in HDFS URI (e.g., ':', '%', '/' etc).
  237. The user has to be aware that the dynamic partition value should not contain this value to avoid confusions.
  238. </description>
  239. </property>
  240. <property>
  241. <name>hive.lockmgr.zookeeper.default.partition.name</name>
  242. <value>__HIVE_DEFAULT_ZOOKEEPER_PARTITION__</value>
  243. <description/>
  244. </property>
  245. <property>
  246. <name>hive.exec.show.job.failure.debug.info</name>
  247. <value>true</value>
  248. <description>
  249. If a job fails, whether to provide a link in the CLI to the task with the
  250. most failures, along with debugging hints if applicable.
  251. </description>
  252. </property>
  253. <property>
  254. <name>hive.exec.job.debug.capture.stacktraces</name>
  255. <value>true</value>
  256. <description>
  257. Whether or not stack traces parsed from the task logs of a sampled failed task
  258. for each failed job should be stored in the SessionState
  259. </description>
  260. </property>
  261. <property>
  262. <name>hive.exec.job.debug.timeout</name>
  263. <value>30000</value>
  264. <description/>
  265. </property>
  266. <property>
  267. <name>hive.exec.tasklog.debug.timeout</name>
  268. <value>20000</value>
  269. <description/>
  270. </property>
  271. <property>
  272. <name>hive.output.file.extension</name>
  273. <value/>
  274. <description>
  275. String used as a file extension for output files.
  276. If not set, defaults to the codec extension for text files (e.g. ".gz"), or no extension otherwise.
  277. </description>
  278. </property>
  279. <property>
  280. <name>hive.exec.mode.local.auto</name>
  281. <value>false</value>
  282. <description>Let Hive determine whether to run in local mode automatically</description>
  283. </property>
  284. <property>
  285. <name>hive.exec.mode.local.auto.inputbytes.max</name>
  286. <value>134217728</value>
  287. <description>When hive.exec.mode.local.auto is true, input bytes should less than this for local mode.</description>
  288. </property>
  289. <property>
  290. <name>hive.exec.mode.local.auto.input.files.max</name>
  291. <value>4</value>
  292. <description>When hive.exec.mode.local.auto is true, the number of tasks should less than this for local mode.</description>
  293. </property>
  294. <property>
  295. <name>hive.exec.drop.ignorenonexistent</name>
  296. <value>true</value>
  297. <description>Do not report an error if DROP TABLE/VIEW/Index/Function specifies a non-existent table/view/index/function</description>
  298. </property>
  299. <property>
  300. <name>hive.ignore.mapjoin.hint</name>
  301. <value>true</value>
  302. <description>Ignore the mapjoin hint</description>
  303. </property>
  304. <property>
  305. <name>hive.file.max.footer</name>
  306. <value>100</value>
  307. <description>maximum number of lines for footer user can define for a table file</description>
  308. </property>
  309. <property>
  310. <name>hive.resultset.use.unique.column.names</name>
  311. <value>true</value>
  312. <description>
  313. Make column names unique in the result set by qualifying column names with table alias if needed.
  314. Table alias will be added to column names for queries of type "select *" or
  315. if query explicitly uses table alias "select r1.x..".
  316. </description>
  317. </property>
  318. <property>
  319. <name>fs.har.impl</name>
  320. <value>org.apache.hadoop.hive.shims.HiveHarFileSystem</value>
  321. <description>The implementation for accessing Hadoop Archives. Note that this won't be applicable to Hadoop versions less than 0.20</description>
  322. </property>
  323. <property>
  324. <name>hive.metastore.warehouse.dir</name>
  325. <value>/user/hive/warehouse</value>
  326. <description>location of default database for the warehouse</description>
  327. </property>
  328. <property>
  329. <name>hive.metastore.uris</name>
  330. <value/>
  331. <description>Thrift URI for the remote metastore. Used by metastore client to connect to remote metastore.</description>
  332. </property>
  333. <property>
  334. <name>hive.metastore.fastpath</name>
  335. <value>false</value>
  336. <description>Used to avoid all of the proxies and object copies in the metastore. Note, if this is set, you MUST use a local metastore (hive.metastore.uris must be empty) otherwise undefined and most likely undesired behavior will result</description>
  337. </property>
  338. <property>
  339. <name>hive.metastore.fshandler.threads</name>
  340. <value>20</value>
  341. <description>Number of threads to be allocated for metastore handler for fs operations.</description>
  342. </property>
  343. <property>
  344. <name>hive.metastore.hbase.catalog.cache.size</name>
  345. <value>50000</value>
  346. <description>Maximum number of objects we will place in the hbase metastore catalog cache. The objects will be divided up by types that we need to cache.</description>
  347. </property>
  348. <property>
  349. <name>hive.metastore.hbase.aggregate.stats.cache.size</name>
  350. <value>10000</value>
  351. <description>Maximum number of aggregate stats nodes that we will place in the hbase metastore aggregate stats cache.</description>
  352. </property>
  353. <property>
  354. <name>hive.metastore.hbase.aggregate.stats.max.partitions</name>
  355. <value>10000</value>
  356. <description>Maximum number of partitions that are aggregated per cache node.</description>
  357. </property>
  358. <property>
  359. <name>hive.metastore.hbase.aggregate.stats.false.positive.probability</name>
  360. <value>0.01</value>
  361. <description>Maximum false positive probability for the Bloom Filter used in each aggregate stats cache node (default 1%).</description>
  362. </property>
  363. <property>
  364. <name>hive.metastore.hbase.aggregate.stats.max.variance</name>
  365. <value>0.1</value>
  366. <description>Maximum tolerable variance in number of partitions between a cached node and our request (default 10%).</description>
  367. </property>
  368. <property>
  369. <name>hive.metastore.hbase.cache.ttl</name>
  370. <value>600s</value>
  371. <description>
  372. Expects a time value with unit (d/day, h/hour, m/min, s/sec, ms/msec, us/usec, ns/nsec), which is sec if not specified.
  373. Number of seconds for a cached node to be active in the cache before they become stale.
  374. </description>
  375. </property>
  376. <property>
  377. <name>hive.metastore.hbase.cache.max.writer.wait</name>
  378. <value>5000ms</value>
  379. <description>
  380. Expects a time value with unit (d/day, h/hour, m/min, s/sec, ms/msec, us/usec, ns/nsec), which is msec if not specified.
  381. Number of milliseconds a writer will wait to acquire the writelock before giving up.
  382. </description>
  383. </property>
  384. <property>
  385. <name>hive.metastore.hbase.cache.max.reader.wait</name>
  386. <value>1000ms</value>
  387. <description>
  388. Expects a time value with unit (d/day, h/hour, m/min, s/sec, ms/msec, us/usec, ns/nsec), which is msec if not specified.
  389. Number of milliseconds a reader will wait to acquire the readlock before giving up.
  390. </description>
  391. </property>
  392. <property>
  393. <name>hive.metastore.hbase.cache.max.full</name>
  394. <value>0.9</value>
  395. <description>Maximum cache full % after which the cache cleaner thread kicks in.</description>
  396. </property>
  397. <property>
  398. <name>hive.metastore.hbase.cache.clean.until</name>
  399. <value>0.8</value>
  400. <description>The cleaner thread cleans until cache reaches this % full size.</description>
  401. </property>
  402. <property>
  403. <name>hive.metastore.hbase.connection.class</name>
  404. <value>org.apache.hadoop.hive.metastore.hbase.VanillaHBaseConnection</value>
  405. <description>Class used to connection to HBase</description>
  406. </property>
  407. <property>
  408. <name>hive.metastore.hbase.aggr.stats.cache.entries</name>
  409. <value>10000</value>
  410. <description>How many in stats objects to cache in memory</description>
  411. </property>
  412. <property>
  413. <name>hive.metastore.hbase.aggr.stats.memory.ttl</name>
  414. <value>60s</value>
  415. <description>
  416. Expects a time value with unit (d/day, h/hour, m/min, s/sec, ms/msec, us/usec, ns/nsec), which is sec if not specified.
  417. Number of seconds stats objects live in memory after they are read from HBase.
  418. </description>
  419. </property>
  420. <property>
  421. <name>hive.metastore.hbase.aggr.stats.invalidator.frequency</name>
  422. <value>5s</value>
  423. <description>
  424. Expects a time value with unit (d/day, h/hour, m/min, s/sec, ms/msec, us/usec, ns/nsec), which is sec if not specified.
  425. How often the stats cache scans its HBase entries and looks for expired entries
  426. </description>
  427. </property>
  428. <property>
  429. <name>hive.metastore.hbase.aggr.stats.hbase.ttl</name>
  430. <value>604800s</value>
  431. <description>
  432. Expects a time value with unit (d/day, h/hour, m/min, s/sec, ms/msec, us/usec, ns/nsec), which is sec if not specified.
  433. Number of seconds stats entries live in HBase cache after they are created. They may be invalided by updates or partition drops before this. Default is one week.
  434. </description>
  435. </property>
  436. <property>
  437. <name>hive.metastore.hbase.file.metadata.threads</name>
  438. <value>1</value>
  439. <description>Number of threads to use to read file metadata in background to cache it.</description>
  440. </property>
  441. <property>
  442. <name>hive.metastore.connect.retries</name>
  443. <value>3</value>
  444. <description>Number of retries while opening a connection to metastore</description>
  445. </property>
  446. <property>
  447. <name>hive.metastore.failure.retries</name>
  448. <value>1</value>
  449. <description>Number of retries upon failure of Thrift metastore calls</description>
  450. </property>
  451. <property>
  452. <name>hive.metastore.port</name>
  453. <value>9083</value>
  454. <description>Hive metastore listener port</description>
  455. </property>
  456. <property>
  457. <name>hive.metastore.client.connect.retry.delay</name>
  458. <value>1s</value>
  459. <description>
  460. Expects a time value with unit (d/day, h/hour, m/min, s/sec, ms/msec, us/usec, ns/nsec), which is sec if not specified.
  461. Number of seconds for the client to wait between consecutive connection attempts
  462. </description>
  463. </property>
  464. <property>
  465. <name>hive.metastore.client.socket.timeout</name>
  466. <value>600s</value>
  467. <description>
  468. Expects a time value with unit (d/day, h/hour, m/min, s/sec, ms/msec, us/usec, ns/nsec), which is sec if not specified.
  469. MetaStore Client socket timeout in seconds
  470. </description>
  471. </property>
  472. <property>
  473. <name>hive.metastore.client.socket.lifetime</name>
  474. <value>0s</value>
  475. <description>
  476. Expects a time value with unit (d/day, h/hour, m/min, s/sec, ms/msec, us/usec, ns/nsec), which is sec if not specified.
  477. MetaStore Client socket lifetime in seconds. After this time is exceeded, client
  478. reconnects on the next MetaStore operation. A value of 0s means the connection
  479. has an infinite lifetime.
  480. </description>
  481. </property>
  482. <property>
  483. <name>javax.jdo.option.ConnectionPassword</name>
  484. <value>mine</value>
  485. <description>password to use against metastore database</description>
  486. </property>
  487. <property>
  488. <name>hive.metastore.ds.connection.url.hook</name>
  489. <value/>
  490. <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>
  491. </property>
  492. <property>
  493. <name>javax.jdo.option.Multithreaded</name>
  494. <value>true</value>
  495. <description>Set this to true if multiple threads access metastore through JDO concurrently.</description>
  496. </property>
  497. <property>
  498. <name>javax.jdo.option.ConnectionURL</name>
  499. <value>jdbc:derby:;databaseName=metastore_db;create=true</value>
  500. <description>
  501. JDBC connect string for a JDBC metastore.
  502. To use SSL to encrypt/authenticate the connection, provide database-specific SSL flag in the connection URL.
  503. For example, jdbc:postgresql://myhost/db?ssl=true for postgres database.
  504. </description>
  505. </property>
  506. <property>
  507. <name>hive.metastore.dbaccess.ssl.properties</name>
  508. <value/>
  509. <description>
  510. Comma-separated SSL properties for metastore to access database when JDO connection URL
  511. enables SSL access. e.g. javax.net.ssl.trustStore=/tmp/truststore,javax.net.ssl.trustStorePassword=pwd.
  512. </description>
  513. </property>
  514. <property>
  515. <name>hive.hmshandler.retry.attempts</name>
  516. <value>10</value>
  517. <description>The number of times to retry a HMSHandler call if there were a connection error.</description>
  518. </property>
  519. <property>
  520. <name>hive.hmshandler.retry.interval</name>
  521. <value>2000ms</value>
  522. <description>
  523. Expects a time value with unit (d/day, h/hour, m/min, s/sec, ms/msec, us/usec, ns/nsec), which is msec if not specified.
  524. The time between HMSHandler retry attempts on failure.
  525. </description>
  526. </property>
  527. <property>
  528. <name>hive.hmshandler.force.reload.conf</name>
  529. <value>false</value>
  530. <description>
  531. Whether to force reloading of the HMSHandler configuration (including
  532. the connection URL, before the next metastore query that accesses the
  533. datastore. Once reloaded, this value is reset to false. Used for
  534. testing only.
  535. </description>
  536. </property>
  537. <property>
  538. <name>hive.metastore.server.max.message.size</name>
  539. <value>104857600</value>
  540. <description>Maximum message size in bytes a HMS will accept.</description>
  541. </property>
  542. <property>
  543. <name>hive.metastore.server.min.threads</name>
  544. <value>200</value>
  545. <description>Minimum number of worker threads in the Thrift server's pool.</description>
  546. </property>
  547. <property>
  548. <name>hive.metastore.server.max.threads</name>
  549. <value>1000</value>
  550. <description>Maximum number of worker threads in the Thrift server's pool.</description>
  551. </property>
  552. <property>
  553. <name>hive.metastore.server.tcp.keepalive</name>
  554. <value>true</value>
  555. <description>Whether to enable TCP keepalive for the metastore server. Keepalive will prevent accumulation of half-open connections.</description>
  556. </property>
  557. <property>
  558. <name>hive.metastore.archive.intermediate.original</name>
  559. <value>_INTERMEDIATE_ORIGINAL</value>
  560. <description>
  561. Intermediate dir suffixes used for archiving. Not important what they
  562. are, as long as collisions are avoided
  563. </description>
  564. </property>
  565. <property>
  566. <name>hive.metastore.archive.intermediate.archived</name>
  567. <value>_INTERMEDIATE_ARCHIVED</value>
  568. <description/>
  569. </property>
  570. <property>
  571. <name>hive.metastore.archive.intermediate.extracted</name>
  572. <value>_INTERMEDIATE_EXTRACTED</value>
  573. <description/>
  574. </property>
  575. <property>
  576. <name>hive.metastore.kerberos.keytab.file</name>
  577. <value/>
  578. <description>The path to the Kerberos Keytab file containing the metastore Thrift server's service principal.</description>
  579. </property>
  580. <property>
  581. <name>hive.metastore.kerberos.principal</name>
  582. <value>hive-metastore/_HOST@EXAMPLE.COM</value>
  583. <description>
  584. The service principal for the metastore Thrift server.
  585. The special string _HOST will be replaced automatically with the correct host name.
  586. </description>
  587. </property>
  588. <property>
  589. <name>hive.metastore.sasl.enabled</name>
  590. <value>false</value>
  591. <description>If true, the metastore Thrift interface will be secured with SASL. Clients must authenticate with Kerberos.</description>
  592. </property>
  593. <property>
  594. <name>hive.metastore.thrift.framed.transport.enabled</name>
  595. <value>false</value>
  596. <description>If true, the metastore Thrift interface will use TFramedTransport. When false (default) a standard TTransport is used.</description>
  597. </property>
  598. <property>
  599. <name>hive.metastore.thrift.compact.protocol.enabled</name>
  600. <value>false</value>
  601. <description>
  602. If true, the metastore Thrift interface will use TCompactProtocol. When false (default) TBinaryProtocol will be used.
  603. Setting it to true will break compatibility with older clients running TBinaryProtocol.
  604. </description>
  605. </property>
  606. <property>
  607. <name>hive.metastore.token.signature</name>
  608. <value/>
  609. <description>The delegation token service name to match when selecting a token from the current user's tokens.</description>
  610. </property>
  611. <property>
  612. <name>hive.cluster.delegation.token.store.class</name>
  613. <value>org.apache.hadoop.hive.thrift.MemoryTokenStore</value>
  614. <description>The delegation token store implementation. Set to org.apache.hadoop.hive.thrift.ZooKeeperTokenStore for load-balanced cluster.</description>
  615. </property>
  616. <property>
  617. <name>hive.cluster.delegation.token.store.zookeeper.connectString</name>
  618. <value/>
  619. <description>
  620. The ZooKeeper token store connect string. You can re-use the configuration value
  621. set in hive.zookeeper.quorum, by leaving this parameter unset.
  622. </description>
  623. </property>
  624. <property>
  625. <name>hive.cluster.delegation.token.store.zookeeper.znode</name>
  626. <value>/hivedelegation</value>
  627. <description>
  628. The root path for token store data. Note that this is used by both HiveServer2 and
  629. MetaStore to store delegation Token. One directory gets created for each of them.
  630. The final directory names would have the servername appended to it (HIVESERVER2,
  631. METASTORE).
  632. </description>
  633. </property>
  634. <property>
  635. <name>hive.cluster.delegation.token.store.zookeeper.acl</name>
  636. <value/>
  637. <description>
  638. ACL for token store entries. Comma separated list of ACL entries. For example:
  639. sasl:hive/host1@MY.DOMAIN:cdrwa,sasl:hive/host2@MY.DOMAIN:cdrwa
  640. Defaults to all permissions for the hiveserver2/metastore process user.
  641. </description>
  642. </property>
  643. <property>
  644. <name>hive.metastore.cache.pinobjtypes</name>
  645. <value>Table,StorageDescriptor,SerDeInfo,Partition,Database,Type,FieldSchema,Order</value>
  646. <description>List of comma separated metastore object types that should be pinned in the cache</description>
  647. </property>
  648. <property>
  649. <name>datanucleus.connectionPoolingType</name>
  650. <value>BONECP</value>
  651. <description>Specify connection pool library for datanucleus</description>
  652. </property>
  653. <property>
  654. <name>datanucleus.rdbms.initializeColumnInfo</name>
  655. <value>NONE</value>
  656. <description>initializeColumnInfo setting for DataNucleus; set to NONE at least on Postgres.</description>
  657. </property>
  658. <property>
  659. <name>datanucleus.schema.validateTables</name>
  660. <value>false</value>
  661. <description>validates existing schema against code. turn this on if you want to verify existing schema</description>
  662. </property>
  663. <property>
  664. <name>datanucleus.schema.validateColumns</name>
  665. <value>false</value>
  666. <description>validates existing schema against code. turn this on if you want to verify existing schema</description>
  667. </property>
  668. <property>
  669. <name>datanucleus.schema.validateConstraints</name>
  670. <value>false</value>
  671. <description>validates existing schema against code. turn this on if you want to verify existing schema</description>
  672. </property>
  673. <property>
  674. <name>datanucleus.storeManagerType</name>
  675. <value>rdbms</value>
  676. <description>metadata store type</description>
  677. </property>
  678. <property>
  679. <name>datanucleus.schema.autoCreateAll</name>
  680. <value>false</value>
  681. <description>Auto creates necessary schema on a startup if one doesn't exist. Set this to false, after creating it once.To enable auto create also set hive.metastore.schema.verification=false. Auto creation is not recommended for production use cases, run schematool command instead.</description>
  682. </property>
  683. <property>
  684. <name>hive.metastore.schema.verification</name>
  685. <value>true</value>
  686. <description>
  687. Enforce metastore schema version consistency.
  688. True: Verify that version information stored in is compatible with one from Hive jars. Also disable automatic
  689. schema migration attempt. Users are required to manually migrate schema after Hive upgrade which ensures
  690. proper metastore schema migration. (Default)
  691. False: Warn if the version information stored in metastore doesn't match with one from in Hive jars.
  692. </description>
  693. </property>
  694. <property>
  695. <name>hive.metastore.schema.verification.record.version</name>
  696. <value>false</value>
  697. <description>
  698. When true the current MS version is recorded in the VERSION table. If this is disabled and verification is
  699. enabled the MS will be unusable.
  700. </description>
  701. </property>
  702. <property>
  703. <name>datanucleus.transactionIsolation</name>
  704. <value>read-committed</value>
  705. <description>Default transaction isolation level for identity generation.</description>
  706. </property>
  707. <property>
  708. <name>datanucleus.cache.level2</name>
  709. <value>false</value>
  710. <description>Use a level 2 cache. Turn this off if metadata is changed independently of Hive metastore server</description>
  711. </property>
  712. <property>
  713. <name>datanucleus.cache.level2.type</name>
  714. <value>none</value>
  715. <description/>
  716. </property>
  717. <property>
  718. <name>datanucleus.identifierFactory</name>
  719. <value>datanucleus1</value>
  720. <description>
  721. Name of the identifier factory to use when generating table/column names etc.
  722. 'datanucleus1' is used for backward compatibility with DataNucleus v1
  723. </description>
  724. </property>
  725. <property>
  726. <name>datanucleus.rdbms.useLegacyNativeValueStrategy</name>
  727. <value>true</value>
  728. <description/>
  729. </property>
  730. <property>
  731. <name>datanucleus.plugin.pluginRegistryBundleCheck</name>
  732. <value>LOG</value>
  733. <description>Defines what happens when plugin bundles are found and are duplicated [EXCEPTION|LOG|NONE]</description>
  734. </property>
  735. <property>
  736. <name>hive.metastore.batch.retrieve.max</name>
  737. <value>300</value>
  738. <description>
  739. Maximum number of objects (tables/partitions) can be retrieved from metastore in one batch.
  740. The higher the number, the less the number of round trips is needed to the Hive metastore server,
  741. but it may also cause higher memory requirement at the client side.
  742. </description>
  743. </property>
  744. <property>
  745. <name>hive.metastore.batch.retrieve.table.partition.max</name>
  746. <value>1000</value>
  747. <description>Maximum number of objects that metastore internally retrieves in one batch.</description>
  748. </property>
  749. <property>
  750. <name>hive.metastore.init.hooks</name>
  751. <value/>
  752. <description>
  753. A comma separated list of hooks to be invoked at the beginning of HMSHandler initialization.
  754. An init hook is specified as the name of Java class which extends org.apache.hadoop.hive.metastore.MetaStoreInitListener.
  755. </description>
  756. </property>
  757. <property>
  758. <name>hive.metastore.pre.event.listeners</name>
  759. <value/>
  760. <description>List of comma separated listeners for metastore events.</description>
  761. </property>
  762. <property>
  763. <name>hive.metastore.event.listeners</name>
  764. <value/>
  765. <description/>
  766. </property>
  767. <property>
  768. <name>hive.metastore.event.db.listener.timetolive</name>
  769. <value>86400s</value>
  770. <description>
  771. Expects a time value with unit (d/day, h/hour, m/min, s/sec, ms/msec, us/usec, ns/nsec), which is sec if not specified.
  772. time after which events will be removed from the database listener queue
  773. </description>
  774. </property>
  775. <property>
  776. <name>hive.metastore.authorization.storage.checks</name>
  777. <value>false</value>
  778. <description>
  779. Should the metastore do authorization checks against the underlying storage (usually hdfs)
  780. for operations like drop-partition (disallow the drop-partition if the user in
  781. question doesn't have permissions to delete the corresponding directory
  782. on the storage).
  783. </description>
  784. </property>
  785. <property>
  786. <name>hive.metastore.event.clean.freq</name>
  787. <value>0s</value>
  788. <description>
  789. Expects a time value with unit (d/day, h/hour, m/min, s/sec, ms/msec, us/usec, ns/nsec), which is sec if not specified.
  790. Frequency at which timer task runs to purge expired events in metastore.
  791. </description>
  792. </property>
  793. <property>
  794. <name>hive.metastore.event.expiry.duration</name>
  795. <value>0s</value>
  796. <description>
  797. Expects a time value with unit (d/day, h/hour, m/min, s/sec, ms/msec, us/usec, ns/nsec), which is sec if not specified.
  798. Duration after which events expire from events table
  799. </description>
  800. </property>
  801. <property>
  802. <name>hive.metastore.execute.setugi</name>
  803. <value>true</value>
  804. <description>
  805. In unsecure mode, setting this property to true will cause the metastore to execute DFS operations using
  806. the client's reported user and group permissions. Note that this property must be set on
  807. both the client and server sides. Further note that its best effort.
  808. If client sets its to true and server sets it to false, client setting will be ignored.
  809. </description>
  810. </property>
  811. <property>
  812. <name>hive.metastore.partition.name.whitelist.pattern</name>
  813. <value/>
  814. <description>Partition names will be checked against this regex pattern and rejected if not matched.</description>
  815. </property>
  816. <property>
  817. <name>hive.metastore.integral.jdo.pushdown</name>
  818. <value>false</value>
  819. <description>
  820. Allow JDO query pushdown for integral partition columns in metastore. Off by default. This
  821. improves metastore perf for integral columns, especially if there's a large number of partitions.
  822. However, it doesn't work correctly with integral values that are not normalized (e.g. have
  823. leading zeroes, like 0012). If metastore direct SQL is enabled and works, this optimization
  824. is also irrelevant.
  825. </description>
  826. </property>
  827. <property>
  828. <name>hive.metastore.try.direct.sql</name>
  829. <value>true</value>
  830. <description>
  831. Whether the Hive metastore should try to use direct SQL queries instead of the
  832. DataNucleus for certain read paths. This can improve metastore performance when
  833. fetching many partitions or column statistics by orders of magnitude; however, it
  834. is not guaranteed to work on all RDBMS-es and all versions. In case of SQL failures,
  835. the metastore will fall back to the DataNucleus, so it's safe even if SQL doesn't
  836. work for all queries on your datastore. If all SQL queries fail (for example, your
  837. metastore is backed by MongoDB), you might want to disable this to save the
  838. try-and-fall-back cost.
  839. </description>
  840. </property>
  841. <property>
  842. <name>hive.metastore.direct.sql.batch.size</name>
  843. <value>0</value>
  844. <description>
  845. Batch size for partition and other object retrieval from the underlying DB in direct
  846. SQL. For some DBs like Oracle and MSSQL, there are hardcoded or perf-based limitations
  847. that necessitate this. For DBs that can handle the queries, this isn't necessary and
  848. may impede performance. -1 means no batching, 0 means automatic batching.
  849. </description>
  850. </property>
  851. <property>
  852. <name>hive.metastore.try.direct.sql.ddl</name>
  853. <value>true</value>
  854. <description>
  855. Same as hive.metastore.try.direct.sql, for read statements within a transaction that
  856. modifies metastore data. Due to non-standard behavior in Postgres, if a direct SQL
  857. select query has incorrect syntax or something similar inside a transaction, the
  858. entire transaction will fail and fall-back to DataNucleus will not be possible. You
  859. should disable the usage of direct SQL inside transactions if that happens in your case.
  860. </description>
  861. </property>
  862. <property>
  863. <name>hive.direct.sql.max.query.length</name>
  864. <value>100</value>
  865. <description>
  866. The maximum
  867. size of a query string (in KB).
  868. </description>
  869. </property>
  870. <property>
  871. <name>hive.direct.sql.max.elements.in.clause</name>
  872. <value>1000</value>
  873. <description>
  874. The maximum number of values in a IN clause. Once exceeded, it will be broken into
  875. multiple OR separated IN clauses.
  876. </description>
  877. </property>
  878. <property>
  879. <name>hive.direct.sql.max.elements.values.clause</name>
  880. <value>1000</value>
  881. <description>The maximum number of values in a VALUES clause for INSERT statement.</description>
  882. </property>
  883. <property>
  884. <name>hive.metastore.orm.retrieveMapNullsAsEmptyStrings</name>
  885. <value>false</value>
  886. <description>Thrift does not support nulls in maps, so any nulls present in maps retrieved from ORM must either be pruned or converted to empty strings. Some backing dbs such as Oracle persist empty strings as nulls, so we should set this parameter if we wish to reverse that behaviour. For others, pruning is the correct behaviour</description>
  887. </property>
  888. <property>
  889. <name>hive.metastore.disallow.incompatible.col.type.changes</name>
  890. <value>true</value>
  891. <description>
  892. If true (default is false), ALTER TABLE operations which change the type of a
  893. column (say STRING) to an incompatible type (say MAP) are disallowed.
  894. RCFile default SerDe (ColumnarSerDe) serializes the values in such a way that the
  895. datatypes can be converted from string to any type. The map is also serialized as
  896. a string, which can be read as a string as well. However, with any binary
  897. serialization, this is not true. Blocking the ALTER TABLE prevents ClassCastExceptions
  898. when subsequently trying to access old partitions.
  899. Primitive types like INT, STRING, BIGINT, etc., are compatible with each other and are
  900. not blocked.
  901. See HIVE-4409 for more details.
  902. </description>
  903. </property>
  904. <property>
  905. <name>hive.table.parameters.default</name>
  906. <value/>
  907. <description>Default property values for newly created tables</description>
  908. </property>
  909. <property>
  910. <name>hive.ddl.createtablelike.properties.whitelist</name>
  911. <value/>
  912. <description>Table Properties to copy over when executing a Create Table Like.</description>
  913. </property>
  914. <property>
  915. <name>hive.metastore.rawstore.impl</name>
  916. <value>org.apache.hadoop.hive.metastore.ObjectStore</value>
  917. <description>
  918. Name of the class that implements org.apache.hadoop.hive.metastore.rawstore interface.
  919. This class is used to store and retrieval of raw metadata objects such as table, database
  920. </description>
  921. </property>
  922. <property>
  923. <name>hive.metastore.txn.store.impl</name>
  924. <value>org.apache.hadoop.hive.metastore.txn.CompactionTxnHandler</value>
  925. <description>Name of class that implements org.apache.hadoop.hive.metastore.txn.TxnStore. This class is used to store and retrieve transactions and locks</description>
  926. </property>
  927. <property>
  928. <name>javax.jdo.option.ConnectionDriverName</name>
  929. <value>org.apache.derby.jdbc.EmbeddedDriver</value>
  930. <description>Driver class name for a JDBC metastore</description>
  931. </property>
  932. <property>
  933. <name>javax.jdo.PersistenceManagerFactoryClass</name>
  934. <value>org.datanucleus.api.jdo.JDOPersistenceManagerFactory</value>
  935. <description>class implementing the jdo persistence</description>
  936. </property>
  937. <property>
  938. <name>hive.metastore.expression.proxy</name>
  939. <value>org.apache.hadoop.hive.ql.optimizer.ppr.PartitionExpressionForMetastore</value>
  940. <description/>
  941. </property>
  942. <property>
  943. <name>javax.jdo.option.DetachAllOnCommit</name>
  944. <value>true</value>
  945. <description>Detaches all objects from session so that they can be used after transaction is committed</description>
  946. </property>
  947. <property>
  948. <name>javax.jdo.option.NonTransactionalRead</name>
  949. <value>true</value>
  950. <description>Reads outside of transactions</description>
  951. </property>
  952. <property>
  953. <name>javax.jdo.option.ConnectionUserName</name>
  954. <value>APP</value>
  955. <description>Username to use against metastore database</description>
  956. </property>
  957. <property>
  958. <name>hive.metastore.end.function.listeners</name>
  959. <value/>
  960. <description>List of comma separated listeners for the end of metastore functions.</description>
  961. </property>
  962. <property>
  963. <name>hive.metastore.partition.inherit.table.properties</name>
  964. <value/>
  965. <description>
  966. List of comma separated keys occurring in table properties which will get inherited to newly created partitions.
  967. * implies all the keys will get inherited.
  968. </description>
  969. </property>
  970. <property>
  971. <name>hive.metastore.filter.hook</name>
  972. <value>org.apache.hadoop.hive.metastore.DefaultMetaStoreFilterHookImpl</value>
  973. <description>Metastore hook class for filtering the metadata read results. If hive.security.authorization.manageris set to instance of HiveAuthorizerFactory, then this value is ignored.</description>
  974. </property>
  975. <property>
  976. <name>hive.metastore.dml.events</name>
  977. <value>false</value>
  978. <description>If true, the metastore will be asked to fire events for DML operations</description>
  979. </property>
  980. <property>
  981. <name>hive.metastore.client.drop.partitions.using.expressions</name>
  982. <value>true</value>
  983. <description>Choose whether dropping partitions with HCatClient pushes the partition-predicate to the metastore, or drops partitions iteratively</description>
  984. </property>
  985. <property>
  986. <name>hive.metastore.aggregate.stats.cache.enabled</name>
  987. <value>true</value>
  988. <description>Whether aggregate stats caching is enabled or not.</description>
  989. </property>
  990. <property>
  991. <name>hive.metastore.aggregate.stats.cache.size</name>
  992. <value>10000</value>
  993. <description>Maximum number of aggregate stats nodes that we will place in the metastore aggregate stats cache.</description>
  994. </property>
  995. <property>
  996. <name>hive.metastore.aggregate.stats.cache.max.partitions</name>
  997. <value>10000</value>
  998. <description>Maximum number of partitions that are aggregated per cache node.</description>
  999. </property>
  1000. <property>
  1001. <name>hive.metastore.aggregate.stats.cache.fpp</name>
  1002. <value>0.01</value>
  1003. <description>Maximum false positive probability for the Bloom Filter used in each aggregate stats cache node (default 1%).</description>
  1004. </property>
  1005. <property>
  1006. <name>hive.metastore.aggregate.stats.cache.max.variance</name>
  1007. <value>0.01</value>
  1008. <description>Maximum tolerable variance in number of partitions between a cached node and our request (default 1%).</description>
  1009. </property>
  1010. <property>
  1011. <name>hive.metastore.aggregate.stats.cache.ttl</name>
  1012. <value>600s</value>
  1013. <description>
  1014. Expects a time value with unit (d/day, h/hour, m/min, s/sec, ms/msec, us/usec, ns/nsec), which is sec if not specified.
  1015. Number of seconds for a cached node to be active in the cache before they become stale.
  1016. </description>
  1017. </property>
  1018. <property>
  1019. <name>hive.metastore.aggregate.stats.cache.max.writer.wait</name>
  1020. <value>5000ms</value>
  1021. <description>
  1022. Expects a time value with unit (d/day, h/hour, m/min, s/sec, ms/msec, us/usec, ns/nsec), which is msec if not specified.
  1023. Number of milliseconds a writer will wait to acquire the writelock before giving up.
  1024. </description>
  1025. </property>
  1026. <property>
  1027. <name>hive.metastore.aggregate.stats.cache.max.reader.wait</name>
  1028. <value>1000ms</value>
  1029. <description>
  1030. Expects a time value with unit (d/day, h/hour, m/min, s/sec, ms/msec, us/usec, ns/nsec), which is msec if not specified.
  1031. Number of milliseconds a reader will wait to acquire the readlock before giving up.
  1032. </description>
  1033. </property>
  1034. <property>
  1035. <name>hive.metastore.aggregate.stats.cache.max.full</name>
  1036. <value>0.9</value>
  1037. <description>Maximum cache full % after which the cache cleaner thread kicks in.</description>
  1038. </property>
  1039. <property>
  1040. <name>hive.metastore.aggregate.stats.cache.clean.until</name>
  1041. <value>0.8</value>
  1042. <description>The cleaner thread cleans until cache reaches this % full size.</description>
  1043. </property>
  1044. <property>
  1045. <name>hive.metastore.metrics.enabled</name>
  1046. <value>false</value>
  1047. <description>Enable metrics on the metastore.</description>
  1048. </property>
  1049. <property>
  1050. <name>hive.metastore.initial.metadata.count.enabled</name>
  1051. <value>true</value>
  1052. <description>Enable a metadata count at metastore startup for metrics.</description>
  1053. </property>
  1054. <property>
  1055. <name>hive.metadata.export.location</name>
  1056. <value/>
  1057. <description>
  1058. When used in conjunction with the org.apache.hadoop.hive.ql.parse.MetaDataExportListener pre event listener,
  1059. it is the location to which the metadata will be exported. The default is an empty string, which results in the
  1060. metadata being exported to the current user's home directory on HDFS.
  1061. </description>
  1062. </property>
  1063. <property>
  1064. <name>hive.metadata.move.exported.metadata.to.trash</name>
  1065. <value>true</value>
  1066. <description>
  1067. When used in conjunction with the org.apache.hadoop.hive.ql.parse.MetaDataExportListener pre event listener,
  1068. this setting determines if the metadata that is exported will subsequently be moved to the user's trash directory
  1069. alongside the dropped table data. This ensures that the metadata will be cleaned up along with the dropped table data.
  1070. </description>
  1071. </property>
  1072. <property>
  1073. <name>hive.cli.errors.ignore</name>
  1074. <value>false</value>
  1075. <description/>
  1076. </property>
  1077. <property>
  1078. <name>hive.cli.print.current.db</name>
  1079. <value>false</value>
  1080. <description>Whether to include the current database in the Hive prompt.</description>
  1081. </property>
  1082. <property>
  1083. <name>hive.cli.prompt</name>
  1084. <value>hive</value>
  1085. <description>
  1086. Command line prompt configuration value. Other hiveconf can be used in this configuration value.
  1087. Variable substitution will only be invoked at the Hive CLI startup.
  1088. </description>
  1089. </property>
  1090. <property>
  1091. <name>hive.cli.pretty.output.num.cols</name>
  1092. <value>-1</value>
  1093. <description>
  1094. The number of columns to use when formatting output generated by the DESCRIBE PRETTY table_name command.
  1095. If the value of this property is -1, then Hive will use the auto-detected terminal width.
  1096. </description>
  1097. </property>
  1098. <property>
  1099. <name>hive.metastore.fs.handler.class</name>
  1100. <value>org.apache.hadoop.hive.metastore.HiveMetaStoreFsImpl</value>
  1101. <description/>
  1102. </property>
  1103. <property>
  1104. <name>hive.session.id</name>
  1105. <value/>
  1106. <description/>
  1107. </property>
  1108. <property>
  1109. <name>hive.session.silent</name>
  1110. <value>false</value>
  1111. <description/>
  1112. </property>
  1113. <property>
  1114. <name>hive.session.history.enabled</name>
  1115. <value>false</value>
  1116. <description>Whether to log Hive query, query plan, runtime statistics etc.</description>
  1117. </property>
  1118. <property>
  1119. <name>hive.query.string</name>
  1120. <value/>
  1121. <description>Query being executed (might be multiple per a session)</description>
  1122. </property>
  1123. <property>
  1124. <name>hive.query.id</name>
  1125. <value/>
  1126. <description>ID for query being executed (might be multiple per a session)</description>
  1127. </property>
  1128. <property>
  1129. <name>hive.jobname.length</name>
  1130. <value>50</value>
  1131. <description>max jobname length</description>
  1132. </property>
  1133. <property>
  1134. <name>hive.jar.path</name>
  1135. <value/>
  1136. <description>The location of hive_cli.jar that is used when submitting jobs in a separate jvm.</description>
  1137. </property>
  1138. <property>
  1139. <name>hive.aux.jars.path</name>
  1140. <value/>
  1141. <description>The location of the plugin jars that contain implementations of user defined functions and serdes.</description>
  1142. </property>
  1143. <property>
  1144. <name>hive.reloadable.aux.jars.path</name>
  1145. <value/>
  1146. <description>Jars can be renewed by executing reload command. And these jars can be used as the auxiliary classes like creating a UDF or SerDe.</description>
  1147. </property>
  1148. <property>
  1149. <name>hive.added.files.path</name>
  1150. <value/>
  1151. <description>This an internal parameter.</description>
  1152. </property>
  1153. <property>
  1154. <name>hive.added.jars.path</name>
  1155. <value/>
  1156. <description>This an internal parameter.</description>
  1157. </property>
  1158. <property>
  1159. <name>hive.added.archives.path</name>
  1160. <value/>
  1161. <description>This an internal parameter.</description>
  1162. </property>
  1163. <property>
  1164. <name>hive.auto.progress.timeout</name>
  1165. <value>0s</value>
  1166. <description>
  1167. Expects a time value with unit (d/day, h/hour, m/min, s/sec, ms/msec, us/usec, ns/nsec), which is sec if not specified.
  1168. How long to run autoprogressor for the script/UDTF operators.
  1169. Set to 0 for forever.
  1170. </description>
  1171. </property>
  1172. <property>
  1173. <name>hive.script.auto.progress</name>
  1174. <value>false</value>
  1175. <description>
  1176. Whether Hive Transform/Map/Reduce Clause should automatically send progress information to TaskTracker
  1177. to avoid the task getting killed because of inactivity. Hive sends progress information when the script is
  1178. outputting to stderr. This option removes the need of periodically producing stderr messages,
  1179. but users should be cautious because this may prevent infinite loops in the scripts to be killed by TaskTracker.
  1180. </description>
  1181. </property>
  1182. <property>
  1183. <name>hive.script.operator.id.env.var</name>
  1184. <value>HIVE_SCRIPT_OPERATOR_ID</value>
  1185. <description>
  1186. Name of the environment variable that holds the unique script operator ID in the user's
  1187. transform function (the custom mapper/reducer that the user has specified in the query)
  1188. </description>
  1189. </property>
  1190. <property>
  1191. <name>hive.script.operator.truncate.env</name>
  1192. <value>false</value>
  1193. <description>Truncate each environment variable for external script in scripts operator to 20KB (to fit system limits)</description>
  1194. </property>
  1195. <property>
  1196. <name>hive.script.operator.env.blacklist</name>
  1197. <value>hive.txn.valid.txns,hive.script.operator.env.blacklist</value>
  1198. <description>Comma separated list of keys from the configuration file not to convert to environment variables when envoking the script operator</description>
  1199. </property>
  1200. <property>
  1201. <name>hive.strict.checks.large.query</name>
  1202. <value>false</value>
  1203. <description>
  1204. Enabling strict large query checks disallows the following:
  1205. Orderby without limit.
  1206. No partition being picked up for a query against partitioned table.
  1207. Note that these checks currently do not consider data size, only the query pattern.
  1208. </description>
  1209. </property>
  1210. <property>
  1211. <name>hive.strict.checks.type.safety</name>
  1212. <value>true</value>
  1213. <description>
  1214. Enabling strict type safety checks disallows the following:
  1215. Comparing bigints and strings.
  1216. Comparing bigints and doubles.
  1217. </description>
  1218. </property>
  1219. <property>
  1220. <name>hive.strict.checks.cartesian.product</name>
  1221. <value>true</value>
  1222. <description>
  1223. Enabling strict large query checks disallows the following:
  1224. Cartesian product (cross join).
  1225. </description>
  1226. </property>
  1227. <property>
  1228. <name>hive.mapred.mode</name>
  1229. <value>nonstrict</value>
  1230. <description>Deprecated; use hive.strict.checks.* settings instead.</description>
  1231. </property>
  1232. <property>
  1233. <name>hive.alias</name>
  1234. <value/>
  1235. <description/>
  1236. </property>
  1237. <property>
  1238. <name>hive.map.aggr</name>
  1239. <value>true</value>
  1240. <description>Whether to use map-side aggregation in Hive Group By queries</description>
  1241. </property>
  1242. <property>
  1243. <name>hive.groupby.skewindata</name>
  1244. <value>false</value>
  1245. <description>Whether there is skew in data to optimize group by queries</description>
  1246. </property>
  1247. <property>
  1248. <name>hive.join.emit.interval</name>
  1249. <value>1000</value>
  1250. <description>How many rows in the right-most join operand Hive should buffer before emitting the join result.</description>
  1251. </property>
  1252. <property>
  1253. <name>hive.join.cache.size</name>
  1254. <value>25000</value>
  1255. <description>How many rows in the joining tables (except the streaming table) should be cached in memory.</description>
  1256. </property>
  1257. <property>
  1258. <name>hive.cbo.enable</name>
  1259. <value>true</value>
  1260. <description>Flag to control enabling Cost Based Optimizations using Calcite framework.</description>
  1261. </property>
  1262. <property>
  1263. <name>hive.cbo.cnf.maxnodes</name>
  1264. <value>-1</value>
  1265. <description>When converting to conjunctive normal form (CNF), fail ifthe expression exceeds this threshold; the threshold is expressed in terms of number of nodes (leaves andinterior nodes). -1 to not set up a threshold.</description>
  1266. </property>
  1267. <property>
  1268. <name>hive.cbo.returnpath.hiveop</name>
  1269. <value>false</value>
  1270. <description>Flag to control calcite plan to hive operator conversion</description>
  1271. </property>
  1272. <property>
  1273. <name>hive.cbo.costmodel.extended</name>
  1274. <value>false</value>
  1275. <description>Flag to control enabling the extended cost model based onCPU, IO and cardinality. Otherwise, the cost model is based on cardinality.</description>
  1276. </property>
  1277. <property>
  1278. <name>hive.cbo.costmodel.cpu</name>
  1279. <value>0.000001</value>
  1280. <description>Default cost of a comparison</description>
  1281. </property>
  1282. <property>
  1283. <name>hive.cbo.costmodel.network</name>
  1284. <value>150.0</value>
  1285. <description>Default cost of a transfering a byte over network; expressed as multiple of CPU cost</description>
  1286. </property>
  1287. <property>
  1288. <name>hive.cbo.costmodel.local.fs.write</name>
  1289. <value>4.0</value>
  1290. <description>Default cost of writing a byte to local FS; expressed as multiple of NETWORK cost</description>
  1291. </property>
  1292. <property>
  1293. <name>hive.cbo.costmodel.local.fs.read</name>
  1294. <value>4.0</value>
  1295. <description>Default cost of reading a byte from local FS; expressed as multiple of NETWORK cost</description>
  1296. </property>
  1297. <property>
  1298. <name>hive.cbo.costmodel.hdfs.write</name>
  1299. <value>10.0</value>
  1300. <description>Default cost of writing a byte to HDFS; expressed as multiple of Local FS write cost</description>
  1301. </property>
  1302. <property>
  1303. <name>hive.cbo.costmodel.hdfs.read</name>
  1304. <value>1.5</value>
  1305. <description>Default cost of reading a byte from HDFS; expressed as multiple of Local FS read cost</description>
  1306. </property>
  1307. <property>
  1308. <name>hive.transpose.aggr.join</name>
  1309. <value>false</value>
  1310. <description>push aggregates through join</description>
  1311. </property>
  1312. <property>
  1313. <name>hive.order.columnalignment</name>
  1314. <value>true</value>
  1315. <description>Flag to control whether we want to try to aligncolumns in operators such as Aggregate or Join so that we try to reduce the number of shuffling stages</description>
  1316. </property>
  1317. <property>
  1318. <name>hive.mapjoin.bucket.cache.size</name>
  1319. <value>100</value>
  1320. <description/>
  1321. </property>
  1322. <property>
  1323. <name>hive.mapjoin.optimized.hashtable</name>
  1324. <value>true</value>
  1325. <description>
  1326. Whether Hive should use memory-optimized hash table for MapJoin.
  1327. Only works on Tez and Spark, because memory-optimized hashtable cannot be serialized.
  1328. </description>
  1329. </property>
  1330. <property>
  1331. <name>hive.mapjoin.optimized.hashtable.probe.percent</name>
  1332. <value>0.5</value>
  1333. <description>Probing space percentage of the optimized hashtable</description>
  1334. </property>
  1335. <property>
  1336. <name>hive.mapjoin.hybridgrace.hashtable</name>
  1337. <value>true</value>
  1338. <description>Whether to use hybridgrace hash join as the join method for mapjoin. Tez only.</description>
  1339. </property>
  1340. <property>
  1341. <name>hive.mapjoin.hybridgrace.memcheckfrequency</name>
  1342. <value>1024</value>
  1343. <description>For hybrid grace hash join, how often (how many rows apart) we check if memory is full. This number should be power of 2.</description>
  1344. </property>
  1345. <property>
  1346. <name>hive.mapjoin.hybridgrace.minwbsize</name>
  1347. <value>524288</value>
  1348. <description>For hybrid graceHash join, the minimum write buffer size used by optimized hashtable. Default is 512 KB.</description>
  1349. </property>
  1350. <property>
  1351. <name>hive.mapjoin.hybridgrace.minnumpartitions</name>
  1352. <value>16</value>
  1353. <description>ForHybrid grace hash join, the minimum number of partitions to create.</description>
  1354. </property>
  1355. <property>
  1356. <name>hive.mapjoin.optimized.hashtable.wbsize</name>
  1357. <value>8388608</value>
  1358. <description>
  1359. Optimized hashtable (see hive.mapjoin.optimized.hashtable) uses a chain of buffers to
  1360. store data. This is one buffer size. HT may be slightly faster if this is larger, but for small
  1361. joins unnecessary memory will be allocated and then trimmed.
  1362. </description>
  1363. </property>
  1364. <property>
  1365. <name>hive.mapjoin.hybridgrace.bloomfilter</name>
  1366. <value>true</value>
  1367. <description>Whether to use BloomFilter in Hybrid grace hash join to minimize unnecessary spilling.</description>
  1368. </property>
  1369. <property>
  1370. <name>hive.smbjoin.cache.rows</name>
  1371. <value>10000</value>
  1372. <description>How many rows with the same key value should be cached in memory per smb joined table.</description>
  1373. </property>
  1374. <property>
  1375. <name>hive.groupby.mapaggr.checkinterval</name>
  1376. <value>100000</value>
  1377. <description>Number of rows after which size of the grouping keys/aggregation classes is performed</description>
  1378. </property>
  1379. <property>
  1380. <name>hive.map.aggr.hash.percentmemory</name>
  1381. <value>0.5</value>
  1382. <description>Portion of total memory to be used by map-side group aggregation hash table</description>
  1383. </property>
  1384. <property>
  1385. <name>hive.mapjoin.followby.map.aggr.hash.percentmemory</name>
  1386. <value>0.3</value>
  1387. <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>
  1388. </property>
  1389. <property>
  1390. <name>hive.map.aggr.hash.force.flush.memory.threshold</name>
  1391. <value>0.9</value>
  1392. <description>
  1393. The max memory to be used by map-side group aggregation hash table.
  1394. If the memory usage is higher than this number, force to flush data
  1395. </description>
  1396. </property>
  1397. <property>
  1398. <name>hive.map.aggr.hash.min.reduction</name>
  1399. <value>0.5</value>
  1400. <description>
  1401. Hash aggregation will be turned off if the ratio between hash table size and input rows is bigger than this number.
  1402. Set to 1 to make sure hash aggregation is never turned off.
  1403. </description>
  1404. </property>
  1405. <property>
  1406. <name>hive.multigroupby.singlereducer</name>
  1407. <value>true</value>
  1408. <description>
  1409. Whether to optimize multi group by query to generate single M/R job plan. If the multi group by query has
  1410. common group by keys, it will be optimized to generate single M/R job.
  1411. </description>
  1412. </property>
  1413. <property>
  1414. <name>hive.map.groupby.sorted</name>
  1415. <value>true</value>
  1416. <description>
  1417. If the bucketing/sorting properties of the table exactly match the grouping key, whether to perform
  1418. the group by in the mapper by using BucketizedHiveInputFormat. The only downside to this
  1419. is that it limits the number of mappers to the number of files.
  1420. </description>
  1421. </property>
  1422. <property>
  1423. <name>hive.groupby.orderby.position.alias</name>
  1424. <value>false</value>
  1425. <description>Whether to enable using Column Position Alias in Group By or Order By</description>
  1426. </property>
  1427. <property>
  1428. <name>hive.new.job.grouping.set.cardinality</name>
  1429. <value>30</value>
  1430. <description>
  1431. Whether a new map-reduce job should be launched for grouping sets/rollups/cubes.
  1432. For a query like: select a, b, c, count(1) from T group by a, b, c with rollup;
  1433. 4 rows are created per row: (a, b, c), (a, b, null), (a, null, null), (null, null, null).
  1434. This can lead to explosion across map-reduce boundary if the cardinality of T is very high,
  1435. and map-side aggregation does not do a very good job.
  1436. This parameter decides if Hive should add an additional map-reduce job. If the grouping set
  1437. cardinality (4 in the example above), is more than this value, a new MR job is added under the
  1438. assumption that the original group by will reduce the data size.
  1439. </description>
  1440. </property>
  1441. <property>
  1442. <name>hive.groupby.limit.extrastep</name>
  1443. <value>true</value>
  1444. <description>
  1445. This parameter decides if Hive should
  1446. create new MR job for sorting final output
  1447. </description>
  1448. </property>
  1449. <property>
  1450. <name>hive.exec.copyfile.maxsize</name>
  1451. <value>33554432</value>
  1452. <description>Maximum file size (in Mb) that Hive uses to do single HDFS copies between directories.Distributed copies (distcp) will be used instead for bigger files so that copies can be done faster.</description>
  1453. </property>
  1454. <property>
  1455. <name>hive.udtf.auto.progress</name>
  1456. <value>false</value>
  1457. <description>
  1458. Whether Hive should automatically send progress information to TaskTracker
  1459. when using UDTF's to prevent the task getting killed because of inactivity. Users should be cautious
  1460. because this may prevent TaskTracker from killing tasks with infinite loops.
  1461. </description>
  1462. </property>
  1463. <property>
  1464. <name>hive.default.fileformat</name>
  1465. <value>TextFile</value>
  1466. <description>
  1467. Expects one of [textfile, sequencefile, rcfile, orc].
  1468. Default file format for CREATE TABLE statement. Users can explicitly override it by CREATE TABLE ... STORED AS [FORMAT]
  1469. </description>
  1470. </property>
  1471. <property>
  1472. <name>hive.default.fileformat.managed</name>
  1473. <value>none</value>
  1474. <description>
  1475. Expects one of [none, textfile, sequencefile, rcfile, orc].
  1476. Default file format for CREATE TABLE statement applied to managed tables only. External tables will be
  1477. created with format specified by hive.default.fileformat. Leaving this null will result in using hive.default.fileformat
  1478. for all tables.
  1479. </description>
  1480. </property>
  1481. <property>
  1482. <name>hive.query.result.fileformat</name>
  1483. <value>SequenceFile</value>
  1484. <description>
  1485. Expects one of [textfile, sequencefile, rcfile, llap].
  1486. Default file format for storing result of the query.
  1487. </description>
  1488. </property>
  1489. <property>
  1490. <name>hive.fileformat.check</name>
  1491. <value>true</value>
  1492. <description>Whether to check file format or not when loading data files</description>
  1493. </property>
  1494. <property>
  1495. <name>hive.default.rcfile.serde</name>
  1496. <value>org.apache.hadoop.hive.serde2.columnar.LazyBinaryColumnarSerDe</value>
  1497. <description>The default SerDe Hive will use for the RCFile format</description>
  1498. </property>
  1499. <property>
  1500. <name>hive.default.serde</name>
  1501. <value>org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe</value>
  1502. <description>The default SerDe Hive will use for storage formats that do not specify a SerDe.</description>
  1503. </property>
  1504. <property>
  1505. <name>hive.serdes.using.metastore.for.schema</name>
  1506. <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>
  1507. <description>SerDes retrieving schema from metastore. This is an internal parameter.</description>
  1508. </property>
  1509. <property>
  1510. <name>hive.querylog.location</name>
  1511. <value>${system:java.io.tmpdir}/${system:user.name}</value>
  1512. <description>Location of Hive run time structured log file</description>
  1513. </property>
  1514. <property>
  1515. <name>hive.querylog.enable.plan.progress</name>
  1516. <value>true</value>
  1517. <description>
  1518. Whether to log the plan's progress every time a job's progress is checked.
  1519. These logs are written to the location specified by hive.querylog.location
  1520. </description>
  1521. </property>
  1522. <property>
  1523. <name>hive.querylog.plan.progress.interval</name>
  1524. <value>60000ms</value>
  1525. <description>
  1526. Expects a time value with unit (d/day, h/hour, m/min, s/sec, ms/msec, us/usec, ns/nsec), which is msec if not specified.
  1527. The interval to wait between logging the plan's progress.
  1528. If there is a whole number percentage change in the progress of the mappers or the reducers,
  1529. the progress is logged regardless of this value.
  1530. The actual interval will be the ceiling of (this value divided by the value of
  1531. hive.exec.counters.pull.interval) multiplied by the value of hive.exec.counters.pull.interval
  1532. I.e. if it is not divide evenly by the value of hive.exec.counters.pull.interval it will be
  1533. logged less frequently than specified.
  1534. This only has an effect if hive.querylog.enable.plan.progress is set to true.
  1535. </description>
  1536. </property>
  1537. <property>
  1538. <name>hive.script.serde</name>
  1539. <value>org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe</value>
  1540. <description>The default SerDe for transmitting input data to and reading output data from the user scripts. </description>
  1541. </property>
  1542. <property>
  1543. <name>hive.script.recordreader</name>
  1544. <value>org.apache.hadoop.hive.ql.exec.TextRecordReader</value>
  1545. <description>The default record reader for reading data from the user scripts. </description>
  1546. </property>
  1547. <property>
  1548. <name>hive.script.recordwriter</name>
  1549. <value>org.apache.hadoop.hive.ql.exec.TextRecordWriter</value>
  1550. <description>The default record writer for writing data to the user scripts. </description>
  1551. </property>
  1552. <property>
  1553. <name>hive.transform.escape.input</name>
  1554. <value>false</value>
  1555. <description>
  1556. This adds an option to escape special chars (newlines, carriage returns and
  1557. tabs) when they are passed to the user script. This is useful if the Hive tables
  1558. can contain data that contains special characters.
  1559. </description>
  1560. </property>
  1561. <property>
  1562. <name>hive.binary.record.max.length</name>
  1563. <value>1000</value>
  1564. <description>
  1565. Read from a binary stream and treat each hive.binary.record.max.length bytes as a record.
  1566. The last record before the end of stream can have less than hive.binary.record.max.length bytes
  1567. </description>
  1568. </property>
  1569. <property>
  1570. <name>hive.hwi.listen.host</name>
  1571. <value>0.0.0.0</value>
  1572. <description>This is the host address the Hive Web Interface will listen on</description>
  1573. </property>
  1574. <property>
  1575. <name>hive.hwi.listen.port</name>
  1576. <value>9999</value>
  1577. <description>This is the port the Hive Web Interface will listen on</description>
  1578. </property>
  1579. <property>
  1580. <name>hive.hwi.war.file</name>
  1581. <value>${env:HWI_WAR_FILE}</value>
  1582. <description>This sets the path to the HWI war file, relative to ${HIVE_HOME}. </description>
  1583. </property>
  1584. <property>
  1585. <name>hive.mapred.local.mem</name>
  1586. <value>0</value>
  1587. <description>mapper/reducer memory in local mode</description>
  1588. </property>
  1589. <property>
  1590. <name>hive.mapjoin.smalltable.filesize</name>
  1591. <value>25000000</value>
  1592. <description>
  1593. The threshold for the input file size of the small tables; if the file size is smaller
  1594. than this threshold, it will try to convert the common join into map join
  1595. </description>
  1596. </property>
  1597. <property>
  1598. <name>hive.exec.schema.evolution</name>
  1599. <value>true</value>
  1600. <description>Use schema evolution to convert self-describing file format's data to the schema desired by the reader.</description>
  1601. </property>
  1602. <property>
  1603. <name>hive.sample.seednumber</name>
  1604. <value>0</value>
  1605. <description>A number used to percentage sampling. By changing this number, user will change the subsets of data sampled.</description>
  1606. </property>
  1607. <property>
  1608. <name>hive.test.mode</name>
  1609. <value>false</value>
  1610. <description>Whether Hive is running in test mode. If yes, it turns on sampling and prefixes the output tablename.</description>
  1611. </property>
  1612. <property>
  1613. <name>hive.test.mode.prefix</name>
  1614. <value>test_</value>
  1615. <description>In test mode, specfies prefixes for the output table</description>
  1616. </property>
  1617. <property>
  1618. <name>hive.test.mode.samplefreq</name>
  1619. <value>32</value>
  1620. <description>
  1621. In test mode, specfies sampling frequency for table, which is not bucketed,
  1622. For example, the following query:
  1623. INSERT OVERWRITE TABLE dest SELECT col1 from src
  1624. would be converted to
  1625. INSERT OVERWRITE TABLE test_dest
  1626. SELECT col1 from src TABLESAMPLE (BUCKET 1 out of 32 on rand(1))
  1627. </description>
  1628. </property>
  1629. <property>
  1630. <name>hive.test.mode.nosamplelist</name>
  1631. <value/>
  1632. <description>In test mode, specifies comma separated table names which would not apply sampling</description>
  1633. </property>
  1634. <property>
  1635. <name>hive.test.dummystats.aggregator</name>
  1636. <value/>
  1637. <description>internal variable for test</description>
  1638. </property>
  1639. <property>
  1640. <name>hive.test.dummystats.publisher</name>
  1641. <value/>
  1642. <description>internal variable for test</description>
  1643. </property>
  1644. <property>
  1645. <name>hive.test.currenttimestamp</name>
  1646. <value/>
  1647. <description>current timestamp for test</description>
  1648. </property>
  1649. <property>
  1650. <name>hive.test.rollbacktxn</name>
  1651. <value>false</value>
  1652. <description>For testing only. Will mark every ACID transaction aborted</description>
  1653. </property>
  1654. <property>
  1655. <name>hive.test.fail.compaction</name>
  1656. <value>false</value>
  1657. <description>For testing only. Will cause CompactorMR to fail.</description>
  1658. </property>
  1659. <property>
  1660. <name>hive.test.fail.heartbeater</name>
  1661. <value>false</value>
  1662. <description>For testing only. Will cause Heartbeater to fail.</description>
  1663. </property>
  1664. <property>
  1665. <name>hive.merge.mapfiles</name>
  1666. <value>true</value>
  1667. <description>Merge small files at the end of a map-only job</description>
  1668. </property>
  1669. <property>
  1670. <name>hive.merge.mapredfiles</name>
  1671. <value>false</value>
  1672. <description>Merge small files at the end of a map-reduce job</description>
  1673. </property>
  1674. <property>
  1675. <name>hive.merge.tezfiles</name>
  1676. <value>false</value>
  1677. <description>Merge small files at the end of a Tez DAG</description>
  1678. </property>
  1679. <property>
  1680. <name>hive.merge.sparkfiles</name>
  1681. <value>false</value>
  1682. <description>Merge small files at the end of a Spark DAG Transformation</description>
  1683. </property>
  1684. <property>
  1685. <name>hive.merge.size.per.task</name>
  1686. <value>256000000</value>
  1687. <description>Size of merged files at the end of the job</description>
  1688. </property>
  1689. <property>
  1690. <name>hive.merge.smallfiles.avgsize</name>
  1691. <value>16000000</value>
  1692. <description>
  1693. When the average output file size of a job is less than this number, Hive will start an additional
  1694. map-reduce job to merge the output files into bigger files. This is only done for map-only jobs
  1695. if hive.merge.mapfiles is true, and for map-reduce jobs if hive.merge.mapredfiles is true.
  1696. </description>
  1697. </property>
  1698. <property>
  1699. <name>hive.merge.rcfile.block.level</name>
  1700. <value>true</value>
  1701. <description/>
  1702. </property>
  1703. <property>
  1704. <name>hive.merge.orcfile.stripe.level</name>
  1705. <value>true</value>
  1706. <description>
  1707. When hive.merge.mapfiles, hive.merge.mapredfiles or hive.merge.tezfiles is enabled
  1708. while writing a table with ORC file format, enabling this config will do stripe-level
  1709. fast merge for small ORC files. Note that enabling this config will not honor the
  1710. padding tolerance config (hive.exec.orc.block.padding.tolerance).
  1711. </description>
  1712. </property>
  1713. <property>
  1714. <name>hive.exec.rcfile.use.explicit.header</name>
  1715. <value>true</value>
  1716. <description>
  1717. If this is set the header for RCFiles will simply be RCF. If this is not
  1718. set the header will be that borrowed from sequence files, e.g. SEQ- followed
  1719. by the input and output RCFile formats.
  1720. </description>
  1721. </property>
  1722. <property>
  1723. <name>hive.exec.rcfile.use.sync.cache</name>
  1724. <value>true</value>
  1725. <description/>
  1726. </property>
  1727. <property>
  1728. <name>hive.io.rcfile.record.interval</name>
  1729. <value>2147483647</value>
  1730. <description/>
  1731. </property>
  1732. <property>
  1733. <name>hive.io.rcfile.column.number.conf</name>
  1734. <value>0</value>
  1735. <description/>
  1736. </property>
  1737. <property>
  1738. <name>hive.io.rcfile.tolerate.corruptions</name>
  1739. <value>false</value>
  1740. <description/>
  1741. </property>
  1742. <property>
  1743. <name>hive.io.rcfile.record.buffer.size</name>
  1744. <value>4194304</value>
  1745. <description/>
  1746. </property>
  1747. <property>
  1748. <name>parquet.memory.pool.ratio</name>
  1749. <value>0.5</value>
  1750. <description>
  1751. Maximum fraction of heap that can be used by Parquet file writers in one task.
  1752. It is for avoiding OutOfMemory error in tasks. Work with Parquet 1.6.0 and above.
  1753. This config parameter is defined in Parquet, so that it does not start with 'hive.'.
  1754. </description>
  1755. </property>
  1756. <property>
  1757. <name>hive.parquet.timestamp.skip.conversion</name>
  1758. <value>true</value>
  1759. <description>Current Hive implementation of parquet stores timestamps to UTC, this flag allows skipping of the conversionon reading parquet files from other tools</description>
  1760. </property>
  1761. <property>
  1762. <name>hive.int.timestamp.conversion.in.seconds</name>
  1763. <value>false</value>
  1764. <description>
  1765. Boolean/tinyint/smallint/int/bigint value is interpreted as milliseconds during the timestamp conversion.
  1766. Set this flag to true to interpret the value as seconds to be consistent with float/double.
  1767. </description>
  1768. </property>
  1769. <property>
  1770. <name>hive.exec.orc.memory.pool</name>
  1771. <value>0.5</value>
  1772. <description>Maximum fraction of heap that can be used by ORC file writers</description>
  1773. </property>
  1774. <property>
  1775. <name>hive.exec.orc.write.format</name>
  1776. <value/>
  1777. <description>
  1778. Define the version of the file to write. Possible values are 0.11 and 0.12.
  1779. If this parameter is not defined, ORC will use the run length encoding (RLE)
  1780. introduced in Hive 0.12. Any value other than 0.11 results in the 0.12 encoding.
  1781. </description>
  1782. </property>
  1783. <property>
  1784. <name>hive.exec.orc.default.stripe.size</name>
  1785. <value>67108864</value>
  1786. <description>Define the default ORC stripe size, in bytes.</description>
  1787. </property>
  1788. <property>
  1789. <name>hive.exec.orc.default.block.size</name>
  1790. <value>268435456</value>
  1791. <description>Define the default file system block size for ORC files.</description>
  1792. </property>
  1793. <property>
  1794. <name>hive.exec.orc.dictionary.key.size.threshold</name>
  1795. <value>0.8</value>
  1796. <description>
  1797. If the number of keys in a dictionary is greater than this fraction of the total number of
  1798. non-null rows, turn off dictionary encoding. Use 1 to always use dictionary encoding.
  1799. </description>
  1800. </property>
  1801. <property>
  1802. <name>hive.exec.orc.default.row.index.stride</name>
  1803. <value>10000</value>
  1804. <description>
  1805. Define the default ORC index stride in number of rows. (Stride is the number of rows
  1806. an index entry represents.)
  1807. </description>
  1808. </property>
  1809. <property>
  1810. <name>hive.orc.row.index.stride.dictionary.check</name>
  1811. <value>true</value>
  1812. <description>
  1813. If enabled dictionary check will happen after first row index stride (default 10000 rows)
  1814. else dictionary check will happen before writing first stripe. In both cases, the decision
  1815. to use dictionary or not will be retained thereafter.
  1816. </description>
  1817. </property>
  1818. <property>
  1819. <name>hive.exec.orc.default.buffer.size</name>
  1820. <value>262144</value>
  1821. <description>Define the default ORC buffer size, in bytes.</description>
  1822. </property>
  1823. <property>
  1824. <name>hive.exec.orc.base.delta.ratio</name>
  1825. <value>8</value>
  1826. <description>
  1827. The ratio of base writer and
  1828. delta writer in terms of STRIPE_SIZE and BUFFER_SIZE.
  1829. </description>
  1830. </property>
  1831. <property>
  1832. <name>hive.exec.orc.default.block.padding</name>
  1833. <value>true</value>
  1834. <description>Define the default block padding, which pads stripes to the HDFS block boundaries.</description>
  1835. </property>
  1836. <property>
  1837. <name>hive.exec.orc.block.padding.tolerance</name>
  1838. <value>0.05</value>
  1839. <description>
  1840. Define the tolerance for block padding as a decimal fraction of stripe size (for
  1841. example, the default value 0.05 is 5% of the stripe size). For the defaults of 64Mb
  1842. ORC stripe and 256Mb HDFS blocks, the default block padding tolerance of 5% will
  1843. reserve a maximum of 3.2Mb for padding within the 256Mb block. In that case, if the
  1844. available size within the block is more than 3.2Mb, a new smaller stripe will be
  1845. inserted to fit within that space. This will make sure that no stripe written will
  1846. cross block boundaries and cause remote reads within a node local task.
  1847. </description>
  1848. </property>
  1849. <property>
  1850. <name>hive.exec.orc.default.compress</name>
  1851. <value>ZLIB</value>
  1852. <description>Define the default compression codec for ORC file</description>
  1853. </property>
  1854. <property>
  1855. <name>hive.exec.orc.encoding.strategy</name>
  1856. <value>SPEED</value>
  1857. <description>
  1858. Expects one of [speed, compression].
  1859. Define the encoding strategy to use while writing data. Changing this will
  1860. only affect the light weight encoding for integers. This flag will not
  1861. change the compression level of higher level compression codec (like ZLIB).
  1862. </description>
  1863. </property>
  1864. <property>
  1865. <name>hive.exec.orc.compression.strategy</name>
  1866. <value>SPEED</value>
  1867. <description>
  1868. Expects one of [speed, compression].
  1869. Define the compression strategy to use while writing data.
  1870. This changes the compression level of higher level compression codec (like ZLIB).
  1871. </description>
  1872. </property>
  1873. <property>
  1874. <name>hive.exec.orc.split.strategy</name>
  1875. <value>HYBRID</value>
  1876. <description>
  1877. Expects one of [hybrid, bi, etl].
  1878. This is not a user level config. BI strategy is used when the requirement is to spend less time in split generation as opposed to query execution (split generation does not read or cache file footers). ETL strategy is used when spending little more time in split generation is acceptable (split generation reads and caches file footers). HYBRID chooses between the above strategies based on heuristics.
  1879. </description>
  1880. </property>
  1881. <property>
  1882. <name>hive.orc.splits.ms.footer.cache.enabled</name>
  1883. <value>false</value>
  1884. <description>Whether to enable using file metadata cache in metastore for ORC file footers.</description>
  1885. </property>
  1886. <property>
  1887. <name>hive.orc.splits.ms.footer.cache.ppd.enabled</name>
  1888. <value>true</value>
  1889. <description>
  1890. Whether to enable file footer cache PPD (hive.orc.splits.ms.footer.cache.enabled
  1891. must also be set to true for this to work).
  1892. </description>
  1893. </property>
  1894. <property>
  1895. <name>hive.orc.splits.include.file.footer</name>
  1896. <value>false</value>
  1897. <description>
  1898. If turned on splits generated by orc will include metadata about the stripes in the file. This
  1899. data is read remotely (from the client or HS2 machine) and sent to all the tasks.
  1900. </description>
  1901. </property>
  1902. <property>
  1903. <name>hive.orc.splits.directory.batch.ms</name>
  1904. <value>0</value>
  1905. <description>
  1906. How long, in ms, to wait to batch input directories for processing during ORC split
  1907. generation. 0 means process directories individually. This can increase the number of
  1908. metastore calls if metastore metadata cache is used.
  1909. </description>
  1910. </property>
  1911. <property>
  1912. <name>hive.orc.splits.include.fileid</name>
  1913. <value>true</value>
  1914. <description>Include file ID in splits on file systems that support it.</description>
  1915. </property>
  1916. <property>
  1917. <name>hive.orc.splits.allow.synthetic.fileid</name>
  1918. <value>true</value>
  1919. <description>Allow synthetic file ID in splits on file systems that don't have a native one.</description>
  1920. </property>
  1921. <property>
  1922. <name>hive.orc.cache.stripe.details.size</name>
  1923. <value>10000</value>
  1924. <description>Max cache size for keeping meta info about orc splits cached in the client.</description>
  1925. </property>
  1926. <property>
  1927. <name>hive.orc.compute.splits.num.threads</name>
  1928. <value>10</value>
  1929. <description>How many threads orc should use to create splits in parallel.</description>
  1930. </property>
  1931. <property>
  1932. <name>hive.orc.cache.use.soft.references</name>
  1933. <value>false</value>
  1934. <description>
  1935. By default, the cache that ORC input format uses to store orc file footer use hard
  1936. references for the cached object. Setting this to true can help avoid out of memory
  1937. issues under memory pressure (in some cases) at the cost of slight unpredictability in
  1938. overall query performance.
  1939. </description>
  1940. </property>
  1941. <property>
  1942. <name>hive.exec.orc.skip.corrupt.data</name>
  1943. <value>false</value>
  1944. <description>
  1945. If ORC reader encounters corrupt data, this value will be used to determine
  1946. whether to skip the corrupt data or throw exception. The default behavior is to throw exception.
  1947. </description>
  1948. </property>
  1949. <property>
  1950. <name>hive.exec.orc.zerocopy</name>
  1951. <value>false</value>
  1952. <description>Use zerocopy reads with ORC. (This requires Hadoop 2.3 or later.)</description>
  1953. </property>
  1954. <property>
  1955. <name>hive.lazysimple.extended_boolean_literal</name>
  1956. <value>false</value>
  1957. <description>
  1958. LazySimpleSerde uses this property to determine if it treats 'T', 't', 'F', 'f',
  1959. '1', and '0' as extened, legal boolean literal, in addition to 'TRUE' and 'FALSE'.
  1960. The default is false, which means only 'TRUE' and 'FALSE' are treated as legal
  1961. boolean literal.
  1962. </description>
  1963. </property>
  1964. <property>
  1965. <name>hive.optimize.skewjoin</name>
  1966. <value>false</value>
  1967. <description>
  1968. Whether to enable skew join optimization.
  1969. The algorithm is as follows: At runtime, detect the keys with a large skew. Instead of
  1970. processing those keys, store them temporarily in an HDFS directory. In a follow-up map-reduce
  1971. job, process those skewed keys. The same key need not be skewed for all the tables, and so,
  1972. the follow-up map-reduce job (for the skewed keys) would be much faster, since it would be a
  1973. map-join.
  1974. </description>
  1975. </property>
  1976. <property>
  1977. <name>hive.optimize.dynamic.partition.hashjoin</name>
  1978. <value>false</value>
  1979. <description>
  1980. Whether to enable dynamically partitioned hash join optimization.
  1981. This setting is also dependent on enabling hive.auto.convert.join
  1982. </description>
  1983. </property>
  1984. <property>
  1985. <name>hive.auto.convert.join</name>
  1986. <value>true</value>
  1987. <description>Whether Hive enables the optimization about converting common join into mapjoin based on the input file size</description>
  1988. </property>
  1989. <property>
  1990. <name>hive.auto.convert.join.noconditionaltask</name>
  1991. <value>true</value>
  1992. <description>
  1993. Whether Hive enables the optimization about converting common join into mapjoin based on the input file size.
  1994. 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
  1995. specified size, the join is directly converted to a mapjoin (there is no conditional task).
  1996. </description>
  1997. </property>
  1998. <property>
  1999. <name>hive.auto.convert.join.noconditionaltask.size</name>
  2000. <value>10000000</value>
  2001. <description>
  2002. If hive.auto.convert.join.noconditionaltask is off, this parameter does not take affect.
  2003. However, if it is on, and the sum of size for n-1 of the tables/partitions for a n-way join is smaller than this size,
  2004. the join is directly converted to a mapjoin(there is no conditional task). The default is 10MB
  2005. </description>
  2006. </property>
  2007. <property>
  2008. <name>hive.auto.convert.join.use.nonstaged</name>
  2009. <value>false</value>
  2010. <description>
  2011. For conditional joins, if input stream from a small alias can be directly applied to join operator without
  2012. filtering or projection, the alias need not to be pre-staged in distributed cache via mapred local task.
  2013. Currently, this is not working with vectorization or tez execution engine.
  2014. </description>
  2015. </property>
  2016. <property>
  2017. <name>hive.skewjoin.key</name>
  2018. <value>100000</value>
  2019. <description>
  2020. Determine if we get a skew key in join. If we see more than the specified number of rows with the same key in join operator,
  2021. we think the key as a skew join key.
  2022. </description>
  2023. </property>
  2024. <property>
  2025. <name>hive.skewjoin.mapjoin.map.tasks</name>
  2026. <value>10000</value>
  2027. <description>
  2028. Determine the number of map task used in the follow up map join job for a skew join.
  2029. It should be used together with hive.skewjoin.mapjoin.min.split to perform a fine grained control.
  2030. </description>
  2031. </property>
  2032. <property>
  2033. <name>hive.skewjoin.mapjoin.min.split</name>
  2034. <value>33554432</value>
  2035. <description>
  2036. Determine the number of map task at most used in the follow up map join job for a skew join by specifying
  2037. the minimum split size. It should be used together with hive.skewjoin.mapjoin.map.tasks to perform a fine grained control.
  2038. </description>
  2039. </property>
  2040. <property>
  2041. <name>hive.heartbeat.interval</name>
  2042. <value>1000</value>
  2043. <description>Send a heartbeat after this interval - used by mapjoin and filter operators</description>
  2044. </property>
  2045. <property>
  2046. <name>hive.limit.row.max.size</name>
  2047. <value>100000</value>
  2048. <description>When trying a smaller subset of data for simple LIMIT, how much size we need to guarantee each row to have at least.</description>
  2049. </property>
  2050. <property>
  2051. <name>hive.limit.optimize.limit.file</name>
  2052. <value>10</value>
  2053. <description>When trying a smaller subset of data for simple LIMIT, maximum number of files we can sample.</description>
  2054. </property>
  2055. <property>
  2056. <name>hive.limit.optimize.enable</name>
  2057. <value>false</value>
  2058. <description>Whether to enable to optimization to trying a smaller subset of data for simple LIMIT first.</description>
  2059. </property>
  2060. <property>
  2061. <name>hive.limit.optimize.fetch.max</name>
  2062. <value>50000</value>
  2063. <description>
  2064. Maximum number of rows allowed for a smaller subset of data for simple LIMIT, if it is a fetch query.
  2065. Insert queries are not restricted by this limit.
  2066. </description>
  2067. </property>
  2068. <property>
  2069. <name>hive.limit.pushdown.memory.usage</name>
  2070. <value>0.1</value>
  2071. <description>
  2072. Expects value between 0.0f and 1.0f.
  2073. The fraction of available memory to be used for buffering rows in Reducesink operator for limit pushdown optimization.
  2074. </description>
  2075. </property>
  2076. <property>
  2077. <name>hive.limit.query.max.table.partition</name>
  2078. <value>-1</value>
  2079. <description>
  2080. This controls how many partitions can be scanned for each partitioned table.
  2081. The default value "-1" means no limit.
  2082. </description>
  2083. </property>
  2084. <property>
  2085. <name>hive.hashtable.key.count.adjustment</name>
  2086. <value>1.0</value>
  2087. <description>Adjustment to mapjoin hashtable size derived from table and column statistics; the estimate of the number of keys is divided by this value. If the value is 0, statistics are not usedand hive.hashtable.initialCapacity is used instead.</description>
  2088. </property>
  2089. <property>
  2090. <name>hive.hashtable.initialCapacity</name>
  2091. <value>100000</value>
  2092. <description>Initial capacity of mapjoin hashtable if statistics are absent, or if hive.hashtable.key.count.adjustment is set to 0</description>
  2093. </property>
  2094. <property>
  2095. <name>hive.hashtable.loadfactor</name>
  2096. <value>0.75</value>
  2097. <description/>
  2098. </property>
  2099. <property>
  2100. <name>hive.mapjoin.followby.gby.localtask.max.memory.usage</name>
  2101. <value>0.55</value>
  2102. <description>
  2103. This number means how much memory the local task can take to hold the key/value into an in-memory hash table
  2104. when this map join is followed by a group by. If the local task's memory usage is more than this number,
  2105. the local task will abort by itself. It means the data of the small table is too large to be held in memory.
  2106. </description>
  2107. </property>
  2108. <property>
  2109. <name>hive.mapjoin.localtask.max.memory.usage</name>
  2110. <value>0.9</value>
  2111. <description>
  2112. This number means how much memory the local task can take to hold the key/value into an in-memory hash table.
  2113. If the local task's memory usage is more than this number, the local task will abort by itself.
  2114. It means the data of the small table is too large to be held in memory.
  2115. </description>
  2116. </property>
  2117. <property>
  2118. <name>hive.mapjoin.check.memory.rows</name>
  2119. <value>100000</value>
  2120. <description>The number means after how many rows processed it needs to check the memory usage</description>
  2121. </property>
  2122. <property>
  2123. <name>hive.debug.localtask</name>
  2124. <value>false</value>
  2125. <description/>
  2126. </property>
  2127. <property>
  2128. <name>hive.input.format</name>
  2129. <value>org.apache.hadoop.hive.ql.io.CombineHiveInputFormat</value>
  2130. <description>The default input format. Set this to HiveInputFormat if you encounter problems with CombineHiveInputFormat.</description>
  2131. </property>
  2132. <property>
  2133. <name>hive.tez.input.format</name>
  2134. <value>org.apache.hadoop.hive.ql.io.HiveInputFormat</value>
  2135. <description>The default input format for tez. Tez groups splits in the AM.</description>
  2136. </property>
  2137. <property>
  2138. <name>hive.tez.container.size</name>
  2139. <value>-1</value>
  2140. <description>By default Tez will spawn containers of the size of a mapper. This can be used to overwrite.</description>
  2141. </property>
  2142. <property>
  2143. <name>hive.tez.cpu.vcores</name>
  2144. <value>-1</value>
  2145. <description>
  2146. By default Tez will ask for however many cpus map-reduce is configured to use per container.
  2147. This can be used to overwrite.
  2148. </description>
  2149. </property>
  2150. <property>
  2151. <name>hive.tez.java.opts</name>
  2152. <value/>
  2153. <description>By default Tez will use the Java options from map tasks. This can be used to overwrite.</description>
  2154. </property>
  2155. <property>
  2156. <name>hive.tez.log.level</name>
  2157. <value>INFO</value>
  2158. <description>
  2159. The log level to use for tasks executing as part of the DAG.
  2160. Used only if hive.tez.java.opts is used to configure Java options.
  2161. </description>
  2162. </property>
  2163. <property>
  2164. <name>hive.query.name</name>
  2165. <value/>
  2166. <description>
  2167. This named is used by Tez to set the dag name. This name in turn will appear on
  2168. the Tez UI representing the work that was done.
  2169. </description>
  2170. </property>
  2171. <property>
  2172. <name>hive.optimize.bucketingsorting</name>
  2173. <value>true</value>
  2174. <description>
  2175. Don't create a reducer for enforcing
  2176. bucketing/sorting for queries of the form:
  2177. insert overwrite table T2 select * from T1;
  2178. where T1 and T2 are bucketed/sorted by the same keys into the same number of buckets.
  2179. </description>
  2180. </property>
  2181. <property>
  2182. <name>hive.mapred.partitioner</name>
  2183. <value>org.apache.hadoop.hive.ql.io.DefaultHivePartitioner</value>
  2184. <description/>
  2185. </property>
  2186. <property>
  2187. <name>hive.enforce.sortmergebucketmapjoin</name>
  2188. <value>false</value>
  2189. <description>If the user asked for sort-merge bucketed map-side join, and it cannot be performed, should the query fail or not ?</description>
  2190. </property>
  2191. <property>
  2192. <name>hive.enforce.bucketmapjoin</name>
  2193. <value>false</value>
  2194. <description>
  2195. If the user asked for bucketed map-side join, and it cannot be performed,
  2196. should the query fail or not ? For example, if the buckets in the tables being joined are
  2197. not a multiple of each other, bucketed map-side join cannot be performed, and the
  2198. query will fail if hive.enforce.bucketmapjoin is set to true.
  2199. </description>
  2200. </property>
  2201. <property>
  2202. <name>hive.auto.convert.sortmerge.join</name>
  2203. <value>false</value>
  2204. <description>Will the join be automatically converted to a sort-merge join, if the joined tables pass the criteria for sort-merge join.</description>
  2205. </property>
  2206. <property>
  2207. <name>hive.auto.convert.sortmerge.join.bigtable.selection.policy</name>
  2208. <value>org.apache.hadoop.hive.ql.optimizer.AvgPartitionSizeBasedBigTableSelectorForAutoSMJ</value>
  2209. <description>
  2210. The policy to choose the big table for automatic conversion to sort-merge join.
  2211. By default, the table with the largest partitions is assigned the big table. All policies are:
  2212. . based on position of the table - the leftmost table is selected
  2213. org.apache.hadoop.hive.ql.optimizer.LeftmostBigTableSMJ.
  2214. . based on total size (all the partitions selected in the query) of the table
  2215. org.apache.hadoop.hive.ql.optimizer.TableSizeBasedBigTableSelectorForAutoSMJ.
  2216. . based on average size (all the partitions selected in the query) of the table
  2217. org.apache.hadoop.hive.ql.optimizer.AvgPartitionSizeBasedBigTableSelectorForAutoSMJ.
  2218. New policies can be added in future.
  2219. </description>
  2220. </property>
  2221. <property>
  2222. <name>hive.auto.convert.sortmerge.join.to.mapjoin</name>
  2223. <value>false</value>
  2224. <description>
  2225. If hive.auto.convert.sortmerge.join is set to true, and a join was converted to a sort-merge join,
  2226. this parameter decides whether each table should be tried as a big table, and effectively a map-join should be
  2227. tried. That would create a conditional task with n+1 children for a n-way join (1 child for each table as the
  2228. big table), and the backup task will be the sort-merge join. In some cases, a map-join would be faster than a
  2229. sort-merge join, if there is no advantage of having the output bucketed and sorted. For example, if a very big sorted
  2230. and bucketed table with few files (say 10 files) are being joined with a very small sorter and bucketed table
  2231. with few files (10 files), the sort-merge join will only use 10 mappers, and a simple map-only join might be faster
  2232. if the complete small table can fit in memory, and a map-join can be performed.
  2233. </description>
  2234. </property>
  2235. <property>
  2236. <name>hive.exec.script.trust</name>
  2237. <value>false</value>
  2238. <description/>
  2239. </property>
  2240. <property>
  2241. <name>hive.exec.rowoffset</name>
  2242. <value>false</value>
  2243. <description>Whether to provide the row offset virtual column</description>
  2244. </property>
  2245. <property>
  2246. <name>hive.optimize.index.filter</name>
  2247. <value>false</value>
  2248. <description>Whether to enable automatic use of indexes</description>
  2249. </property>
  2250. <property>
  2251. <name>hive.optimize.index.autoupdate</name>
  2252. <value>false</value>
  2253. <description>Whether to update stale indexes automatically</description>
  2254. </property>
  2255. <property>
  2256. <name>hive.optimize.ppd</name>
  2257. <value>true</value>
  2258. <description>Whether to enable predicate pushdown</description>
  2259. </property>
  2260. <property>
  2261. <name>hive.optimize.ppd.windowing</name>
  2262. <value>true</value>
  2263. <description>Whether to enable predicate pushdown through windowing</description>
  2264. </property>
  2265. <property>
  2266. <name>hive.ppd.recognizetransivity</name>
  2267. <value>true</value>
  2268. <description>Whether to transitively replicate predicate filters over equijoin conditions.</description>
  2269. </property>
  2270. <property>
  2271. <name>hive.ppd.remove.duplicatefilters</name>
  2272. <value>true</value>
  2273. <description>
  2274. During query optimization, filters may be pushed down in the operator tree.
  2275. If this config is true only pushed down filters remain in the operator tree,
  2276. and the original filter is removed. If this config is false, the original filter
  2277. is also left in the operator tree at the original place.
  2278. </description>
  2279. </property>
  2280. <property>
  2281. <name>hive.optimize.point.lookup</name>
  2282. <value>true</value>
  2283. <description>Whether to transform OR clauses in Filter operators into IN clauses</description>
  2284. </property>
  2285. <property>
  2286. <name>hive.optimize.point.lookup.min</name>
  2287. <value>31</value>
  2288. <description>Minimum number of OR clauses needed to transform into IN clauses</description>
  2289. </property>
  2290. <property>
  2291. <name>hive.optimize.partition.columns.separate</name>
  2292. <value>true</value>
  2293. <description>Extract partition columns from IN clauses</description>
  2294. </property>
  2295. <property>
  2296. <name>hive.optimize.constant.propagation</name>
  2297. <value>true</value>
  2298. <description>Whether to enable constant propagation optimizer</description>
  2299. </property>
  2300. <property>
  2301. <name>hive.optimize.remove.identity.project</name>
  2302. <value>true</value>
  2303. <description>Removes identity project from operator tree</description>
  2304. </property>
  2305. <property>
  2306. <name>hive.optimize.metadataonly</name>
  2307. <value>true</value>
  2308. <description/>
  2309. </property>
  2310. <property>
  2311. <name>hive.optimize.null.scan</name>
  2312. <value>true</value>
  2313. <description>Dont scan relations which are guaranteed to not generate any rows</description>
  2314. </property>
  2315. <property>
  2316. <name>hive.optimize.ppd.storage</name>
  2317. <value>true</value>
  2318. <description>Whether to push predicates down to storage handlers</description>
  2319. </property>
  2320. <property>
  2321. <name>hive.optimize.groupby</name>
  2322. <value>true</value>
  2323. <description>Whether to enable the bucketed group by from bucketed partitions/tables.</description>
  2324. </property>
  2325. <property>
  2326. <name>hive.optimize.bucketmapjoin</name>
  2327. <value>false</value>
  2328. <description>Whether to try bucket mapjoin</description>
  2329. </property>
  2330. <property>
  2331. <name>hive.optimize.bucketmapjoin.sortedmerge</name>
  2332. <value>false</value>
  2333. <description>Whether to try sorted bucket merge map join</description>
  2334. </property>
  2335. <property>
  2336. <name>hive.optimize.reducededuplication</name>
  2337. <value>true</value>
  2338. <description>
  2339. Remove extra map-reduce jobs if the data is already clustered by the same key which needs to be used again.
  2340. This should always be set to true. Since it is a new feature, it has been made configurable.
  2341. </description>
  2342. </property>
  2343. <property>
  2344. <name>hive.optimize.reducededuplication.min.reducer</name>
  2345. <value>4</value>
  2346. <description>
  2347. Reduce deduplication merges two RSs by moving key/parts/reducer-num of the child RS to parent RS.
  2348. 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.
  2349. The optimization will be automatically disabled if number of reducers would be less than specified value.
  2350. </description>
  2351. </property>
  2352. <property>
  2353. <name>hive.optimize.sort.dynamic.partition</name>
  2354. <value>false</value>
  2355. <description>
  2356. When enabled dynamic partitioning column will be globally sorted.
  2357. This way we can keep only one record writer open for each partition value
  2358. in the reducer thereby reducing the memory pressure on reducers.
  2359. </description>
  2360. </property>
  2361. <property>
  2362. <name>hive.optimize.sampling.orderby</name>
  2363. <value>false</value>
  2364. <description>Uses sampling on order-by clause for parallel execution.</description>
  2365. </property>
  2366. <property>
  2367. <name>hive.optimize.sampling.orderby.number</name>
  2368. <value>1000</value>
  2369. <description>Total number of samples to be obtained.</description>
  2370. </property>
  2371. <property>
  2372. <name>hive.optimize.sampling.orderby.percent</name>
  2373. <value>0.1</value>
  2374. <description>
  2375. Expects value between 0.0f and 1.0f.
  2376. Probability with which a row will be chosen.
  2377. </description>
  2378. </property>
  2379. <property>
  2380. <name>hive.optimize.distinct.rewrite</name>
  2381. <value>true</value>
  2382. <description>When applicable this optimization rewrites distinct aggregates from a single stage to multi-stage aggregation. This may not be optimal in all cases. Ideally, whether to trigger it or not should be cost based decision. Until Hive formalizes cost model for this, this is config driven.</description>
  2383. </property>
  2384. <property>
  2385. <name>hive.optimize.union.remove</name>
  2386. <value>false</value>
  2387. <description>
  2388. Whether to remove the union and push the operators between union and the filesink above union.
  2389. This avoids an extra scan of the output by union. This is independently useful for union
  2390. queries, and specially useful when hive.optimize.skewjoin.compiletime is set to true, since an
  2391. extra union is inserted.
  2392. The merge is triggered if either of hive.merge.mapfiles or hive.merge.mapredfiles is set to true.
  2393. If the user has set hive.merge.mapfiles to true and hive.merge.mapredfiles to false, the idea was the
  2394. number of reducers are few, so the number of files anyway are small. However, with this optimization,
  2395. we are increasing the number of files possibly by a big margin. So, we merge aggressively.
  2396. </description>
  2397. </property>
  2398. <property>
  2399. <name>hive.optimize.correlation</name>
  2400. <value>false</value>
  2401. <description>exploit intra-query correlations.</description>
  2402. </property>
  2403. <property>
  2404. <name>hive.optimize.limittranspose</name>
  2405. <value>false</value>
  2406. <description>
  2407. Whether to push a limit through left/right outer join or union. If the value is true and the size of the outer
  2408. input is reduced enough (as specified in hive.optimize.limittranspose.reduction), the limit is pushed
  2409. to the outer input or union; to remain semantically correct, the limit is kept on top of the join or the union too.
  2410. </description>
  2411. </property>
  2412. <property>
  2413. <name>hive.optimize.limittranspose.reductionpercentage</name>
  2414. <value>1.0</value>
  2415. <description>
  2416. When hive.optimize.limittranspose is true, this variable specifies the minimal reduction of the
  2417. size of the outer input of the join or input of the union that we should get in order to apply the rule.
  2418. </description>
  2419. </property>
  2420. <property>
  2421. <name>hive.optimize.limittranspose.reductiontuples</name>
  2422. <value>0</value>
  2423. <description>
  2424. When hive.optimize.limittranspose is true, this variable specifies the minimal reduction in the
  2425. number of tuples of the outer input of the join or the input of the union that you should get in order to apply the rule.
  2426. </description>
  2427. </property>
  2428. <property>
  2429. <name>hive.optimize.filter.stats.reduction</name>
  2430. <value>false</value>
  2431. <description>
  2432. Whether to simplify comparison
  2433. expressions in filter operators using column stats
  2434. </description>
  2435. </property>
  2436. <property>
  2437. <name>hive.optimize.skewjoin.compiletime</name>
  2438. <value>false</value>
  2439. <description>
  2440. Whether to create a separate plan for skewed keys for the tables in the join.
  2441. This is based on the skewed keys stored in the metadata. At compile time, the plan is broken
  2442. into different joins: one for the skewed keys, and the other for the remaining keys. And then,
  2443. a union is performed for the 2 joins generated above. So unless the same skewed key is present
  2444. in both the joined tables, the join for the skewed key will be performed as a map-side join.
  2445. The main difference between this parameter and hive.optimize.skewjoin is that this parameter
  2446. uses the skew information stored in the metastore to optimize the plan at compile time itself.
  2447. If there is no skew information in the metadata, this parameter will not have any affect.
  2448. Both hive.optimize.skewjoin.compiletime and hive.optimize.skewjoin should be set to true.
  2449. Ideally, hive.optimize.skewjoin should be renamed as hive.optimize.skewjoin.runtime, but not doing
  2450. so for backward compatibility.
  2451. If the skew information is correctly stored in the metadata, hive.optimize.skewjoin.compiletime
  2452. would change the query plan to take care of it, and hive.optimize.skewjoin will be a no-op.
  2453. </description>
  2454. </property>
  2455. <property>
  2456. <name>hive.optimize.cte.materialize.threshold</name>
  2457. <value>-1</value>
  2458. <description>
  2459. If the number of references to a CTE clause exceeds this threshold, Hive will materialize it
  2460. before executing the main query block. -1 will disable this feature.
  2461. </description>
  2462. </property>
  2463. <property>
  2464. <name>hive.optimize.index.filter.compact.minsize</name>
  2465. <value>5368709120</value>
  2466. <description>Minimum size (in bytes) of the inputs on which a compact index is automatically used.</description>
  2467. </property>
  2468. <property>
  2469. <name>hive.optimize.index.filter.compact.maxsize</name>
  2470. <value>-1</value>
  2471. <description>Maximum size (in bytes) of the inputs on which a compact index is automatically used. A negative number is equivalent to infinity.</description>
  2472. </property>
  2473. <property>
  2474. <name>hive.index.compact.query.max.entries</name>
  2475. <value>10000000</value>
  2476. <description>The maximum number of index entries to read during a query that uses the compact index. Negative value is equivalent to infinity.</description>
  2477. </property>
  2478. <property>
  2479. <name>hive.index.compact.query.max.size</name>
  2480. <value>10737418240</value>
  2481. <description>The maximum number of bytes that a query using the compact index can read. Negative value is equivalent to infinity.</description>
  2482. </property>
  2483. <property>
  2484. <name>hive.index.compact.binary.search</name>
  2485. <value>true</value>
  2486. <description>Whether or not to use a binary search to find the entries in an index table that match the filter, where possible</description>
  2487. </property>
  2488. <property>
  2489. <name>hive.stats.autogather</name>
  2490. <value>true</value>
  2491. <description>A flag to gather statistics (only basic) automatically during the INSERT OVERWRITE command.</description>
  2492. </property>
  2493. <property>
  2494. <name>hive.stats.column.autogather</name>
  2495. <value>false</value>
  2496. <description>A flag to gather column statistics automatically.</description>
  2497. </property>
  2498. <property>
  2499. <name>hive.stats.dbclass</name>
  2500. <value>fs</value>
  2501. <description>
  2502. Expects one of the pattern in [custom, fs].
  2503. The storage that stores temporary Hive statistics. In filesystem based statistics collection ('fs'),
  2504. each task writes statistics it has collected in a file on the filesystem, which will be aggregated
  2505. after the job has finished. Supported values are fs (filesystem) and custom as defined in StatsSetupConst.java.
  2506. </description>
  2507. </property>
  2508. <property>
  2509. <name>hive.stats.default.publisher</name>
  2510. <value/>
  2511. <description>The Java class (implementing the StatsPublisher interface) that is used by default if hive.stats.dbclass is custom type.</description>
  2512. </property>
  2513. <property>
  2514. <name>hive.stats.default.aggregator</name>
  2515. <value/>
  2516. <description>The Java class (implementing the StatsAggregator interface) that is used by default if hive.stats.dbclass is custom type.</description>
  2517. </property>
  2518. <property>
  2519. <name>hive.stats.atomic</name>
  2520. <value>false</value>
  2521. <description>whether to update metastore stats only if all stats are available</description>
  2522. </property>
  2523. <property>
  2524. <name>hive.client.stats.counters</name>
  2525. <value/>
  2526. <description>
  2527. Subset of counters that should be of interest for hive.client.stats.publishers (when one wants to limit their publishing).
  2528. Non-display names should be used
  2529. </description>
  2530. </property>
  2531. <property>
  2532. <name>hive.stats.reliable</name>
  2533. <value>false</value>
  2534. <description>
  2535. Whether queries will fail because stats cannot be collected completely accurately.
  2536. If this is set to true, reading/writing from/into a partition may fail because the stats
  2537. could not be computed accurately.
  2538. </description>
  2539. </property>
  2540. <property>
  2541. <name>hive.analyze.stmt.collect.partlevel.stats</name>
  2542. <value>true</value>
  2543. <description>analyze table T compute statistics for columns. Queries like these should compute partitionlevel stats for partitioned table even when no part spec is specified.</description>
  2544. </property>
  2545. <property>
  2546. <name>hive.stats.gather.num.threads</name>
  2547. <value>10</value>
  2548. <description>
  2549. Number of threads used by partialscan/noscan analyze command for partitioned tables.
  2550. This is applicable only for file formats that implement StatsProvidingRecordReader (like ORC).
  2551. </description>
  2552. </property>
  2553. <property>
  2554. <name>hive.stats.collect.tablekeys</name>
  2555. <value>false</value>
  2556. <description>
  2557. Whether join and group by keys on tables are derived and maintained in the QueryPlan.
  2558. This is useful to identify how tables are accessed and to determine if they should be bucketed.
  2559. </description>
  2560. </property>
  2561. <property>
  2562. <name>hive.stats.collect.scancols</name>
  2563. <value>false</value>
  2564. <description>
  2565. Whether column accesses are tracked in the QueryPlan.
  2566. This is useful to identify how tables are accessed and to determine if there are wasted columns that can be trimmed.
  2567. </description>
  2568. </property>
  2569. <property>
  2570. <name>hive.stats.ndv.error</name>
  2571. <value>20.0</value>
  2572. <description>
  2573. Standard error expressed in percentage. Provides a tradeoff between accuracy and compute cost.
  2574. A lower value for error indicates higher accuracy and a higher compute cost.
  2575. </description>
  2576. </property>
  2577. <property>
  2578. <name>hive.metastore.stats.ndv.densityfunction</name>
  2579. <value>false</value>
  2580. <description>Whether to use density function to estimate the NDV for the whole table based on the NDV of partitions</description>
  2581. </property>
  2582. <property>
  2583. <name>hive.stats.max.variable.length</name>
  2584. <value>100</value>
  2585. <description>
  2586. To estimate the size of data flowing through operators in Hive/Tez(for reducer estimation etc.),
  2587. average row size is multiplied with the total number of rows coming out of each operator.
  2588. Average row size is computed from average column size of all columns in the row. In the absence
  2589. of column statistics, for variable length columns (like string, bytes etc.), this value will be
  2590. used. For fixed length columns their corresponding Java equivalent sizes are used
  2591. (float - 4 bytes, double - 8 bytes etc.).
  2592. </description>
  2593. </property>
  2594. <property>
  2595. <name>hive.stats.list.num.entries</name>
  2596. <value>10</value>
  2597. <description>
  2598. To estimate the size of data flowing through operators in Hive/Tez(for reducer estimation etc.),
  2599. average row size is multiplied with the total number of rows coming out of each operator.
  2600. Average row size is computed from average column size of all columns in the row. In the absence
  2601. of column statistics and for variable length complex columns like list, the average number of
  2602. entries/values can be specified using this config.
  2603. </description>
  2604. </property>
  2605. <property>
  2606. <name>hive.stats.map.num.entries</name>
  2607. <value>10</value>
  2608. <description>
  2609. To estimate the size of data flowing through operators in Hive/Tez(for reducer estimation etc.),
  2610. average row size is multiplied with the total number of rows coming out of each operator.
  2611. Average row size is computed from average column size of all columns in the row. In the absence
  2612. of column statistics and for variable length complex columns like map, the average number of
  2613. entries/values can be specified using this config.
  2614. </description>
  2615. </property>
  2616. <property>
  2617. <name>hive.stats.fetch.partition.stats</name>
  2618. <value>true</value>
  2619. <description>
  2620. Annotation of operator tree with statistics information requires partition level basic
  2621. statistics like number of rows, data size and file size. Partition statistics are fetched from
  2622. metastore. Fetching partition statistics for each needed partition can be expensive when the
  2623. number of partitions is high. This flag can be used to disable fetching of partition statistics
  2624. from metastore. When this flag is disabled, Hive will make calls to filesystem to get file sizes
  2625. and will estimate the number of rows from row schema.
  2626. </description>
  2627. </property>
  2628. <property>
  2629. <name>hive.stats.fetch.column.stats</name>
  2630. <value>false</value>
  2631. <description>
  2632. Annotation of operator tree with statistics information requires column statistics.
  2633. Column statistics are fetched from metastore. Fetching column statistics for each needed column
  2634. can be expensive when the number of columns is high. This flag can be used to disable fetching
  2635. of column statistics from metastore.
  2636. </description>
  2637. </property>
  2638. <property>
  2639. <name>hive.stats.join.factor</name>
  2640. <value>1.1</value>
  2641. <description>
  2642. Hive/Tez optimizer estimates the data size flowing through each of the operators. JOIN operator
  2643. uses column statistics to estimate the number of rows flowing out of it and hence the data size.
  2644. In the absence of column statistics, this factor determines the amount of rows that flows out
  2645. of JOIN operator.
  2646. </description>
  2647. </property>
  2648. <property>
  2649. <name>hive.stats.deserialization.factor</name>
  2650. <value>1.0</value>
  2651. <description>
  2652. Hive/Tez optimizer estimates the data size flowing through each of the operators. In the absence
  2653. of basic statistics like number of rows and data size, file size is used to estimate the number
  2654. of rows and data size. Since files in tables/partitions are serialized (and optionally
  2655. compressed) the estimates of number of rows and data size cannot be reliably determined.
  2656. This factor is multiplied with the file size to account for serialization and compression.
  2657. </description>
  2658. </property>
  2659. <property>
  2660. <name>hive.stats.filter.in.factor</name>
  2661. <value>1.0</value>
  2662. <description>
  2663. Currently column distribution is assumed to be uniform. This can lead to overestimation/underestimation
  2664. in the number of rows filtered by a certain operator, which in turn might lead to overprovision or
  2665. underprovision of resources. This factor is applied to the cardinality estimation of IN clauses in
  2666. filter operators.
  2667. </description>
  2668. </property>
  2669. <property>
  2670. <name>hive.support.concurrency</name>
  2671. <value>false</value>
  2672. <description>
  2673. Whether Hive supports concurrency control or not.
  2674. A ZooKeeper instance must be up and running when using zookeeper Hive lock manager
  2675. </description>
  2676. </property>
  2677. <property>
  2678. <name>hive.lock.manager</name>
  2679. <value>org.apache.hadoop.hive.ql.lockmgr.zookeeper.ZooKeeperHiveLockManager</value>
  2680. <description/>
  2681. </property>
  2682. <property>
  2683. <name>hive.lock.numretries</name>
  2684. <value>100</value>
  2685. <description>The number of times you want to try to get all the locks</description>
  2686. </property>
  2687. <property>
  2688. <name>hive.unlock.numretries</name>
  2689. <value>10</value>
  2690. <description>The number of times you want to retry to do one unlock</description>
  2691. </property>
  2692. <property>
  2693. <name>hive.lock.sleep.between.retries</name>
  2694. <value>60s</value>
  2695. <description>
  2696. Expects a time value with unit (d/day, h/hour, m/min, s/sec, ms/msec, us/usec, ns/nsec), which is sec if not specified.
  2697. The time should be in between 0 sec (exclusive) and 9223372036854775807 sec (exclusive).
  2698. The maximum sleep time between various retries
  2699. </description>
  2700. </property>
  2701. <property>
  2702. <name>hive.lock.mapred.only.operation</name>
  2703. <value>false</value>
  2704. <description>
  2705. This param is to control whether or not only do lock on queries
  2706. that need to execute at least one mapred job.
  2707. </description>
  2708. </property>
  2709. <property>
  2710. <name>hive.zookeeper.quorum</name>
  2711. <value/>
  2712. <description>
  2713. List of ZooKeeper servers to talk to. This is needed for:
  2714. 1. Read/write locks - when hive.lock.manager is set to
  2715. org.apache.hadoop.hive.ql.lockmgr.zookeeper.ZooKeeperHiveLockManager,
  2716. 2. When HiveServer2 supports service discovery via Zookeeper.
  2717. 3. For delegation token storage if zookeeper store is used, if
  2718. hive.cluster.delegation.token.store.zookeeper.connectString is not set
  2719. 4. LLAP daemon registry service
  2720. </description>
  2721. </property>
  2722. <property>
  2723. <name>hive.zookeeper.client.port</name>
  2724. <value>2181</value>
  2725. <description>
  2726. The port of ZooKeeper servers to talk to.
  2727. If the list of Zookeeper servers specified in hive.zookeeper.quorum
  2728. does not contain port numbers, this value is used.
  2729. </description>
  2730. </property>
  2731. <property>
  2732. <name>hive.zookeeper.session.timeout</name>
  2733. <value>1200000ms</value>
  2734. <description>
  2735. Expects a time value with unit (d/day, h/hour, m/min, s/sec, ms/msec, us/usec, ns/nsec), which is msec if not specified.
  2736. ZooKeeper client's session timeout (in milliseconds). The client is disconnected, and as a result, all locks released,
  2737. if a heartbeat is not sent in the timeout.
  2738. </description>
  2739. </property>
  2740. <property>
  2741. <name>hive.zookeeper.namespace</name>
  2742. <value>hive_zookeeper_namespace</value>
  2743. <description>The parent node under which all ZooKeeper nodes are created.</description>
  2744. </property>
  2745. <property>
  2746. <name>hive.zookeeper.clean.extra.nodes</name>
  2747. <value>false</value>
  2748. <description>Clean extra nodes at the end of the session.</description>
  2749. </property>
  2750. <property>
  2751. <name>hive.zookeeper.connection.max.retries</name>
  2752. <value>3</value>
  2753. <description>Max number of times to retry when connecting to the ZooKeeper server.</description>
  2754. </property>
  2755. <property>
  2756. <name>hive.zookeeper.connection.basesleeptime</name>
  2757. <value>1000ms</value>
  2758. <description>
  2759. Expects a time value with unit (d/day, h/hour, m/min, s/sec, ms/msec, us/usec, ns/nsec), which is msec if not specified.
  2760. Initial amount of time (in milliseconds) to wait between retries
  2761. when connecting to the ZooKeeper server when using ExponentialBackoffRetry policy.
  2762. </description>
  2763. </property>
  2764. <property>
  2765. <name>hive.txn.manager</name>
  2766. <value>org.apache.hadoop.hive.ql.lockmgr.DummyTxnManager</value>
  2767. <description>
  2768. Set to org.apache.hadoop.hive.ql.lockmgr.DbTxnManager as part of turning on Hive
  2769. transactions, which also requires appropriate settings for hive.compactor.initiator.on,
  2770. hive.compactor.worker.threads, hive.support.concurrency (true), hive.enforce.bucketing
  2771. (true), and hive.exec.dynamic.partition.mode (nonstrict).
  2772. The default DummyTxnManager replicates pre-Hive-0.13 behavior and provides
  2773. no transactions.
  2774. </description>
  2775. </property>
  2776. <property>
  2777. <name>hive.txn.timeout</name>
  2778. <value>300s</value>
  2779. <description>
  2780. Expects a time value with unit (d/day, h/hour, m/min, s/sec, ms/msec, us/usec, ns/nsec), which is sec if not specified.
  2781. time after which transactions are declared aborted if the client has not sent a heartbeat.
  2782. </description>
  2783. </property>
  2784. <property>
  2785. <name>hive.txn.heartbeat.threadpool.size</name>
  2786. <value>5</value>
  2787. <description>The number of threads to use for heartbeating. For Hive CLI, 1 is enough. For HiveServer2, we need a few</description>
  2788. </property>
  2789. <property>
  2790. <name>hive.txn.manager.dump.lock.state.on.acquire.timeout</name>
  2791. <value>false</value>
  2792. <description>Set this to true so that when attempt to acquire a lock on resource times out, the current state of the lock manager is dumped to log file. This is for debugging. See also hive.lock.numretries and hive.lock.sleep.between.retries.</description>
  2793. </property>
  2794. <property>
  2795. <name>hive.max.open.txns</name>
  2796. <value>100000</value>
  2797. <description>
  2798. Maximum number of open transactions. If
  2799. current open transactions reach this limit, future open transaction requests will be
  2800. rejected, until this number goes below the limit.
  2801. </description>
  2802. </property>
  2803. <property>
  2804. <name>hive.count.open.txns.interval</name>
  2805. <value>1s</value>
  2806. <description>
  2807. Expects a time value with unit (d/day, h/hour, m/min, s/sec, ms/msec, us/usec, ns/nsec), which is sec if not specified.
  2808. Time in seconds between checks to count open transactions.
  2809. </description>
  2810. </property>
  2811. <property>
  2812. <name>hive.txn.max.open.batch</name>
  2813. <value>1000</value>
  2814. <description>
  2815. Maximum number of transactions that can be fetched in one call to open_txns().
  2816. This controls how many transactions streaming agents such as Flume or Storm open
  2817. simultaneously. The streaming agent then writes that number of entries into a single
  2818. file (per Flume agent or Storm bolt). Thus increasing this value decreases the number
  2819. of delta files created by streaming agents. But it also increases the number of open
  2820. transactions that Hive has to track at any given time, which may negatively affect
  2821. read performance.
  2822. </description>
  2823. </property>
  2824. <property>
  2825. <name>hive.txn.retryable.sqlex.regex</name>
  2826. <value/>
  2827. <description>
  2828. Comma separated list
  2829. of regular expression patterns for SQL state, error code, and error message of
  2830. retryable SQLExceptions, that's suitable for the metastore DB.
  2831. For example: Can't serialize.*,40001$,^Deadlock,.*ORA-08176.*
  2832. The string that the regex will be matched against is of the following form, where ex is a SQLException:
  2833. ex.getMessage() + " (SQLState=" + ex.getSQLState() + ", ErrorCode=" + ex.getErrorCode() + ")"
  2834. </description>
  2835. </property>
  2836. <property>
  2837. <name>hive.compactor.initiator.on</name>
  2838. <value>false</value>
  2839. <description>
  2840. Whether to run the initiator and cleaner threads on this metastore instance or not.
  2841. Set this to true on one instance of the Thrift metastore service as part of turning
  2842. on Hive transactions. For a complete list of parameters required for turning on
  2843. transactions, see hive.txn.manager.
  2844. </description>
  2845. </property>
  2846. <property>
  2847. <name>hive.compactor.worker.threads</name>
  2848. <value>0</value>
  2849. <description>
  2850. How many compactor worker threads to run on this metastore instance. Set this to a
  2851. positive number on one or more instances of the Thrift metastore service as part of
  2852. turning on Hive transactions. For a complete list of parameters required for turning
  2853. on transactions, see hive.txn.manager.
  2854. Worker threads spawn MapReduce jobs to do compactions. They do not do the compactions
  2855. themselves. Increasing the number of worker threads will decrease the time it takes
  2856. tables or partitions to be compacted once they are determined to need compaction.
  2857. It will also increase the background load on the Hadoop cluster as more MapReduce jobs
  2858. will be running in the background.
  2859. </description>
  2860. </property>
  2861. <property>
  2862. <name>hive.compactor.worker.timeout</name>
  2863. <value>86400s</value>
  2864. <description>
  2865. Expects a time value with unit (d/day, h/hour, m/min, s/sec, ms/msec, us/usec, ns/nsec), which is sec if not specified.
  2866. Time in seconds after which a compaction job will be declared failed and the
  2867. compaction re-queued.
  2868. </description>
  2869. </property>
  2870. <property>
  2871. <name>hive.compactor.check.interval</name>
  2872. <value>300s</value>
  2873. <description>
  2874. Expects a time value with unit (d/day, h/hour, m/min, s/sec, ms/msec, us/usec, ns/nsec), which is sec if not specified.
  2875. Time in seconds between checks to see if any tables or partitions need to be
  2876. compacted. This should be kept high because each check for compaction requires
  2877. many calls against the NameNode.
  2878. Decreasing this value will reduce the time it takes for compaction to be started
  2879. for a table or partition that requires compaction. However, checking if compaction
  2880. is needed requires several calls to the NameNode for each table or partition that
  2881. has had a transaction done on it since the last major compaction. So decreasing this
  2882. value will increase the load on the NameNode.
  2883. </description>
  2884. </property>
  2885. <property>
  2886. <name>hive.compactor.delta.num.threshold</name>
  2887. <value>10</value>
  2888. <description>
  2889. Number of delta directories in a table or partition that will trigger a minor
  2890. compaction.
  2891. </description>
  2892. </property>
  2893. <property>
  2894. <name>hive.compactor.delta.pct.threshold</name>
  2895. <value>0.1</value>
  2896. <description>
  2897. Percentage (fractional) size of the delta files relative to the base that will trigger
  2898. a major compaction. (1.0 = 100%, so the default 0.1 = 10%.)
  2899. </description>
  2900. </property>
  2901. <property>
  2902. <name>hive.compactor.max.num.delta</name>
  2903. <value>500</value>
  2904. <description>Maximum number of delta files that the compactor will attempt to handle in a single job.</description>
  2905. </property>
  2906. <property>
  2907. <name>hive.compactor.abortedtxn.threshold</name>
  2908. <value>1000</value>
  2909. <description>
  2910. Number of aborted transactions involving a given table or partition that will trigger
  2911. a major compaction.
  2912. </description>
  2913. </property>
  2914. <property>
  2915. <name>hive.compactor.initiator.failed.compacts.threshold</name>
  2916. <value>2</value>
  2917. <description>
  2918. Expects value between 1 and 20.
  2919. Number of consecutive compaction failures (per table/partition) after which automatic compactions will not be scheduled any more. Note that this must be less than hive.compactor.history.retention.failed.
  2920. </description>
  2921. </property>
  2922. <property>
  2923. <name>hive.compactor.cleaner.run.interval</name>
  2924. <value>5000ms</value>
  2925. <description>
  2926. Expects a time value with unit (d/day, h/hour, m/min, s/sec, ms/msec, us/usec, ns/nsec), which is msec if not specified.
  2927. Time between runs of the cleaner thread
  2928. </description>
  2929. </property>
  2930. <property>
  2931. <name>hive.compactor.job.queue</name>
  2932. <value/>
  2933. <description>
  2934. Used to specify name of Hadoop queue to which
  2935. Compaction jobs will be submitted. Set to empty string to let Hadoop choose the queue.
  2936. </description>
  2937. </property>
  2938. <property>
  2939. <name>hive.compactor.history.retention.succeeded</name>
  2940. <value>3</value>
  2941. <description>
  2942. Expects value between 0 and 100.
  2943. Determines how many successful compaction records will be retained in compaction history for a given table/partition.
  2944. </description>
  2945. </property>
  2946. <property>
  2947. <name>hive.compactor.history.retention.failed</name>
  2948. <value>3</value>
  2949. <description>
  2950. Expects value between 0 and 100.
  2951. Determines how many failed compaction records will be retained in compaction history for a given table/partition.
  2952. </description>
  2953. </property>
  2954. <property>
  2955. <name>hive.compactor.history.retention.attempted</name>
  2956. <value>2</value>
  2957. <description>
  2958. Expects value between 0 and 100.
  2959. Determines how many attempted compaction records will be retained in compaction history for a given table/partition.
  2960. </description>
  2961. </property>
  2962. <property>
  2963. <name>hive.compactor.history.reaper.interval</name>
  2964. <value>2m</value>
  2965. <description>
  2966. Expects a time value with unit (d/day, h/hour, m/min, s/sec, ms/msec, us/usec, ns/nsec), which is msec if not specified.
  2967. Determines how often compaction history reaper runs
  2968. </description>
  2969. </property>
  2970. <property>
  2971. <name>hive.timedout.txn.reaper.start</name>
  2972. <value>100s</value>
  2973. <description>
  2974. Expects a time value with unit (d/day, h/hour, m/min, s/sec, ms/msec, us/usec, ns/nsec), which is msec if not specified.
  2975. Time delay of 1st reaper run after metastore start
  2976. </description>
  2977. </property>
  2978. <property>
  2979. <name>hive.timedout.txn.reaper.interval</name>
  2980. <value>180s</value>
  2981. <description>
  2982. Expects a time value with unit (d/day, h/hour, m/min, s/sec, ms/msec, us/usec, ns/nsec), which is msec if not specified.
  2983. Time interval describing how often the reaper runs
  2984. </description>
  2985. </property>
  2986. <property>
  2987. <name>hive.writeset.reaper.interval</name>
  2988. <value>60s</value>
  2989. <description>
  2990. Expects a time value with unit (d/day, h/hour, m/min, s/sec, ms/msec, us/usec, ns/nsec), which is msec if not specified.
  2991. Frequency of WriteSet reaper runs
  2992. </description>
  2993. </property>
  2994. <property>
  2995. <name>hive.hbase.wal.enabled</name>
  2996. <value>true</value>
  2997. <description>
  2998. Whether writes to HBase should be forced to the write-ahead log.
  2999. Disabling this improves HBase write performance at the risk of lost writes in case of a crash.
  3000. </description>
  3001. </property>
  3002. <property>
  3003. <name>hive.hbase.generatehfiles</name>
  3004. <value>false</value>
  3005. <description>True when HBaseStorageHandler should generate hfiles instead of operate against the online table.</description>
  3006. </property>
  3007. <property>
  3008. <name>hive.hbase.snapshot.name</name>
  3009. <value/>
  3010. <description>The HBase table snapshot name to use.</description>
  3011. </property>
  3012. <property>
  3013. <name>hive.hbase.snapshot.restoredir</name>
  3014. <value>/tmp</value>
  3015. <description>The directory in which to restore the HBase table snapshot.</description>
  3016. </property>
  3017. <property>
  3018. <name>hive.archive.enabled</name>
  3019. <value>false</value>
  3020. <description>Whether archiving operations are permitted</description>
  3021. </property>
  3022. <property>
  3023. <name>hive.optimize.index.groupby</name>
  3024. <value>false</value>
  3025. <description>Whether to enable optimization of group-by queries using Aggregate indexes.</description>
  3026. </property>
  3027. <property>
  3028. <name>hive.outerjoin.supports.filters</name>
  3029. <value>true</value>
  3030. <description/>
  3031. </property>
  3032. <property>
  3033. <name>hive.fetch.task.conversion</name>
  3034. <value>more</value>
  3035. <description>
  3036. Expects one of [none, minimal, more].
  3037. Some select queries can be converted to single FETCH task minimizing latency.
  3038. Currently the query should be single sourced not having any subquery and should not have
  3039. any aggregations or distincts (which incurs RS), lateral views and joins.
  3040. 0. none : disable hive.fetch.task.conversion
  3041. 1. minimal : SELECT STAR, FILTER on partition columns, LIMIT only
  3042. 2. more : SELECT, FILTER, LIMIT only (support TABLESAMPLE and virtual columns)
  3043. </description>
  3044. </property>
  3045. <property>
  3046. <name>hive.fetch.task.conversion.threshold</name>
  3047. <value>1073741824</value>
  3048. <description>
  3049. Input threshold for applying hive.fetch.task.conversion. If target table is native, input length
  3050. is calculated by summation of file lengths. If it's not native, storage handler for the table
  3051. can optionally implement org.apache.hadoop.hive.ql.metadata.InputEstimator interface.
  3052. </description>
  3053. </property>
  3054. <property>
  3055. <name>hive.fetch.task.aggr</name>
  3056. <value>false</value>
  3057. <description>
  3058. Aggregation queries with no group-by clause (for example, select count(*) from src) execute
  3059. final aggregations in single reduce task. If this is set true, Hive delegates final aggregation
  3060. stage to fetch task, possibly decreasing the query time.
  3061. </description>
  3062. </property>
  3063. <property>
  3064. <name>hive.compute.query.using.stats</name>
  3065. <value>false</value>
  3066. <description>
  3067. When set to true Hive will answer a few queries like count(1) purely using stats
  3068. stored in metastore. For basic stats collection turn on the config hive.stats.autogather to true.
  3069. For more advanced stats collection need to run analyze table queries.
  3070. </description>
  3071. </property>
  3072. <property>
  3073. <name>hive.fetch.output.serde</name>
  3074. <value>org.apache.hadoop.hive.serde2.DelimitedJSONSerDe</value>
  3075. <description>The SerDe used by FetchTask to serialize the fetch output.</description>
  3076. </property>
  3077. <property>
  3078. <name>hive.cache.expr.evaluation</name>
  3079. <value>true</value>
  3080. <description>
  3081. If true, the evaluation result of a deterministic expression referenced twice or more
  3082. will be cached.
  3083. For example, in a filter condition like '.. where key + 10 = 100 or key + 10 = 0'
  3084. the expression 'key + 10' will be evaluated/cached once and reused for the following
  3085. expression ('key + 10 = 0'). Currently, this is applied only to expressions in select
  3086. or filter operators.
  3087. </description>
  3088. </property>
  3089. <property>
  3090. <name>hive.variable.substitute</name>
  3091. <value>true</value>
  3092. <description>This enables substitution using syntax like ${var} ${system:var} and ${env:var}.</description>
  3093. </property>
  3094. <property>
  3095. <name>hive.variable.substitute.depth</name>
  3096. <value>40</value>
  3097. <description>The maximum replacements the substitution engine will do.</description>
  3098. </property>
  3099. <property>
  3100. <name>hive.conf.validation</name>
  3101. <value>true</value>
  3102. <description>Enables type checking for registered Hive configurations</description>
  3103. </property>
  3104. <property>
  3105. <name>hive.semantic.analyzer.hook</name>
  3106. <value/>
  3107. <description/>
  3108. </property>
  3109. <property>
  3110. <name>hive.security.authorization.enabled</name>
  3111. <value>false</value>
  3112. <description>enable or disable the Hive client authorization</description>
  3113. </property>
  3114. <property>
  3115. <name>hive.security.authorization.manager</name>
  3116. <value>org.apache.hadoop.hive.ql.security.authorization.plugin.sqlstd.SQLStdHiveAuthorizerFactory</value>
  3117. <description>
  3118. The Hive client authorization manager class name. The user defined authorization class should implement
  3119. interface org.apache.hadoop.hive.ql.security.authorization.HiveAuthorizationProvider.
  3120. </description>
  3121. </property>
  3122. <property>
  3123. <name>hive.security.authenticator.manager</name>
  3124. <value>org.apache.hadoop.hive.ql.security.HadoopDefaultAuthenticator</value>
  3125. <description>
  3126. hive client authenticator manager class name. The user defined authenticator should implement
  3127. interface org.apache.hadoop.hive.ql.security.HiveAuthenticationProvider.
  3128. </description>
  3129. </property>
  3130. <property>
  3131. <name>hive.security.metastore.authorization.manager</name>
  3132. <value>org.apache.hadoop.hive.ql.security.authorization.DefaultHiveMetastoreAuthorizationProvider</value>
  3133. <description>
  3134. Names of authorization manager classes (comma separated) to be used in the metastore
  3135. for authorization. The user defined authorization class should implement interface
  3136. org.apache.hadoop.hive.ql.security.authorization.HiveMetastoreAuthorizationProvider.
  3137. All authorization manager classes have to successfully authorize the metastore API
  3138. call for the command execution to be allowed.
  3139. </description>
  3140. </property>
  3141. <property>
  3142. <name>hive.security.metastore.authorization.auth.reads</name>
  3143. <value>true</value>
  3144. <description>If this is true, metastore authorizer authorizes read actions on database, table</description>
  3145. </property>
  3146. <property>
  3147. <name>hive.security.metastore.authenticator.manager</name>
  3148. <value>org.apache.hadoop.hive.ql.security.HadoopDefaultMetastoreAuthenticator</value>
  3149. <description>
  3150. authenticator manager class name to be used in the metastore for authentication.
  3151. The user defined authenticator should implement interface org.apache.hadoop.hive.ql.security.HiveAuthenticationProvider.
  3152. </description>
  3153. </property>
  3154. <property>
  3155. <name>hive.security.authorization.createtable.user.grants</name>
  3156. <value/>
  3157. <description>
  3158. the privileges automatically granted to some users whenever a table gets created.
  3159. An example like "userX,userY:select;userZ:create" will grant select privilege to userX and userY,
  3160. and grant create privilege to userZ whenever a new table created.
  3161. </description>
  3162. </property>
  3163. <property>
  3164. <name>hive.security.authorization.createtable.group.grants</name>
  3165. <value/>
  3166. <description>
  3167. the privileges automatically granted to some groups whenever a table gets created.
  3168. An example like "groupX,groupY:select;groupZ:create" will grant select privilege to groupX and groupY,
  3169. and grant create privilege to groupZ whenever a new table created.
  3170. </description>
  3171. </property>
  3172. <property>
  3173. <name>hive.security.authorization.createtable.role.grants</name>
  3174. <value/>
  3175. <description>
  3176. the privileges automatically granted to some roles whenever a table gets created.
  3177. An example like "roleX,roleY:select;roleZ:create" will grant select privilege to roleX and roleY,
  3178. and grant create privilege to roleZ whenever a new table created.
  3179. </description>
  3180. </property>
  3181. <property>
  3182. <name>hive.security.authorization.createtable.owner.grants</name>
  3183. <value/>
  3184. <description>
  3185. The privileges automatically granted to the owner whenever a table gets created.
  3186. An example like "select,drop" will grant select and drop privilege to the owner
  3187. of the table. Note that the default gives the creator of a table no access to the
  3188. table (but see HIVE-8067).
  3189. </description>
  3190. </property>
  3191. <property>
  3192. <name>hive.security.authorization.task.factory</name>
  3193. <value>org.apache.hadoop.hive.ql.parse.authorization.HiveAuthorizationTaskFactoryImpl</value>
  3194. <description>Authorization DDL task factory implementation</description>
  3195. </property>
  3196. <property>
  3197. <name>hive.security.authorization.sqlstd.confwhitelist</name>
  3198. <value/>
  3199. <description>
  3200. List of comma separated Java regexes. Configurations parameters that match these
  3201. regexes can be modified by user when SQL standard authorization is enabled.
  3202. To get the default value, use the 'set &lt;param&gt;' command.
  3203. Note that the hive.conf.restricted.list checks are still enforced after the white list
  3204. check
  3205. </description>
  3206. </property>
  3207. <property>
  3208. <name>hive.security.authorization.sqlstd.confwhitelist.append</name>
  3209. <value/>
  3210. <description>
  3211. List of comma separated Java regexes, to be appended to list set in
  3212. hive.security.authorization.sqlstd.confwhitelist. Using this list instead
  3213. of updating the original list means that you can append to the defaults
  3214. set by SQL standard authorization instead of replacing it entirely.
  3215. </description>
  3216. </property>
  3217. <property>
  3218. <name>hive.cli.print.header</name>
  3219. <value>false</value>
  3220. <description>Whether to print the names of the columns in query output.</description>
  3221. </property>
  3222. <property>
  3223. <name>hive.cli.tez.session.async</name>
  3224. <value>true</value>
  3225. <description>
  3226. Whether to start Tez
  3227. session in background when running CLI with Tez, allowing CLI to be available earlier.
  3228. </description>
  3229. </property>
  3230. <property>
  3231. <name>hive.error.on.empty.partition</name>
  3232. <value>false</value>
  3233. <description>Whether to throw an exception if dynamic partition insert generates empty results.</description>
  3234. </property>
  3235. <property>
  3236. <name>hive.index.compact.file</name>
  3237. <value/>
  3238. <description>internal variable</description>
  3239. </property>
  3240. <property>
  3241. <name>hive.index.blockfilter.file</name>
  3242. <value/>
  3243. <description>internal variable</description>
  3244. </property>
  3245. <property>
  3246. <name>hive.index.compact.file.ignore.hdfs</name>
  3247. <value>false</value>
  3248. <description>
  3249. When true the HDFS location stored in the index file will be ignored at runtime.
  3250. If the data got moved or the name of the cluster got changed, the index data should still be usable.
  3251. </description>
  3252. </property>
  3253. <property>
  3254. <name>hive.exim.uri.scheme.whitelist</name>
  3255. <value>hdfs,pfile</value>
  3256. <description>A comma separated list of acceptable URI schemes for import and export.</description>
  3257. </property>
  3258. <property>
  3259. <name>hive.exim.strict.repl.tables</name>
  3260. <value>true</value>
  3261. <description>
  3262. Parameter that determines if 'regular' (non-replication) export dumps can be
  3263. imported on to tables that are the target of replication. If this parameter is
  3264. set, regular imports will check if the destination table(if it exists) has a 'repl.last.id' set on it. If so, it will fail.
  3265. </description>
  3266. </property>
  3267. <property>
  3268. <name>hive.repl.task.factory</name>
  3269. <value>org.apache.hive.hcatalog.api.repl.exim.EximReplicationTaskFactory</value>
  3270. <description>
  3271. Parameter that can be used to override which ReplicationTaskFactory will be
  3272. used to instantiate ReplicationTask events. Override for third party repl plugins
  3273. </description>
  3274. </property>
  3275. <property>
  3276. <name>hive.mapper.cannot.span.multiple.partitions</name>
  3277. <value>false</value>
  3278. <description/>
  3279. </property>
  3280. <property>
  3281. <name>hive.rework.mapredwork</name>
  3282. <value>false</value>
  3283. <description>
  3284. should rework the mapred work or not.
  3285. This is first introduced by SymlinkTextInputFormat to replace symlink files with real paths at compile time.
  3286. </description>
  3287. </property>
  3288. <property>
  3289. <name>hive.exec.concatenate.check.index</name>
  3290. <value>true</value>
  3291. <description>
  3292. If this is set to true, Hive will throw error when doing
  3293. 'alter table tbl_name [partSpec] concatenate' on a table/partition
  3294. that has indexes on it. The reason the user want to set this to true
  3295. is because it can help user to avoid handling all index drop, recreation,
  3296. rebuild work. This is very helpful for tables with thousands of partitions.
  3297. </description>
  3298. </property>
  3299. <property>
  3300. <name>hive.io.exception.handlers</name>
  3301. <value/>
  3302. <description>
  3303. A list of io exception handler class names. This is used
  3304. to construct a list exception handlers to handle exceptions thrown
  3305. by record readers
  3306. </description>
  3307. </property>
  3308. <property>
  3309. <name>hive.log4j.file</name>
  3310. <value/>
  3311. <description>
  3312. Hive log4j configuration file.
  3313. If the property is not set, then logging will be initialized using hive-log4j2.properties found on the classpath.
  3314. If the property is set, the value must be a valid URI (java.net.URI, e.g. "file:///tmp/my-logging.xml"),
  3315. which you can then extract a URL from and pass to PropertyConfigurator.configure(URL).
  3316. </description>
  3317. </property>
  3318. <property>
  3319. <name>hive.exec.log4j.file</name>
  3320. <value/>
  3321. <description>
  3322. Hive log4j configuration file for execution mode(sub command).
  3323. If the property is not set, then logging will be initialized using hive-exec-log4j2.properties found on the classpath.
  3324. If the property is set, the value must be a valid URI (java.net.URI, e.g. "file:///tmp/my-logging.xml"),
  3325. which you can then extract a URL from and pass to PropertyConfigurator.configure(URL).
  3326. </description>
  3327. </property>
  3328. <property>
  3329. <name>hive.async.log.enabled</name>
  3330. <value>true</value>
  3331. <description>
  3332. Whether to enable Log4j2's asynchronous logging. Asynchronous logging can give
  3333. significant performance improvement as logging will be handled in separate thread
  3334. that uses LMAX disruptor queue for buffering log messages.
  3335. Refer https://logging.apache.org/log4j/2.x/manual/async.html for benefits and
  3336. drawbacks.
  3337. </description>
  3338. </property>
  3339. <property>
  3340. <name>hive.log.explain.output</name>
  3341. <value>false</value>
  3342. <description>
  3343. Whether to log explain output for every query.
  3344. When enabled, will log EXPLAIN EXTENDED output for the query at INFO log4j log level.
  3345. </description>
  3346. </property>
  3347. <property>
  3348. <name>hive.explain.user</name>
  3349. <value>true</value>
  3350. <description>
  3351. Whether to show explain result at user level.
  3352. When enabled, will log EXPLAIN output for the query at user level.
  3353. </description>
  3354. </property>
  3355. <property>
  3356. <name>hive.autogen.columnalias.prefix.label</name>
  3357. <value>_c</value>
  3358. <description>
  3359. String used as a prefix when auto generating column alias.
  3360. By default the prefix label will be appended with a column position number to form the column alias.
  3361. Auto generation would happen if an aggregate function is used in a select clause without an explicit alias.
  3362. </description>
  3363. </property>
  3364. <property>
  3365. <name>hive.autogen.columnalias.prefix.includefuncname</name>
  3366. <value>false</value>
  3367. <description>Whether to include function name in the column alias auto generated by Hive.</description>
  3368. </property>
  3369. <property>
  3370. <name>hive.service.metrics.class</name>
  3371. <value>org.apache.hadoop.hive.common.metrics.metrics2.CodahaleMetrics</value>
  3372. <description>
  3373. Expects one of [org.apache.hadoop.hive.common.metrics.metrics2.codahalemetrics, org.apache.hadoop.hive.common.metrics.legacymetrics].
  3374. Hive metrics subsystem implementation class.
  3375. </description>
  3376. </property>
  3377. <property>
  3378. <name>hive.service.metrics.reporter</name>
  3379. <value>JSON_FILE, JMX</value>
  3380. <description>Reporter type for metric class org.apache.hadoop.hive.common.metrics.metrics2.CodahaleMetrics, comma separated list of JMX, CONSOLE, JSON_FILE, HADOOP2</description>
  3381. </property>
  3382. <property>
  3383. <name>hive.service.metrics.file.location</name>
  3384. <value>/tmp/report.json</value>
  3385. <description>For metric class org.apache.hadoop.hive.common.metrics.metrics2.CodahaleMetrics JSON_FILE reporter, the location of local JSON metrics file. This file will get overwritten at every interval.</description>
  3386. </property>
  3387. <property>
  3388. <name>hive.service.metrics.file.frequency</name>
  3389. <value>5s</value>
  3390. <description>
  3391. Expects a time value with unit (d/day, h/hour, m/min, s/sec, ms/msec, us/usec, ns/nsec), which is msec if not specified.
  3392. For metric class org.apache.hadoop.hive.common.metrics.metrics2.CodahaleMetrics JSON_FILE reporter, the frequency of updating JSON metrics file.
  3393. </description>
  3394. </property>
  3395. <property>
  3396. <name>hive.service.metrics.hadoop2.frequency</name>
  3397. <value>30s</value>
  3398. <description>
  3399. Expects a time value with unit (d/day, h/hour, m/min, s/sec, ms/msec, us/usec, ns/nsec), which is sec if not specified.
  3400. For metric class org.apache.hadoop.hive.common.metrics.metrics2.CodahaleMetrics HADOOP2 reporter, the frequency of updating the HADOOP2 metrics system.
  3401. </description>
  3402. </property>
  3403. <property>
  3404. <name>hive.service.metrics.hadoop2.component</name>
  3405. <value>hive</value>
  3406. <description>Component name to provide to Hadoop2 Metrics system. Ideally 'hivemetastore' for the MetaStore and and 'hiveserver2' for HiveServer2.</description>
  3407. </property>
  3408. <property>
  3409. <name>hive.exec.perf.logger</name>
  3410. <value>org.apache.hadoop.hive.ql.log.PerfLogger</value>
  3411. <description>
  3412. The class responsible for logging client side performance metrics.
  3413. Must be a subclass of org.apache.hadoop.hive.ql.log.PerfLogger
  3414. </description>
  3415. </property>
  3416. <property>
  3417. <name>hive.start.cleanup.scratchdir</name>
  3418. <value>false</value>
  3419. <description>To cleanup the Hive scratchdir when starting the Hive Server</description>
  3420. </property>
  3421. <property>
  3422. <name>hive.scratchdir.lock</name>
  3423. <value>false</value>
  3424. <description>To hold a lock file in scratchdir to prevent to be removed by cleardanglingscratchdir</description>
  3425. </property>
  3426. <property>
  3427. <name>hive.insert.into.multilevel.dirs</name>
  3428. <value>false</value>
  3429. <description>
  3430. Where to insert into multilevel directories like
  3431. "insert directory '/HIVEFT25686/chinna/' from table"
  3432. </description>
  3433. </property>
  3434. <property>
  3435. <name>hive.warehouse.subdir.inherit.perms</name>
  3436. <value>true</value>
  3437. <description>
  3438. Set this to false if the table directories should be created
  3439. with the permissions derived from dfs umask instead of
  3440. inheriting the permission of the warehouse or database directory.
  3441. </description>
  3442. </property>
  3443. <property>
  3444. <name>hive.insert.into.external.tables</name>
  3445. <value>true</value>
  3446. <description>whether insert into external tables is allowed</description>
  3447. </property>
  3448. <property>
  3449. <name>hive.exec.temporary.table.storage</name>
  3450. <value>default</value>
  3451. <description>
  3452. Expects one of [memory, ssd, default].
  3453. Define the storage policy for temporary tables.Choices between memory, ssd and default
  3454. </description>
  3455. </property>
  3456. <property>
  3457. <name>hive.exec.driver.run.hooks</name>
  3458. <value/>
  3459. <description>A comma separated list of hooks which implement HiveDriverRunHook. Will be run at the beginning and end of Driver.run, these will be run in the order specified.</description>
  3460. </property>
  3461. <property>
  3462. <name>hive.ddl.output.format</name>
  3463. <value/>
  3464. <description>
  3465. The data format to use for DDL output. One of "text" (for human
  3466. readable text) or "json" (for a json object).
  3467. </description>
  3468. </property>
  3469. <property>
  3470. <name>hive.entity.separator</name>
  3471. <value>@</value>
  3472. <description>Separator used to construct names of tables and partitions. For example, dbname@tablename@partitionname</description>
  3473. </property>
  3474. <property>
  3475. <name>hive.entity.capture.transform</name>
  3476. <value>false</value>
  3477. <description>Compiler to capture transform URI referred in the query</description>
  3478. </property>
  3479. <property>
  3480. <name>hive.display.partition.cols.separately</name>
  3481. <value>true</value>
  3482. <description>
  3483. In older Hive version (0.10 and earlier) no distinction was made between
  3484. partition columns or non-partition columns while displaying columns in describe
  3485. table. From 0.12 onwards, they are displayed separately. This flag will let you
  3486. get old behavior, if desired. See, test-case in patch for HIVE-6689.
  3487. </description>
  3488. </property>
  3489. <property>
  3490. <name>hive.ssl.protocol.blacklist</name>
  3491. <value>SSLv2,SSLv3</value>
  3492. <description>SSL Versions to disable for all Hive Servers</description>
  3493. </property>
  3494. <property>
  3495. <name>hive.server2.max.start.attempts</name>
  3496. <value>30</value>
  3497. <description>
  3498. Expects value bigger than 0.
  3499. Number of times HiveServer2 will attempt to start before exiting, sleeping 60 seconds between retries.
  3500. The default of 30 will keep trying for 30 minutes.
  3501. </description>
  3502. </property>
  3503. <property>
  3504. <name>hive.server2.support.dynamic.service.discovery</name>
  3505. <value>false</value>
  3506. <description>Whether HiveServer2 supports dynamic service discovery for its clients. To support this, each instance of HiveServer2 currently uses ZooKeeper to register itself, when it is brought up. JDBC/ODBC clients should use the ZooKeeper ensemble: hive.zookeeper.quorum in their connection string.</description>
  3507. </property>
  3508. <property>
  3509. <name>hive.server2.zookeeper.namespace</name>
  3510. <value>hiveserver2</value>
  3511. <description>The parent node in ZooKeeper used by HiveServer2 when supporting dynamic service discovery.</description>
  3512. </property>
  3513. <property>
  3514. <name>hive.server2.zookeeper.publish.configs</name>
  3515. <value>true</value>
  3516. <description>Whether we should publish HiveServer2's configs to ZooKeeper.</description>
  3517. </property>
  3518. <property>
  3519. <name>hive.server2.global.init.file.location</name>
  3520. <value>${env:HIVE_CONF_DIR}</value>
  3521. <description>
  3522. Either the location of a HS2 global init file or a directory containing a .hiverc file. If the
  3523. property is set, the value must be a valid path to an init file or directory where the init file is located.
  3524. </description>
  3525. </property>
  3526. <property>
  3527. <name>hive.server2.transport.mode</name>
  3528. <value>binary</value>
  3529. <description>
  3530. Expects one of [binary, http].
  3531. Transport mode of HiveServer2.
  3532. </description>
  3533. </property>
  3534. <property>
  3535. <name>hive.server2.thrift.bind.host</name>
  3536. <value/>
  3537. <description>Bind host on which to run the HiveServer2 Thrift service.</description>
  3538. </property>
  3539. <property>
  3540. <name>hive.driver.parallel.compilation</name>
  3541. <value>false</value>
  3542. <description>
  3543. Whether to
  3544. enable parallel compilation between sessions on HiveServer2. The default is false.
  3545. </description>
  3546. </property>
  3547. <property>
  3548. <name>hive.server2.compile.lock.timeout</name>
  3549. <value>0s</value>
  3550. <description>
  3551. Expects a time value with unit (d/day, h/hour, m/min, s/sec, ms/msec, us/usec, ns/nsec), which is sec if not specified.
  3552. Number of seconds a request will wait to acquire the compile lock before giving up. Setting it to 0s disables the timeout.
  3553. </description>
  3554. </property>
  3555. <property>
  3556. <name>hive.server2.parallel.ops.in.session</name>
  3557. <value>true</value>
  3558. <description>Whether to allow several parallel operations (such as SQL statements) in one session.</description>
  3559. </property>
  3560. <property>
  3561. <name>hive.server2.webui.host</name>
  3562. <value>0.0.0.0</value>
  3563. <description>The host address the HiveServer2 WebUI will listen on</description>
  3564. </property>
  3565. <property>
  3566. <name>hive.server2.webui.port</name>
  3567. <value>10002</value>
  3568. <description>The port the HiveServer2 WebUI will listen on. This can beset to 0 or a negative integer to disable the web UI</description>
  3569. </property>
  3570. <property>
  3571. <name>hive.server2.webui.max.threads</name>
  3572. <value>50</value>
  3573. <description>The max HiveServer2 WebUI threads</description>
  3574. </property>
  3575. <property>
  3576. <name>hive.server2.webui.use.ssl</name>
  3577. <value>false</value>
  3578. <description>Set this to true for using SSL encryption for HiveServer2 WebUI.</description>
  3579. </property>
  3580. <property>
  3581. <name>hive.server2.webui.keystore.path</name>
  3582. <value/>
  3583. <description>SSL certificate keystore location for HiveServer2 WebUI.</description>
  3584. </property>
  3585. <property>
  3586. <name>hive.server2.webui.keystore.password</name>
  3587. <value/>
  3588. <description>SSL certificate keystore password for HiveServer2 WebUI.</description>
  3589. </property>
  3590. <property>
  3591. <name>hive.server2.webui.use.spnego</name>
  3592. <value>false</value>
  3593. <description>If true, the HiveServer2 WebUI will be secured with SPNEGO. Clients must authenticate with Kerberos.</description>
  3594. </property>
  3595. <property>
  3596. <name>hive.server2.webui.spnego.keytab</name>
  3597. <value/>
  3598. <description>The path to the Kerberos Keytab file containing the HiveServer2 WebUI SPNEGO service principal.</description>
  3599. </property>
  3600. <property>
  3601. <name>hive.server2.webui.spnego.principal</name>
  3602. <value>HTTP/_HOST@EXAMPLE.COM</value>
  3603. <description>
  3604. The HiveServer2 WebUI SPNEGO service principal.
  3605. The special string _HOST will be replaced automatically with
  3606. the value of hive.server2.webui.host or the correct host name.
  3607. </description>
  3608. </property>
  3609. <property>
  3610. <name>hive.server2.webui.max.historic.queries</name>
  3611. <value>25</value>
  3612. <description>The maximum number of past queries to show in HiverSever2 WebUI.</description>
  3613. </property>
  3614. <property>
  3615. <name>hive.server2.tez.default.queues</name>
  3616. <value/>
  3617. <description>
  3618. A list of comma separated values corresponding to YARN queues of the same name.
  3619. When HiveServer2 is launched in Tez mode, this configuration needs to be set
  3620. for multiple Tez sessions to run in parallel on the cluster.
  3621. </description>
  3622. </property>
  3623. <property>
  3624. <name>hive.server2.tez.sessions.per.default.queue</name>
  3625. <value>1</value>
  3626. <description>
  3627. A positive integer that determines the number of Tez sessions that should be
  3628. launched on each of the queues specified by "hive.server2.tez.default.queues".
  3629. Determines the parallelism on each queue.
  3630. </description>
  3631. </property>
  3632. <property>
  3633. <name>hive.server2.tez.initialize.default.sessions</name>
  3634. <value>false</value>
  3635. <description>
  3636. This flag is used in HiveServer2 to enable a user to use HiveServer2 without
  3637. turning on Tez for HiveServer2. The user could potentially want to run queries
  3638. over Tez without the pool of sessions.
  3639. </description>
  3640. </property>
  3641. <property>
  3642. <name>hive.server2.tez.session.lifetime</name>
  3643. <value>162h</value>
  3644. <description>
  3645. Expects a time value with unit (d/day, h/hour, m/min, s/sec, ms/msec, us/usec, ns/nsec), which is hour if not specified.
  3646. The lifetime of the Tez sessions launched by HS2 when default sessions are enabled.
  3647. Set to 0 to disable session expiration.
  3648. </description>
  3649. </property>
  3650. <property>
  3651. <name>hive.server2.tez.session.lifetime.jitter</name>
  3652. <value>3h</value>
  3653. <description>
  3654. Expects a time value with unit (d/day, h/hour, m/min, s/sec, ms/msec, us/usec, ns/nsec), which is hour if not specified.
  3655. The jitter for Tez session lifetime; prevents all the sessions from restarting at once.
  3656. </description>
  3657. </property>
  3658. <property>
  3659. <name>hive.server2.tez.sessions.init.threads</name>
  3660. <value>16</value>
  3661. <description>
  3662. If hive.server2.tez.initialize.default.sessions is enabled, the maximum number of
  3663. threads to use to initialize the default sessions.
  3664. </description>
  3665. </property>
  3666. <property>
  3667. <name>hive.server2.logging.operation.enabled</name>
  3668. <value>true</value>
  3669. <description>When true, HS2 will save operation logs and make them available for clients</description>
  3670. </property>
  3671. <property>
  3672. <name>hive.server2.logging.operation.log.location</name>
  3673. <value>${system:java.io.tmpdir}/${system:user.name}/operation_logs</value>
  3674. <description>Top level directory where operation logs are stored if logging functionality is enabled</description>
  3675. </property>
  3676. <property>
  3677. <name>hive.server2.logging.operation.level</name>
  3678. <value>EXECUTION</value>
  3679. <description>
  3680. Expects one of [none, execution, performance, verbose].
  3681. HS2 operation logging mode available to clients to be set at session level.
  3682. For this to work, hive.server2.logging.operation.enabled should be set to true.
  3683. NONE: Ignore any logging
  3684. EXECUTION: Log completion of tasks
  3685. PERFORMANCE: Execution + Performance logs
  3686. VERBOSE: All logs
  3687. </description>
  3688. </property>
  3689. <property>
  3690. <name>hive.server2.metrics.enabled</name>
  3691. <value>false</value>
  3692. <description>Enable metrics on the HiveServer2.</description>
  3693. </property>
  3694. <property>
  3695. <name>hive.server2.thrift.http.port</name>
  3696. <value>10001</value>
  3697. <description>Port number of HiveServer2 Thrift interface when hive.server2.transport.mode is 'http'.</description>
  3698. </property>
  3699. <property>
  3700. <name>hive.server2.thrift.http.path</name>
  3701. <value>cliservice</value>
  3702. <description>Path component of URL endpoint when in HTTP mode.</description>
  3703. </property>
  3704. <property>
  3705. <name>hive.server2.thrift.max.message.size</name>
  3706. <value>104857600</value>
  3707. <description>Maximum message size in bytes a HS2 server will accept.</description>
  3708. </property>
  3709. <property>
  3710. <name>hive.server2.thrift.http.max.idle.time</name>
  3711. <value>1800s</value>
  3712. <description>
  3713. Expects a time value with unit (d/day, h/hour, m/min, s/sec, ms/msec, us/usec, ns/nsec), which is msec if not specified.
  3714. Maximum idle time for a connection on the server when in HTTP mode.
  3715. </description>
  3716. </property>
  3717. <property>
  3718. <name>hive.server2.thrift.http.worker.keepalive.time</name>
  3719. <value>60s</value>
  3720. <description>
  3721. Expects a time value with unit (d/day, h/hour, m/min, s/sec, ms/msec, us/usec, ns/nsec), which is sec if not specified.
  3722. Keepalive time for an idle http worker thread. When the number of workers exceeds min workers, excessive threads are killed after this time interval.
  3723. </description>
  3724. </property>
  3725. <property>
  3726. <name>hive.server2.thrift.http.request.header.size</name>
  3727. <value>6144</value>
  3728. <description>Request header size in bytes, when using HTTP transport mode. Jetty defaults used.</description>
  3729. </property>
  3730. <property>
  3731. <name>hive.server2.thrift.http.response.header.size</name>
  3732. <value>6144</value>
  3733. <description>Response header size in bytes, when using HTTP transport mode. Jetty defaults used.</description>
  3734. </property>
  3735. <property>
  3736. <name>hive.server2.thrift.http.cookie.auth.enabled</name>
  3737. <value>true</value>
  3738. <description>When true, HiveServer2 in HTTP transport mode, will use cookie based authentication mechanism.</description>
  3739. </property>
  3740. <property>
  3741. <name>hive.server2.thrift.http.cookie.max.age</name>
  3742. <value>86400s</value>
  3743. <description>
  3744. Expects a time value with unit (d/day, h/hour, m/min, s/sec, ms/msec, us/usec, ns/nsec), which is sec if not specified.
  3745. Maximum age in seconds for server side cookie used by HS2 in HTTP mode.
  3746. </description>
  3747. </property>
  3748. <property>
  3749. <name>hive.server2.thrift.http.cookie.domain</name>
  3750. <value/>
  3751. <description>Domain for the HS2 generated cookies</description>
  3752. </property>
  3753. <property>
  3754. <name>hive.server2.thrift.http.cookie.path</name>
  3755. <value/>
  3756. <description>Path for the HS2 generated cookies</description>
  3757. </property>
  3758. <property>
  3759. <name>hive.server2.thrift.http.cookie.is.secure</name>
  3760. <value>true</value>
  3761. <description>Secure attribute of the HS2 generated cookie.</description>
  3762. </property>
  3763. <property>
  3764. <name>hive.server2.thrift.http.cookie.is.httponly</name>
  3765. <value>true</value>
  3766. <description>HttpOnly attribute of the HS2 generated cookie.</description>
  3767. </property>
  3768. <property>
  3769. <name>hive.server2.thrift.port</name>
  3770. <value>10000</value>
  3771. <description>Port number of HiveServer2 Thrift interface when hive.server2.transport.mode is 'binary'.</description>
  3772. </property>
  3773. <property>
  3774. <name>hive.server2.thrift.sasl.qop</name>
  3775. <value>auth</value>
  3776. <description>
  3777. Expects one of [auth, auth-int, auth-conf].
  3778. Sasl QOP value; set it to one of following values to enable higher levels of
  3779. protection for HiveServer2 communication with clients.
  3780. Setting hadoop.rpc.protection to a higher level than HiveServer2 does not
  3781. make sense in most situations. HiveServer2 ignores hadoop.rpc.protection in favor
  3782. of hive.server2.thrift.sasl.qop.
  3783. "auth" - authentication only (default)
  3784. "auth-int" - authentication plus integrity protection
  3785. "auth-conf" - authentication plus integrity and confidentiality protection
  3786. This is applicable only if HiveServer2 is configured to use Kerberos authentication.
  3787. </description>
  3788. </property>
  3789. <property>
  3790. <name>hive.server2.thrift.min.worker.threads</name>
  3791. <value>5</value>
  3792. <description>Minimum number of Thrift worker threads</description>
  3793. </property>
  3794. <property>
  3795. <name>hive.server2.thrift.max.worker.threads</name>
  3796. <value>500</value>
  3797. <description>Maximum number of Thrift worker threads</description>
  3798. </property>
  3799. <property>
  3800. <name>hive.server2.thrift.exponential.backoff.slot.length</name>
  3801. <value>100ms</value>
  3802. <description>
  3803. Expects a time value with unit (d/day, h/hour, m/min, s/sec, ms/msec, us/usec, ns/nsec), which is msec if not specified.
  3804. Binary exponential backoff slot time for Thrift clients during login to HiveServer2,
  3805. for retries until hitting Thrift client timeout
  3806. </description>
  3807. </property>
  3808. <property>
  3809. <name>hive.server2.thrift.login.timeout</name>
  3810. <value>20s</value>
  3811. <description>
  3812. Expects a time value with unit (d/day, h/hour, m/min, s/sec, ms/msec, us/usec, ns/nsec), which is sec if not specified.
  3813. Timeout for Thrift clients during login to HiveServer2
  3814. </description>
  3815. </property>
  3816. <property>
  3817. <name>hive.server2.thrift.worker.keepalive.time</name>
  3818. <value>60s</value>
  3819. <description>
  3820. Expects a time value with unit (d/day, h/hour, m/min, s/sec, ms/msec, us/usec, ns/nsec), which is sec if not specified.
  3821. Keepalive time (in seconds) for an idle worker thread. When the number of workers exceeds min workers, excessive threads are killed after this time interval.
  3822. </description>
  3823. </property>
  3824. <property>
  3825. <name>hive.server2.async.exec.threads</name>
  3826. <value>100</value>
  3827. <description>Number of threads in the async thread pool for HiveServer2</description>
  3828. </property>
  3829. <property>
  3830. <name>hive.server2.async.exec.shutdown.timeout</name>
  3831. <value>10s</value>
  3832. <description>
  3833. Expects a time value with unit (d/day, h/hour, m/min, s/sec, ms/msec, us/usec, ns/nsec), which is sec if not specified.
  3834. How long HiveServer2 shutdown will wait for async threads to terminate.
  3835. </description>
  3836. </property>
  3837. <property>
  3838. <name>hive.server2.async.exec.wait.queue.size</name>
  3839. <value>100</value>
  3840. <description>
  3841. Size of the wait queue for async thread pool in HiveServer2.
  3842. After hitting this limit, the async thread pool will reject new requests.
  3843. </description>
  3844. </property>
  3845. <property>
  3846. <name>hive.server2.async.exec.keepalive.time</name>
  3847. <value>10s</value>
  3848. <description>
  3849. Expects a time value with unit (d/day, h/hour, m/min, s/sec, ms/msec, us/usec, ns/nsec), which is sec if not specified.
  3850. Time that an idle HiveServer2 async thread (from the thread pool) will wait for a new task
  3851. to arrive before terminating
  3852. </description>
  3853. </property>
  3854. <property>
  3855. <name>hive.server2.async.exec.async.compile</name>
  3856. <value>false</value>
  3857. <description>Whether to enable compiling async query asynchronously. If enabled, it is unknown if the query will have any resultset before compilation completed.</description>
  3858. </property>
  3859. <property>
  3860. <name>hive.server2.long.polling.timeout</name>
  3861. <value>5000ms</value>
  3862. <description>
  3863. Expects a time value with unit (d/day, h/hour, m/min, s/sec, ms/msec, us/usec, ns/nsec), which is msec if not specified.
  3864. Time that HiveServer2 will wait before responding to asynchronous calls that use long polling
  3865. </description>
  3866. </property>
  3867. <property>
  3868. <name>hive.session.impl.classname</name>
  3869. <value/>
  3870. <description>Classname for custom implementation of hive session</description>
  3871. </property>
  3872. <property>
  3873. <name>hive.session.impl.withugi.classname</name>
  3874. <value/>
  3875. <description>Classname for custom implementation of hive session with UGI</description>
  3876. </property>
  3877. <property>
  3878. <name>hive.server2.authentication</name>
  3879. <value>NONE</value>
  3880. <description>
  3881. Expects one of [nosasl, none, ldap, kerberos, pam, custom].
  3882. Client authentication types.
  3883. NONE: no authentication check
  3884. LDAP: LDAP/AD based authentication
  3885. KERBEROS: Kerberos/GSSAPI authentication
  3886. CUSTOM: Custom authentication provider
  3887. (Use with property hive.server2.custom.authentication.class)
  3888. PAM: Pluggable authentication module
  3889. NOSASL: Raw transport
  3890. </description>
  3891. </property>
  3892. <property>
  3893. <name>hive.server2.allow.user.substitution</name>
  3894. <value>true</value>
  3895. <description>Allow alternate user to be specified as part of HiveServer2 open connection request.</description>
  3896. </property>
  3897. <property>
  3898. <name>hive.server2.authentication.kerberos.keytab</name>
  3899. <value/>
  3900. <description>Kerberos keytab file for server principal</description>
  3901. </property>
  3902. <property>
  3903. <name>hive.server2.authentication.kerberos.principal</name>
  3904. <value/>
  3905. <description>Kerberos server principal</description>
  3906. </property>
  3907. <property>
  3908. <name>hive.server2.authentication.spnego.keytab</name>
  3909. <value/>
  3910. <description>
  3911. keytab file for SPNego principal, optional,
  3912. typical value would look like /etc/security/keytabs/spnego.service.keytab,
  3913. This keytab would be used by HiveServer2 when Kerberos security is enabled and
  3914. HTTP transport mode is used.
  3915. This needs to be set only if SPNEGO is to be used in authentication.
  3916. SPNego authentication would be honored only if valid
  3917. hive.server2.authentication.spnego.principal
  3918. and
  3919. hive.server2.authentication.spnego.keytab
  3920. are specified.
  3921. </description>
  3922. </property>
  3923. <property>
  3924. <name>hive.server2.authentication.spnego.principal</name>
  3925. <value/>
  3926. <description>
  3927. SPNego service principal, optional,
  3928. typical value would look like HTTP/_HOST@EXAMPLE.COM
  3929. SPNego service principal would be used by HiveServer2 when Kerberos security is enabled
  3930. and HTTP transport mode is used.
  3931. This needs to be set only if SPNEGO is to be used in authentication.
  3932. </description>
  3933. </property>
  3934. <property>
  3935. <name>hive.server2.authentication.ldap.url</name>
  3936. <value/>
  3937. <description>
  3938. LDAP connection URL(s),
  3939. this value could contain URLs to mutiple LDAP servers instances for HA,
  3940. each LDAP URL is separated by a SPACE character. URLs are used in the
  3941. order specified until a connection is successful.
  3942. </description>
  3943. </property>
  3944. <property>
  3945. <name>hive.server2.authentication.ldap.baseDN</name>
  3946. <value/>
  3947. <description>LDAP base DN</description>
  3948. </property>
  3949. <property>
  3950. <name>hive.server2.authentication.ldap.Domain</name>
  3951. <value/>
  3952. <description/>
  3953. </property>
  3954. <property>
  3955. <name>hive.server2.authentication.ldap.groupDNPattern</name>
  3956. <value/>
  3957. <description>
  3958. COLON-separated list of patterns to use to find DNs for group entities in this directory.
  3959. Use %s where the actual group name is to be substituted for.
  3960. For example: CN=%s,CN=Groups,DC=subdomain,DC=domain,DC=com.
  3961. </description>
  3962. </property>
  3963. <property>
  3964. <name>hive.server2.authentication.ldap.groupFilter</name>
  3965. <value/>
  3966. <description>
  3967. COMMA-separated list of LDAP Group names (short name not full DNs).
  3968. For example: HiveAdmins,HadoopAdmins,Administrators
  3969. </description>
  3970. </property>
  3971. <property>
  3972. <name>hive.server2.authentication.ldap.userDNPattern</name>
  3973. <value/>
  3974. <description>
  3975. COLON-separated list of patterns to use to find DNs for users in this directory.
  3976. Use %s where the actual group name is to be substituted for.
  3977. For example: CN=%s,CN=Users,DC=subdomain,DC=domain,DC=com.
  3978. </description>
  3979. </property>
  3980. <property>
  3981. <name>hive.server2.authentication.ldap.userFilter</name>
  3982. <value/>
  3983. <description>
  3984. COMMA-separated list of LDAP usernames (just short names, not full DNs).
  3985. For example: hiveuser,impalauser,hiveadmin,hadoopadmin
  3986. </description>
  3987. </property>
  3988. <property>
  3989. <name>hive.server2.authentication.ldap.guidKey</name>
  3990. <value>uid</value>
  3991. <description>
  3992. LDAP attribute name whose values are unique in this LDAP server.
  3993. For example: uid or CN.
  3994. </description>
  3995. </property>
  3996. <property>
  3997. <name>hive.server2.authentication.ldap.groupMembershipKey</name>
  3998. <value>member</value>
  3999. <description>
  4000. LDAP attribute name on the user entry that references a group, the user belongs to.
  4001. For example: member, uniqueMember or memberUid
  4002. </description>
  4003. </property>
  4004. <property>
  4005. <name>hive.server2.authentication.ldap.groupClassKey</name>
  4006. <value>groupOfNames</value>
  4007. <description>
  4008. LDAP attribute name on the group entry that is to be used in LDAP group searches.
  4009. For example: group, groupOfNames or groupOfUniqueNames.
  4010. </description>
  4011. </property>
  4012. <property>
  4013. <name>hive.server2.authentication.ldap.customLDAPQuery</name>
  4014. <value/>
  4015. <description>
  4016. A full LDAP query that LDAP Atn provider uses to execute against LDAP Server.
  4017. If this query returns a null resultset, the LDAP Provider fails the Authentication
  4018. request, succeeds if the user is part of the resultset.For example: (&amp;(objectClass=group)(objectClass=top)(instanceType=4)(cn=Domain*))
  4019. (&amp;(objectClass=person)(|(sAMAccountName=admin)(|(memberOf=CN=Domain Admins,CN=Users,DC=domain,DC=com)(memberOf=CN=Administrators,CN=Builtin,DC=domain,DC=com))))
  4020. </description>
  4021. </property>
  4022. <property>
  4023. <name>hive.server2.custom.authentication.class</name>
  4024. <value/>
  4025. <description>
  4026. Custom authentication class. Used when property
  4027. 'hive.server2.authentication' is set to 'CUSTOM'. Provided class
  4028. must be a proper implementation of the interface
  4029. org.apache.hive.service.auth.PasswdAuthenticationProvider. HiveServer2
  4030. will call its Authenticate(user, passed) method to authenticate requests.
  4031. The implementation may optionally implement Hadoop's
  4032. org.apache.hadoop.conf.Configurable class to grab Hive's Configuration object.
  4033. </description>
  4034. </property>
  4035. <property>
  4036. <name>hive.server2.authentication.pam.services</name>
  4037. <value/>
  4038. <description>
  4039. List of the underlying pam services that should be used when auth type is PAM
  4040. A file with the same name must exist in /etc/pam.d
  4041. </description>
  4042. </property>
  4043. <property>
  4044. <name>hive.server2.enable.doAs</name>
  4045. <value>true</value>
  4046. <description>
  4047. Setting this property to true will have HiveServer2 execute
  4048. Hive operations as the user making the calls to it.
  4049. </description>
  4050. </property>
  4051. <property>
  4052. <name>hive.server2.table.type.mapping</name>
  4053. <value>CLASSIC</value>
  4054. <description>
  4055. Expects one of [classic, hive].
  4056. This setting reflects how HiveServer2 will report the table types for JDBC and other
  4057. client implementations that retrieve the available tables and supported table types
  4058. HIVE : Exposes Hive's native table types like MANAGED_TABLE, EXTERNAL_TABLE, VIRTUAL_VIEW
  4059. CLASSIC : More generic types like TABLE and VIEW
  4060. </description>
  4061. </property>
  4062. <property>
  4063. <name>hive.server2.session.hook</name>
  4064. <value/>
  4065. <description/>
  4066. </property>
  4067. <property>
  4068. <name>hive.server2.use.SSL</name>
  4069. <value>false</value>
  4070. <description>Set this to true for using SSL encryption in HiveServer2.</description>
  4071. </property>
  4072. <property>
  4073. <name>hive.server2.keystore.path</name>
  4074. <value/>
  4075. <description>SSL certificate keystore location.</description>
  4076. </property>
  4077. <property>
  4078. <name>hive.server2.keystore.password</name>
  4079. <value/>
  4080. <description>SSL certificate keystore password.</description>
  4081. </property>
  4082. <property>
  4083. <name>hive.server2.map.fair.scheduler.queue</name>
  4084. <value>true</value>
  4085. <description>
  4086. If the YARN fair scheduler is configured and HiveServer2 is running in non-impersonation mode,
  4087. this setting determines the user for fair scheduler queue mapping.
  4088. If set to true (default), the logged-in user determines the fair scheduler queue
  4089. for submitted jobs, so that map reduce resource usage can be tracked by user.
  4090. If set to false, all Hive jobs go to the 'hive' user's queue.
  4091. </description>
  4092. </property>
  4093. <property>
  4094. <name>hive.server2.builtin.udf.whitelist</name>
  4095. <value/>
  4096. <description>
  4097. Comma separated list of builtin udf names allowed in queries.
  4098. An empty whitelist allows all builtin udfs to be executed. The udf black list takes precedence over udf white list
  4099. </description>
  4100. </property>
  4101. <property>
  4102. <name>hive.server2.builtin.udf.blacklist</name>
  4103. <value/>
  4104. <description>Comma separated list of udfs names. These udfs will not be allowed in queries. The udf black list takes precedence over udf white list</description>
  4105. </property>
  4106. <property>
  4107. <name>hive.allow.udf.load.on.demand</name>
  4108. <value>false</value>
  4109. <description>
  4110. Whether enable loading UDFs from metastore on demand; this is mostly relevant for
  4111. HS2 and was the default behavior before Hive 1.2. Off by default.
  4112. </description>
  4113. </property>
  4114. <property>
  4115. <name>hive.server2.session.check.interval</name>
  4116. <value>6h</value>
  4117. <description>
  4118. Expects a time value with unit (d/day, h/hour, m/min, s/sec, ms/msec, us/usec, ns/nsec), which is msec if not specified.
  4119. The time should be bigger than or equal to 3000 msec.
  4120. The check interval for session/operation timeout, which can be disabled by setting to zero or negative value.
  4121. </description>
  4122. </property>
  4123. <property>
  4124. <name>hive.server2.close.session.on.disconnect</name>
  4125. <value>true</value>
  4126. <description>Session will be closed when connection is closed. Set this to false to have session outlive its parent connection.</description>
  4127. </property>
  4128. <property>
  4129. <name>hive.server2.idle.session.timeout</name>
  4130. <value>7d</value>
  4131. <description>
  4132. Expects a time value with unit (d/day, h/hour, m/min, s/sec, ms/msec, us/usec, ns/nsec), which is msec if not specified.
  4133. Session will be closed when it's not accessed for this duration, which can be disabled by setting to zero or negative value.
  4134. </description>
  4135. </property>
  4136. <property>
  4137. <name>hive.server2.idle.operation.timeout</name>
  4138. <value>5d</value>
  4139. <description>
  4140. Expects a time value with unit (d/day, h/hour, m/min, s/sec, ms/msec, us/usec, ns/nsec), which is msec if not specified.
  4141. Operation will be closed when it's not accessed for this duration of time, which can be disabled by setting to zero value.
  4142. With positive value, it's checked for operations in terminal state only (FINISHED, CANCELED, CLOSED, ERROR).
  4143. With negative value, it's checked for all of the operations regardless of state.
  4144. </description>
  4145. </property>
  4146. <property>
  4147. <name>hive.server2.idle.session.check.operation</name>
  4148. <value>true</value>
  4149. <description>
  4150. Session will be considered to be idle only if there is no activity, and there is no pending operation.
  4151. This setting takes effect only if session idle timeout (hive.server2.idle.session.timeout) and checking
  4152. (hive.server2.session.check.interval) are enabled.
  4153. </description>
  4154. </property>
  4155. <property>
  4156. <name>hive.server2.thrift.client.retry.limit</name>
  4157. <value>1</value>
  4158. <description>Number of retries upon failure of Thrift HiveServer2 calls</description>
  4159. </property>
  4160. <property>
  4161. <name>hive.server2.thrift.client.connect.retry.limit</name>
  4162. <value>1</value>
  4163. <description>Number of retries while opening a connection to HiveServe2</description>
  4164. </property>
  4165. <property>
  4166. <name>hive.server2.thrift.client.retry.delay.seconds</name>
  4167. <value>1s</value>
  4168. <description>
  4169. Expects a time value with unit (d/day, h/hour, m/min, s/sec, ms/msec, us/usec, ns/nsec), which is sec if not specified.
  4170. Number of seconds for the HiveServer2 thrift client to wait between consecutive connection attempts. Also specifies the time to wait between retrying thrift calls upon failures
  4171. </description>
  4172. </property>
  4173. <property>
  4174. <name>hive.server2.thrift.client.user</name>
  4175. <value>anonymous</value>
  4176. <description>Username to use against thrift client</description>
  4177. </property>
  4178. <property>
  4179. <name>hive.server2.thrift.client.password</name>
  4180. <value>anonymous</value>
  4181. <description>Password to use against thrift client</description>
  4182. </property>
  4183. <property>
  4184. <name>hive.server2.thrift.resultset.serialize.in.tasks</name>
  4185. <value>false</value>
  4186. <description>
  4187. Whether we should serialize the Thrift structures used in JDBC ResultSet RPC in task nodes.
  4188. We use SequenceFile and ThriftJDBCBinarySerDe to read and write the final results if this is true.
  4189. </description>
  4190. </property>
  4191. <property>
  4192. <name>hive.server2.thrift.resultset.max.fetch.size</name>
  4193. <value>1000</value>
  4194. <description>Max number of rows sent in one Fetch RPC call by the server to the client.</description>
  4195. </property>
  4196. <property>
  4197. <name>hive.server2.xsrf.filter.enabled</name>
  4198. <value>false</value>
  4199. <description>If enabled, HiveServer2 will block any requests made to it over http if an X-XSRF-HEADER header is not present</description>
  4200. </property>
  4201. <property>
  4202. <name>hive.security.command.whitelist</name>
  4203. <value>set,reset,dfs,add,list,delete,reload,compile</value>
  4204. <description>Comma separated list of non-SQL Hive commands users are authorized to execute</description>
  4205. </property>
  4206. <property>
  4207. <name>hive.mv.files.thread</name>
  4208. <value>15</value>
  4209. <description>
  4210. Expects a byte size value with unit (blank for bytes, kb, mb, gb, tb, pb).
  4211. The size should be in between 0Pb (inclusive) and 1Kb (inclusive).
  4212. Number of threads used to move files in move task. Set it to 0 to disable multi-threaded file moves. This parameter is also used by MSCK to check tables.
  4213. </description>
  4214. </property>
  4215. <property>
  4216. <name>hive.multi.insert.move.tasks.share.dependencies</name>
  4217. <value>false</value>
  4218. <description>
  4219. If this is set all move tasks for tables/partitions (not directories) at the end of a
  4220. multi-insert query will only begin once the dependencies for all these move tasks have been
  4221. met.
  4222. Advantages: If concurrency is enabled, the locks will only be released once the query has
  4223. finished, so with this config enabled, the time when the table/partition is
  4224. generated will be much closer to when the lock on it is released.
  4225. Disadvantages: If concurrency is not enabled, with this disabled, the tables/partitions which
  4226. are produced by this query and finish earlier will be available for querying
  4227. much earlier. Since the locks are only released once the query finishes, this
  4228. does not apply if concurrency is enabled.
  4229. </description>
  4230. </property>
  4231. <property>
  4232. <name>hive.exec.infer.bucket.sort</name>
  4233. <value>false</value>
  4234. <description>
  4235. If this is set, when writing partitions, the metadata will include the bucketing/sorting
  4236. properties with which the data was written if any (this will not overwrite the metadata
  4237. inherited from the table if the table is bucketed/sorted)
  4238. </description>
  4239. </property>
  4240. <property>
  4241. <name>hive.exec.infer.bucket.sort.num.buckets.power.two</name>
  4242. <value>false</value>
  4243. <description>
  4244. If this is set, when setting the number of reducers for the map reduce task which writes the
  4245. final output files, it will choose a number which is a power of two, unless the user specifies
  4246. the number of reducers to use using mapred.reduce.tasks. The number of reducers
  4247. may be set to a power of two, only to be followed by a merge task meaning preventing
  4248. anything from being inferred.
  4249. With hive.exec.infer.bucket.sort set to true:
  4250. Advantages: If this is not set, the number of buckets for partitions will seem arbitrary,
  4251. which means that the number of mappers used for optimized joins, for example, will
  4252. be very low. With this set, since the number of buckets used for any partition is
  4253. a power of two, the number of mappers used for optimized joins will be the least
  4254. number of buckets used by any partition being joined.
  4255. Disadvantages: This may mean a much larger or much smaller number of reducers being used in the
  4256. final map reduce job, e.g. if a job was originally going to take 257 reducers,
  4257. it will now take 512 reducers, similarly if the max number of reducers is 511,
  4258. and a job was going to use this many, it will now use 256 reducers.
  4259. </description>
  4260. </property>
  4261. <property>
  4262. <name>hive.optimize.listbucketing</name>
  4263. <value>false</value>
  4264. <description>Enable list bucketing optimizer. Default value is false so that we disable it by default.</description>
  4265. </property>
  4266. <property>
  4267. <name>hive.server.read.socket.timeout</name>
  4268. <value>10s</value>
  4269. <description>
  4270. Expects a time value with unit (d/day, h/hour, m/min, s/sec, ms/msec, us/usec, ns/nsec), which is sec if not specified.
  4271. Timeout for the HiveServer to close the connection if no response from the client. By default, 10 seconds.
  4272. </description>
  4273. </property>
  4274. <property>
  4275. <name>hive.server.tcp.keepalive</name>
  4276. <value>true</value>
  4277. <description>Whether to enable TCP keepalive for the Hive Server. Keepalive will prevent accumulation of half-open connections.</description>
  4278. </property>
  4279. <property>
  4280. <name>hive.decode.partition.name</name>
  4281. <value>false</value>
  4282. <description>Whether to show the unquoted partition names in query results.</description>
  4283. </property>
  4284. <property>
  4285. <name>hive.execution.engine</name>
  4286. <value>mr</value>
  4287. <description>
  4288. Expects one of [mr, tez, spark].
  4289. Chooses execution engine. Options are: mr (Map reduce, default), tez, spark. While MR
  4290. remains the default engine for historical reasons, it is itself a historical engine
  4291. and is deprecated in Hive 2 line. It may be removed without further warning.
  4292. </description>
  4293. </property>
  4294. <property>
  4295. <name>hive.execution.mode</name>
  4296. <value>container</value>
  4297. <description>
  4298. Expects one of [container, llap].
  4299. Chooses whether query fragments will run in container or in llap
  4300. </description>
  4301. </property>
  4302. <property>
  4303. <name>hive.jar.directory</name>
  4304. <value/>
  4305. <description>
  4306. This is the location hive in tez mode will look for to find a site wide
  4307. installed hive instance.
  4308. </description>
  4309. </property>
  4310. <property>
  4311. <name>hive.user.install.directory</name>
  4312. <value>/user/</value>
  4313. <description>
  4314. If hive (in tez mode only) cannot find a usable hive jar in "hive.jar.directory",
  4315. it will upload the hive jar to "hive.user.install.directory/user.name"
  4316. and use it to run queries.
  4317. </description>
  4318. </property>
  4319. <property>
  4320. <name>hive.vectorized.execution.enabled</name>
  4321. <value>false</value>
  4322. <description>
  4323. This flag should be set to true to enable vectorized mode of query execution.
  4324. The default value is false.
  4325. </description>
  4326. </property>
  4327. <property>
  4328. <name>hive.vectorized.execution.reduce.enabled</name>
  4329. <value>true</value>
  4330. <description>
  4331. This flag should be set to true to enable vectorized mode of the reduce-side of query execution.
  4332. The default value is true.
  4333. </description>
  4334. </property>
  4335. <property>
  4336. <name>hive.vectorized.execution.reduce.groupby.enabled</name>
  4337. <value>true</value>
  4338. <description>
  4339. This flag should be set to true to enable vectorized mode of the reduce-side GROUP BY query execution.
  4340. The default value is true.
  4341. </description>
  4342. </property>
  4343. <property>
  4344. <name>hive.vectorized.execution.mapjoin.native.enabled</name>
  4345. <value>true</value>
  4346. <description>
  4347. This flag should be set to true to enable native (i.e. non-pass through) vectorization
  4348. of queries using MapJoin.
  4349. The default value is true.
  4350. </description>
  4351. </property>
  4352. <property>
  4353. <name>hive.vectorized.execution.mapjoin.native.multikey.only.enabled</name>
  4354. <value>false</value>
  4355. <description>
  4356. This flag should be set to true to restrict use of native vector map join hash tables to
  4357. the MultiKey in queries using MapJoin.
  4358. The default value is false.
  4359. </description>
  4360. </property>
  4361. <property>
  4362. <name>hive.vectorized.execution.mapjoin.minmax.enabled</name>
  4363. <value>false</value>
  4364. <description>
  4365. This flag should be set to true to enable vector map join hash tables to
  4366. use max / max filtering for integer join queries using MapJoin.
  4367. The default value is false.
  4368. </description>
  4369. </property>
  4370. <property>
  4371. <name>hive.vectorized.execution.mapjoin.overflow.repeated.threshold</name>
  4372. <value>-1</value>
  4373. <description>
  4374. The number of small table rows for a match in vector map join hash tables
  4375. where we use the repeated field optimization in overflow vectorized row batch for join queries using MapJoin.
  4376. A value of -1 means do use the join result optimization. Otherwise, threshold value can be 0 to maximum integer.
  4377. </description>
  4378. </property>
  4379. <property>
  4380. <name>hive.vectorized.execution.mapjoin.native.fast.hashtable.enabled</name>
  4381. <value>false</value>
  4382. <description>
  4383. This flag should be set to true to enable use of native fast vector map join hash tables in
  4384. queries using MapJoin.
  4385. The default value is false.
  4386. </description>
  4387. </property>
  4388. <property>
  4389. <name>hive.vectorized.groupby.checkinterval</name>
  4390. <value>100000</value>
  4391. <description>Number of entries added to the group by aggregation hash before a recomputation of average entry size is performed.</description>
  4392. </property>
  4393. <property>
  4394. <name>hive.vectorized.groupby.maxentries</name>
  4395. <value>1000000</value>
  4396. <description>
  4397. Max number of entries in the vector group by aggregation hashtables.
  4398. Exceeding this will trigger a flush irrelevant of memory pressure condition.
  4399. </description>
  4400. </property>
  4401. <property>
  4402. <name>hive.vectorized.groupby.flush.percent</name>
  4403. <value>0.1</value>
  4404. <description>Percent of entries in the group by aggregation hash flushed when the memory threshold is exceeded.</description>
  4405. </property>
  4406. <property>
  4407. <name>hive.vectorized.execution.reducesink.new.enabled</name>
  4408. <value>true</value>
  4409. <description>
  4410. This flag should be set to true to enable the new vectorization
  4411. of queries using ReduceSink.
  4412. iThe default value is true.
  4413. </description>
  4414. </property>
  4415. <property>
  4416. <name>hive.vectorized.use.vectorized.input.format</name>
  4417. <value>true</value>
  4418. <description>
  4419. This flag should be set to true to enable vectorizing with vectorized input file format capable SerDe.
  4420. The default value is true.
  4421. </description>
  4422. </property>
  4423. <property>
  4424. <name>hive.vectorized.use.vector.serde.deserialize</name>
  4425. <value>false</value>
  4426. <description>
  4427. This flag should be set to true to enable vectorizing rows using vector deserialize.
  4428. The default value is false.
  4429. </description>
  4430. </property>
  4431. <property>
  4432. <name>hive.vectorized.use.row.serde.deserialize</name>
  4433. <value>false</value>
  4434. <description>
  4435. This flag should be set to true to enable vectorizing using row deserialize.
  4436. The default value is false.
  4437. </description>
  4438. </property>
  4439. <property>
  4440. <name>hive.typecheck.on.insert</name>
  4441. <value>true</value>
  4442. <description>This property has been extended to control whether to check, convert, and normalize partition value to conform to its column type in partition operations including but not limited to insert, such as alter, describe etc.</description>
  4443. </property>
  4444. <property>
  4445. <name>hive.hadoop.classpath</name>
  4446. <value/>
  4447. <description>
  4448. For Windows OS, we need to pass HIVE_HADOOP_CLASSPATH Java parameter while starting HiveServer2
  4449. using "-hiveconf hive.hadoop.classpath=%HIVE_LIB%".
  4450. </description>
  4451. </property>
  4452. <property>
  4453. <name>hive.rpc.query.plan</name>
  4454. <value>false</value>
  4455. <description>Whether to send the query plan via local resource or RPC</description>
  4456. </property>
  4457. <property>
  4458. <name>hive.compute.splits.in.am</name>
  4459. <value>true</value>
  4460. <description>Whether to generate the splits locally or in the AM (tez only)</description>
  4461. </property>
  4462. <property>
  4463. <name>hive.tez.input.generate.consistent.splits</name>
  4464. <value>true</value>
  4465. <description>Whether to generate consistent split locations when generating splits in the AM</description>
  4466. </property>
  4467. <property>
  4468. <name>hive.prewarm.enabled</name>
  4469. <value>false</value>
  4470. <description>Enables container prewarm for Tez/Spark (Hadoop 2 only)</description>
  4471. </property>
  4472. <property>
  4473. <name>hive.prewarm.numcontainers</name>
  4474. <value>10</value>
  4475. <description>Controls the number of containers to prewarm for Tez/Spark (Hadoop 2 only)</description>
  4476. </property>
  4477. <property>
  4478. <name>hive.stageid.rearrange</name>
  4479. <value>none</value>
  4480. <description>
  4481. Expects one of [none, idonly, traverse, execution].
  4482. </description>
  4483. </property>
  4484. <property>
  4485. <name>hive.explain.dependency.append.tasktype</name>
  4486. <value>false</value>
  4487. <description/>
  4488. </property>
  4489. <property>
  4490. <name>hive.counters.group.name</name>
  4491. <value>HIVE</value>
  4492. <description>The name of counter group for internal Hive variables (CREATED_FILE, FATAL_ERROR, etc.)</description>
  4493. </property>
  4494. <property>
  4495. <name>hive.support.quoted.identifiers</name>
  4496. <value>column</value>
  4497. <description>
  4498. Expects one of [none, column].
  4499. Whether to use quoted identifier. 'none' or 'column' can be used.
  4500. none: default(past) behavior. Implies only alphaNumeric and underscore are valid characters in identifiers.
  4501. column: implies column names can contain any character.
  4502. </description>
  4503. </property>
  4504. <property>
  4505. <name>hive.support.sql11.reserved.keywords</name>
  4506. <value>true</value>
  4507. <description>
  4508. This flag should be set to true to enable support for SQL2011 reserved keywords.
  4509. The default value is true.
  4510. </description>
  4511. </property>
  4512. <property>
  4513. <name>hive.support.special.characters.tablename</name>
  4514. <value>true</value>
  4515. <description>
  4516. This flag should be set to true to enable support for special characters in table names.
  4517. When it is set to false, only [a-zA-Z_0-9]+ are supported.
  4518. The only supported special character right now is '/'. This flag applies only to quoted table names.
  4519. The default value is true.
  4520. </description>
  4521. </property>
  4522. <property>
  4523. <name>hive.users.in.admin.role</name>
  4524. <value/>
  4525. <description>
  4526. Comma separated list of users who are in admin role for bootstrapping.
  4527. More users can be added in ADMIN role later.
  4528. </description>
  4529. </property>
  4530. <property>
  4531. <name>hive.compat</name>
  4532. <value>0.12</value>
  4533. <description>
  4534. Enable (configurable) deprecated behaviors by setting desired level of backward compatibility.
  4535. Setting to 0.12:
  4536. Maintains division behavior: int / int = double
  4537. </description>
  4538. </property>
  4539. <property>
  4540. <name>hive.convert.join.bucket.mapjoin.tez</name>
  4541. <value>false</value>
  4542. <description>
  4543. Whether joins can be automatically converted to bucket map joins in hive
  4544. when tez is used as the execution engine.
  4545. </description>
  4546. </property>
  4547. <property>
  4548. <name>hive.exec.check.crossproducts</name>
  4549. <value>true</value>
  4550. <description>Check if a plan contains a Cross Product. If there is one, output a warning to the Session's console.</description>
  4551. </property>
  4552. <property>
  4553. <name>hive.localize.resource.wait.interval</name>
  4554. <value>5000ms</value>
  4555. <description>
  4556. Expects a time value with unit (d/day, h/hour, m/min, s/sec, ms/msec, us/usec, ns/nsec), which is msec if not specified.
  4557. Time to wait for another thread to localize the same resource for hive-tez.
  4558. </description>
  4559. </property>
  4560. <property>
  4561. <name>hive.localize.resource.num.wait.attempts</name>
  4562. <value>5</value>
  4563. <description>The number of attempts waiting for localizing a resource in hive-tez.</description>
  4564. </property>
  4565. <property>
  4566. <name>hive.tez.auto.reducer.parallelism</name>
  4567. <value>false</value>
  4568. <description>
  4569. Turn on Tez' auto reducer parallelism feature. When enabled, Hive will still estimate data sizes
  4570. and set parallelism estimates. Tez will sample source vertices' output sizes and adjust the estimates at runtime as
  4571. necessary.
  4572. </description>
  4573. </property>
  4574. <property>
  4575. <name>hive.tez.max.partition.factor</name>
  4576. <value>2.0</value>
  4577. <description>When auto reducer parallelism is enabled this factor will be used to over-partition data in shuffle edges.</description>
  4578. </property>
  4579. <property>
  4580. <name>hive.tez.min.partition.factor</name>
  4581. <value>0.25</value>
  4582. <description>
  4583. When auto reducer parallelism is enabled this factor will be used to put a lower limit to the number
  4584. of reducers that tez specifies.
  4585. </description>
  4586. </property>
  4587. <property>
  4588. <name>hive.tez.bucket.pruning</name>
  4589. <value>false</value>
  4590. <description>
  4591. When pruning is enabled, filters on bucket columns will be processed by
  4592. filtering the splits against a bitset of included buckets. This needs predicates
  4593. produced by hive.optimize.ppd and hive.optimize.index.filters.
  4594. </description>
  4595. </property>
  4596. <property>
  4597. <name>hive.tez.bucket.pruning.compat</name>
  4598. <value>true</value>
  4599. <description>
  4600. When pruning is enabled, handle possibly broken inserts due to negative hashcodes.
  4601. This occasionally doubles the data scan cost, but is default enabled for safety
  4602. </description>
  4603. </property>
  4604. <property>
  4605. <name>hive.tez.dynamic.partition.pruning</name>
  4606. <value>true</value>
  4607. <description>
  4608. When dynamic pruning is enabled, joins on partition keys will be processed by sending
  4609. events from the processing vertices to the Tez application master. These events will be
  4610. used to prune unnecessary partitions.
  4611. </description>
  4612. </property>
  4613. <property>
  4614. <name>hive.tez.dynamic.partition.pruning.max.event.size</name>
  4615. <value>1048576</value>
  4616. <description>Maximum size of events sent by processors in dynamic pruning. If this size is crossed no pruning will take place.</description>
  4617. </property>
  4618. <property>
  4619. <name>hive.tez.dynamic.partition.pruning.max.data.size</name>
  4620. <value>104857600</value>
  4621. <description>Maximum total data size of events in dynamic pruning.</description>
  4622. </property>
  4623. <property>
  4624. <name>hive.tez.smb.number.waves</name>
  4625. <value>0.5</value>
  4626. <description>The number of waves in which to run the SMB join. Account for cluster being occupied. Ideally should be 1 wave.</description>
  4627. </property>
  4628. <property>
  4629. <name>hive.tez.exec.print.summary</name>
  4630. <value>false</value>
  4631. <description>Display breakdown of execution steps, for every query executed by the shell.</description>
  4632. </property>
  4633. <property>
  4634. <name>hive.tez.exec.inplace.progress</name>
  4635. <value>true</value>
  4636. <description>Updates tez job execution progress in-place in the terminal.</description>
  4637. </property>
  4638. <property>
  4639. <name>hive.tez.container.max.java.heap.fraction</name>
  4640. <value>0.8</value>
  4641. <description>This is to override the tez setting with the same name</description>
  4642. </property>
  4643. <property>
  4644. <name>hive.tez.task.scale.memory.reserve-fraction.min</name>
  4645. <value>0.3</value>
  4646. <description>This is to override the tez setting tez.task.scale.memory.reserve-fraction</description>
  4647. </property>
  4648. <property>
  4649. <name>hive.tez.task.scale.memory.reserve.fraction.max</name>
  4650. <value>0.5</value>
  4651. <description>The maximum fraction of JVM memory which Tez will reserve for the processor</description>
  4652. </property>
  4653. <property>
  4654. <name>hive.tez.task.scale.memory.reserve.fraction</name>
  4655. <value>-1.0</value>
  4656. <description>The customized fraction of JVM memory which Tez will reserve for the processor</description>
  4657. </property>
  4658. <property>
  4659. <name>hive.llap.io.enabled</name>
  4660. <value/>
  4661. <description>Whether the LLAP IO layer is enabled.</description>
  4662. </property>
  4663. <property>
  4664. <name>hive.llap.io.memory.mode</name>
  4665. <value>cache</value>
  4666. <description>
  4667. Expects one of [cache, none].
  4668. LLAP IO memory usage; 'cache' (the default) uses data and metadata cache with a
  4669. custom off-heap allocator, 'none' doesn't use either (this mode may result in
  4670. significant performance degradation)
  4671. </description>
  4672. </property>
  4673. <property>
  4674. <name>hive.llap.io.allocator.alloc.min</name>
  4675. <value>16Kb</value>
  4676. <description>
  4677. Expects a byte size value with unit (blank for bytes, kb, mb, gb, tb, pb).
  4678. Minimum allocation possible from LLAP buddy allocator. Allocations below that are
  4679. padded to minimum allocation. For ORC, should generally be the same as the expected
  4680. compression buffer size, or next lowest power of 2. Must be a power of 2.
  4681. </description>
  4682. </property>
  4683. <property>
  4684. <name>hive.llap.io.allocator.alloc.max</name>
  4685. <value>16Mb</value>
  4686. <description>
  4687. Expects a byte size value with unit (blank for bytes, kb, mb, gb, tb, pb).
  4688. Maximum allocation possible from LLAP buddy allocator. For ORC, should be as large as
  4689. the largest expected ORC compression buffer size. Must be a power of 2.
  4690. </description>
  4691. </property>
  4692. <property>
  4693. <name>hive.llap.io.allocator.arena.count</name>
  4694. <value>8</value>
  4695. <description>
  4696. Arena count for LLAP low-level cache; cache will be allocated in the steps of
  4697. (size/arena_count) bytes. This size must be &lt;= 1Gb and &gt;= max allocation; if it is
  4698. not the case, an adjusted size will be used. Using powers of 2 is recommended.
  4699. </description>
  4700. </property>
  4701. <property>
  4702. <name>hive.llap.io.memory.size</name>
  4703. <value>1Gb</value>
  4704. <description>
  4705. Expects a byte size value with unit (blank for bytes, kb, mb, gb, tb, pb).
  4706. Maximum size for IO allocator or ORC low-level cache.
  4707. </description>
  4708. </property>
  4709. <property>
  4710. <name>hive.llap.io.allocator.direct</name>
  4711. <value>true</value>
  4712. <description>Whether ORC low-level cache should use direct allocation.</description>
  4713. </property>
  4714. <property>
  4715. <name>hive.llap.io.allocator.mmap</name>
  4716. <value>false</value>
  4717. <description>
  4718. Whether ORC low-level cache should use memory mapped allocation (direct I/O).
  4719. This is recommended to be used along-side NVDIMM (DAX) or NVMe flash storage.
  4720. </description>
  4721. </property>
  4722. <property>
  4723. <name>hive.llap.io.allocator.mmap.path</name>
  4724. <value>/tmp</value>
  4725. <description>
  4726. Expects a writable directory on the local filesystem.
  4727. The directory location for mapping NVDIMM/NVMe flash storage into the ORC low-level cache.
  4728. </description>
  4729. </property>
  4730. <property>
  4731. <name>hive.llap.io.use.lrfu</name>
  4732. <value>true</value>
  4733. <description>Whether ORC low-level cache should use LRFU cache policy instead of default (FIFO).</description>
  4734. </property>
  4735. <property>
  4736. <name>hive.llap.io.lrfu.lambda</name>
  4737. <value>0.01</value>
  4738. <description>
  4739. Lambda for ORC low-level cache LRFU cache policy. Must be in [0, 1]. 0 makes LRFU
  4740. behave like LFU, 1 makes it behave like LRU, values in between balance accordingly.
  4741. </description>
  4742. </property>
  4743. <property>
  4744. <name>hive.llap.cache.allow.synthetic.fileid</name>
  4745. <value>false</value>
  4746. <description>
  4747. Whether LLAP cache should use synthetic file ID if real one is not available. Systems
  4748. like HDFS, Isilon, etc. provide a unique file/inode ID. On other FSes (e.g. local
  4749. FS), the cache would not work by default because LLAP is unable to uniquely track the
  4750. files; enabling this setting allows LLAP to generate file ID from the path, size and
  4751. modification time, which is almost certain to identify file uniquely. However, if you
  4752. use a FS without file IDs and rewrite files a lot (or are paranoid), you might want
  4753. to avoid this setting.
  4754. </description>
  4755. </property>
  4756. <property>
  4757. <name>hive.llap.orc.gap.cache</name>
  4758. <value>true</value>
  4759. <description>
  4760. Whether LLAP cache for ORC should remember gaps in ORC compression buffer read
  4761. estimates, to avoid re-reading the data that was read once and discarded because it
  4762. is unneeded. This is only necessary for ORC files written before HIVE-9660.
  4763. </description>
  4764. </property>
  4765. <property>
  4766. <name>hive.llap.io.use.fileid.path</name>
  4767. <value>true</value>
  4768. <description>
  4769. Whether LLAP should use fileId (inode)-based path to ensure better consistency for the
  4770. cases of file overwrites. This is supported on HDFS.
  4771. </description>
  4772. </property>
  4773. <property>
  4774. <name>hive.llap.io.orc.time.counters</name>
  4775. <value>true</value>
  4776. <description>Whether to enable time counters for LLAP IO layer (time spent in HDFS, etc.)</description>
  4777. </property>
  4778. <property>
  4779. <name>hive.llap.auto.allow.uber</name>
  4780. <value>false</value>
  4781. <description>Whether or not to allow the planner to run vertices in the AM.</description>
  4782. </property>
  4783. <property>
  4784. <name>hive.llap.auto.enforce.tree</name>
  4785. <value>true</value>
  4786. <description>Enforce that all parents are in llap, before considering vertex</description>
  4787. </property>
  4788. <property>
  4789. <name>hive.llap.auto.enforce.vectorized</name>
  4790. <value>true</value>
  4791. <description>Enforce that inputs are vectorized, before considering vertex</description>
  4792. </property>
  4793. <property>
  4794. <name>hive.llap.auto.enforce.stats</name>
  4795. <value>true</value>
  4796. <description>Enforce that col stats are available, before considering vertex</description>
  4797. </property>
  4798. <property>
  4799. <name>hive.llap.auto.max.input.size</name>
  4800. <value>10737418240</value>
  4801. <description>Check input size, before considering vertex (-1 disables check)</description>
  4802. </property>
  4803. <property>
  4804. <name>hive.llap.auto.max.output.size</name>
  4805. <value>1073741824</value>
  4806. <description>Check output size, before considering vertex (-1 disables check)</description>
  4807. </property>
  4808. <property>
  4809. <name>hive.llap.skip.compile.udf.check</name>
  4810. <value>false</value>
  4811. <description>
  4812. Whether to skip the compile-time check for non-built-in UDFs when deciding whether to
  4813. execute tasks in LLAP. Skipping the check allows executing UDFs from pre-localized
  4814. jars in LLAP; if the jars are not pre-localized, the UDFs will simply fail to load.
  4815. </description>
  4816. </property>
  4817. <property>
  4818. <name>hive.llap.allow.permanent.fns</name>
  4819. <value>true</value>
  4820. <description>Whether LLAP decider should allow permanent UDFs.</description>
  4821. </property>
  4822. <property>
  4823. <name>hive.llap.execution.mode</name>
  4824. <value>none</value>
  4825. <description>
  4826. Expects one of [auto, none, all, map].
  4827. Chooses whether query fragments will run in container or in llap
  4828. </description>
  4829. </property>
  4830. <property>
  4831. <name>hive.llap.object.cache.enabled</name>
  4832. <value>true</value>
  4833. <description>Cache objects (plans, hashtables, etc) in llap</description>
  4834. </property>
  4835. <property>
  4836. <name>hive.llap.io.decoding.metrics.percentiles.intervals</name>
  4837. <value>30</value>
  4838. <description>
  4839. Comma-delimited set of integers denoting the desired rollover intervals (in seconds)
  4840. for percentile latency metrics on the LLAP daemon IO decoding time.
  4841. hive.llap.queue.metrics.percentiles.intervals
  4842. </description>
  4843. </property>
  4844. <property>
  4845. <name>hive.llap.io.threadpool.size</name>
  4846. <value>10</value>
  4847. <description>Specify the number of threads to use for low-level IO thread pool.</description>
  4848. </property>
  4849. <property>
  4850. <name>hive.llap.daemon.service.principal</name>
  4851. <value/>
  4852. <description>The name of the LLAP daemon's service principal.</description>
  4853. </property>
  4854. <property>
  4855. <name>hive.llap.daemon.keytab.file</name>
  4856. <value/>
  4857. <description>The path to the Kerberos Keytab file containing the LLAP daemon's service principal.</description>
  4858. </property>
  4859. <property>
  4860. <name>hive.llap.zk.sm.principal</name>
  4861. <value/>
  4862. <description>The name of the principal to use to talk to ZooKeeper for ZooKeeper SecretManager.</description>
  4863. </property>
  4864. <property>
  4865. <name>hive.llap.zk.sm.keytab.file</name>
  4866. <value/>
  4867. <description>
  4868. The path to the Kerberos Keytab file containing the principal to use to talk to
  4869. ZooKeeper for ZooKeeper SecretManager.
  4870. </description>
  4871. </property>
  4872. <property>
  4873. <name>hive.llap.zk.sm.connectionString</name>
  4874. <value/>
  4875. <description>ZooKeeper connection string for ZooKeeper SecretManager.</description>
  4876. </property>
  4877. <property>
  4878. <name>hive.llap.zk.registry.user</name>
  4879. <value/>
  4880. <description>
  4881. In the LLAP ZooKeeper-based registry, specifies the username in the Zookeeper path.
  4882. This should be the hive user or whichever user is running the LLAP daemon.
  4883. </description>
  4884. </property>
  4885. <property>
  4886. <name>hive.llap.zk.registry.namespace</name>
  4887. <value/>
  4888. <description>
  4889. In the LLAP ZooKeeper-based registry, overrides the ZK path namespace. Note that
  4890. using this makes the path management (e.g. setting correct ACLs) your responsibility.
  4891. </description>
  4892. </property>
  4893. <property>
  4894. <name>hive.llap.daemon.acl</name>
  4895. <value>*</value>
  4896. <description>The ACL for LLAP daemon.</description>
  4897. </property>
  4898. <property>
  4899. <name>hive.llap.daemon.acl.blocked</name>
  4900. <value/>
  4901. <description>The deny ACL for LLAP daemon.</description>
  4902. </property>
  4903. <property>
  4904. <name>hive.llap.management.acl</name>
  4905. <value>*</value>
  4906. <description>The ACL for LLAP daemon management.</description>
  4907. </property>
  4908. <property>
  4909. <name>hive.llap.management.acl.blocked</name>
  4910. <value/>
  4911. <description>The deny ACL for LLAP daemon management.</description>
  4912. </property>
  4913. <property>
  4914. <name>hive.llap.remote.token.requires.signing</name>
  4915. <value>true</value>
  4916. <description>
  4917. Expects one of [false, except_llap_owner, true].
  4918. Whether the token returned from LLAP management API should require fragment signing.
  4919. True by default; can be disabled to allow CLI to get tokens from LLAP in a secure
  4920. cluster by setting it to true or 'except_llap_owner' (the latter returns such tokens
  4921. to everyone except the user LLAP cluster is authenticating under).
  4922. </description>
  4923. </property>
  4924. <property>
  4925. <name>hive.llap.daemon.delegation.token.lifetime</name>
  4926. <value>14d</value>
  4927. <description>
  4928. Expects a time value with unit (d/day, h/hour, m/min, s/sec, ms/msec, us/usec, ns/nsec), which is sec if not specified.
  4929. LLAP delegation token lifetime, in seconds if specified without a unit.
  4930. </description>
  4931. </property>
  4932. <property>
  4933. <name>hive.llap.management.rpc.port</name>
  4934. <value>15004</value>
  4935. <description>RPC port for LLAP daemon management service.</description>
  4936. </property>
  4937. <property>
  4938. <name>hive.llap.auto.auth</name>
  4939. <value>false</value>
  4940. <description>Whether or not to set Hadoop configs to enable auth in LLAP web app.</description>
  4941. </property>
  4942. <property>
  4943. <name>hive.llap.daemon.rpc.num.handlers</name>
  4944. <value>5</value>
  4945. <description>Number of RPC handlers for LLAP daemon.</description>
  4946. </property>
  4947. <property>
  4948. <name>hive.llap.daemon.work.dirs</name>
  4949. <value/>
  4950. <description>
  4951. Working directories for the daemon. Needs to be set for a secure cluster, since LLAP may
  4952. not have access to the default YARN working directories. yarn.nodemanager.local-dirs is
  4953. used if this is not set
  4954. </description>
  4955. </property>
  4956. <property>
  4957. <name>hive.llap.daemon.yarn.shuffle.port</name>
  4958. <value>15551</value>
  4959. <description>YARN shuffle port for LLAP-daemon-hosted shuffle.</description>
  4960. </property>
  4961. <property>
  4962. <name>hive.llap.daemon.yarn.container.mb</name>
  4963. <value>-1</value>
  4964. <description>llap server yarn container size in MB. Used in LlapServiceDriver and package.py</description>
  4965. </property>
  4966. <property>
  4967. <name>hive.llap.daemon.queue.name</name>
  4968. <value/>
  4969. <description>Queue name within which the llap slider application will run. Used in LlapServiceDriver and package.py</description>
  4970. </property>
  4971. <property>
  4972. <name>hive.llap.daemon.container.id</name>
  4973. <value/>
  4974. <description>ContainerId of a running LlapDaemon. Used to publish to the registry</description>
  4975. </property>
  4976. <property>
  4977. <name>hive.llap.daemon.shuffle.dir.watcher.enabled</name>
  4978. <value>false</value>
  4979. <description>TODO doc</description>
  4980. </property>
  4981. <property>
  4982. <name>hive.llap.daemon.am.liveness.heartbeat.interval.ms</name>
  4983. <value>10000ms</value>
  4984. <description>
  4985. Expects a time value with unit (d/day, h/hour, m/min, s/sec, ms/msec, us/usec, ns/nsec), which is msec if not specified.
  4986. Tez AM-LLAP heartbeat interval (milliseconds). This needs to be below the task timeout
  4987. interval, but otherwise as high as possible to avoid unnecessary traffic.
  4988. </description>
  4989. </property>
  4990. <property>
  4991. <name>hive.llap.am.liveness.connection.timeout.ms</name>
  4992. <value>10000ms</value>
  4993. <description>
  4994. Expects a time value with unit (d/day, h/hour, m/min, s/sec, ms/msec, us/usec, ns/nsec), which is msec if not specified.
  4995. Amount of time to wait on connection failures to the AM from an LLAP daemon before
  4996. considering the AM to be dead.
  4997. </description>
  4998. </property>
  4999. <property>
  5000. <name>hive.llap.am.liveness.connection.sleep.between.retries.ms</name>
  5001. <value>2000ms</value>
  5002. <description>
  5003. Expects a time value with unit (d/day, h/hour, m/min, s/sec, ms/msec, us/usec, ns/nsec), which is msec if not specified.
  5004. Sleep duration while waiting to retry connection failures to the AM from the daemon for
  5005. the general keep-alive thread (milliseconds).
  5006. </description>
  5007. </property>
  5008. <property>
  5009. <name>hive.llap.task.scheduler.timeout.seconds</name>
  5010. <value>60s</value>
  5011. <description>
  5012. Expects a time value with unit (d/day, h/hour, m/min, s/sec, ms/msec, us/usec, ns/nsec), which is sec if not specified.
  5013. Amount of time to wait before failing the query when there are no llap daemons running
  5014. (alive) in the cluster.
  5015. </description>
  5016. </property>
  5017. <property>
  5018. <name>hive.llap.daemon.num.executors</name>
  5019. <value>4</value>
  5020. <description>
  5021. Number of executors to use in LLAP daemon; essentially, the number of tasks that can be
  5022. executed in parallel.
  5023. </description>
  5024. </property>
  5025. <property>
  5026. <name>hive.llap.daemon.rpc.port</name>
  5027. <value>15001</value>
  5028. <description>The LLAP daemon RPC port.</description>
  5029. </property>
  5030. <property>
  5031. <name>hive.llap.daemon.memory.per.instance.mb</name>
  5032. <value>4096</value>
  5033. <description>The total amount of memory to use for the executors inside LLAP (in megabytes).</description>
  5034. </property>
  5035. <property>
  5036. <name>hive.llap.daemon.vcpus.per.instance</name>
  5037. <value>4</value>
  5038. <description>The total number of vcpus to use for the executors inside LLAP.</description>
  5039. </property>
  5040. <property>
  5041. <name>hive.llap.daemon.num.file.cleaner.threads</name>
  5042. <value>1</value>
  5043. <description>Number of file cleaner threads in LLAP.</description>
  5044. </property>
  5045. <property>
  5046. <name>hive.llap.file.cleanup.delay.seconds</name>
  5047. <value>300s</value>
  5048. <description>
  5049. Expects a time value with unit (d/day, h/hour, m/min, s/sec, ms/msec, us/usec, ns/nsec), which is sec if not specified.
  5050. How long to delay before cleaning up query files in LLAP (in seconds, for debugging).
  5051. </description>
  5052. </property>
  5053. <property>
  5054. <name>hive.llap.daemon.service.hosts</name>
  5055. <value/>
  5056. <description>
  5057. Explicitly specified hosts to use for LLAP scheduling. Useful for testing. By default,
  5058. YARN registry is used.
  5059. </description>
  5060. </property>
  5061. <property>
  5062. <name>hive.llap.daemon.service.refresh.interval.sec</name>
  5063. <value>60s</value>
  5064. <description>
  5065. Expects a time value with unit (d/day, h/hour, m/min, s/sec, ms/msec, us/usec, ns/nsec), which is sec if not specified.
  5066. LLAP YARN registry service list refresh delay, in seconds.
  5067. </description>
  5068. </property>
  5069. <property>
  5070. <name>hive.llap.daemon.communicator.num.threads</name>
  5071. <value>10</value>
  5072. <description>Number of threads to use in LLAP task communicator in Tez AM.</description>
  5073. </property>
  5074. <property>
  5075. <name>hive.llap.daemon.download.permanent.fns</name>
  5076. <value>false</value>
  5077. <description>Whether LLAP daemon should localize the resources for permanent UDFs.</description>
  5078. </property>
  5079. <property>
  5080. <name>hive.llap.task.scheduler.node.reenable.min.timeout.ms</name>
  5081. <value>200ms</value>
  5082. <description>
  5083. Expects a time value with unit (d/day, h/hour, m/min, s/sec, ms/msec, us/usec, ns/nsec), which is msec if not specified.
  5084. Minimum time after which a previously disabled node will be re-enabled for scheduling,
  5085. in milliseconds. This may be modified by an exponential back-off if failures persist.
  5086. </description>
  5087. </property>
  5088. <property>
  5089. <name>hive.llap.task.scheduler.node.reenable.max.timeout.ms</name>
  5090. <value>10000ms</value>
  5091. <description>
  5092. Expects a time value with unit (d/day, h/hour, m/min, s/sec, ms/msec, us/usec, ns/nsec), which is msec if not specified.
  5093. Maximum time after which a previously disabled node will be re-enabled for scheduling,
  5094. in milliseconds. This may be modified by an exponential back-off if failures persist.
  5095. </description>
  5096. </property>
  5097. <property>
  5098. <name>hive.llap.task.scheduler.node.disable.backoff.factor</name>
  5099. <value>1.5</value>
  5100. <description>
  5101. Backoff factor on successive blacklists of a node due to some failures. Blacklist times
  5102. start at the min timeout and go up to the max timeout based on this backoff factor.
  5103. </description>
  5104. </property>
  5105. <property>
  5106. <name>hive.llap.task.scheduler.num.schedulable.tasks.per.node</name>
  5107. <value>0</value>
  5108. <description>
  5109. The number of tasks the AM TaskScheduler will try allocating per node. 0 indicates that
  5110. this should be picked up from the Registry. -1 indicates unlimited capacity; positive
  5111. values indicate a specific bound.
  5112. </description>
  5113. </property>
  5114. <property>
  5115. <name>hive.llap.task.scheduler.locality.delay</name>
  5116. <value>0ms</value>
  5117. <description>
  5118. Expects a time value with unit (d/day, h/hour, m/min, s/sec, ms/msec, us/usec, ns/nsec), which is msec if not specified.
  5119. The time should be in between -1 msec (inclusive) and 9223372036854775807 msec (inclusive).
  5120. Amount of time to wait before allocating a request which contains location information, to a location other than the ones requested. Set to -1 for an infinite delay, 0for no delay.
  5121. </description>
  5122. </property>
  5123. <property>
  5124. <name>hive.llap.daemon.task.preemption.metrics.intervals</name>
  5125. <value>30,60,300</value>
  5126. <description>
  5127. Comma-delimited set of integers denoting the desired rollover intervals (in seconds)
  5128. for percentile latency metrics. Used by LLAP daemon task scheduler metrics for
  5129. time taken to kill task (due to pre-emption) and useful time wasted by the task that
  5130. is about to be preempted.
  5131. </description>
  5132. </property>
  5133. <property>
  5134. <name>hive.llap.daemon.task.scheduler.wait.queue.size</name>
  5135. <value>10</value>
  5136. <description>LLAP scheduler maximum queue size.</description>
  5137. </property>
  5138. <property>
  5139. <name>hive.llap.daemon.wait.queue.comparator.class.name</name>
  5140. <value>org.apache.hadoop.hive.llap.daemon.impl.comparator.ShortestJobFirstComparator</value>
  5141. <description>
  5142. The priority comparator to use for LLAP scheduler prioroty queue. The built-in options
  5143. are org.apache.hadoop.hive.llap.daemon.impl.comparator.ShortestJobFirstComparator and
  5144. .....FirstInFirstOutComparator
  5145. </description>
  5146. </property>
  5147. <property>
  5148. <name>hive.llap.daemon.task.scheduler.enable.preemption</name>
  5149. <value>true</value>
  5150. <description>
  5151. Whether non-finishable running tasks (e.g. a reducer waiting for inputs) should be
  5152. preempted by finishable tasks inside LLAP scheduler.
  5153. </description>
  5154. </property>
  5155. <property>
  5156. <name>hive.llap.task.communicator.connection.timeout.ms</name>
  5157. <value>16000ms</value>
  5158. <description>
  5159. Expects a time value with unit (d/day, h/hour, m/min, s/sec, ms/msec, us/usec, ns/nsec), which is msec if not specified.
  5160. Connection timeout (in milliseconds) before a failure to an LLAP daemon from Tez AM.
  5161. </description>
  5162. </property>
  5163. <property>
  5164. <name>hive.llap.task.communicator.connection.sleep.between.retries.ms</name>
  5165. <value>2000ms</value>
  5166. <description>
  5167. Expects a time value with unit (d/day, h/hour, m/min, s/sec, ms/msec, us/usec, ns/nsec), which is msec if not specified.
  5168. Sleep duration (in milliseconds) to wait before retrying on error when obtaining a
  5169. connection to LLAP daemon from Tez AM.
  5170. </description>
  5171. </property>
  5172. <property>
  5173. <name>hive.llap.daemon.web.port</name>
  5174. <value>15002</value>
  5175. <description>LLAP daemon web UI port.</description>
  5176. </property>
  5177. <property>
  5178. <name>hive.llap.daemon.web.ssl</name>
  5179. <value>false</value>
  5180. <description>Whether LLAP daemon web UI should use SSL.</description>
  5181. </property>
  5182. <property>
  5183. <name>hive.llap.client.consistent.splits</name>
  5184. <value>false</value>
  5185. <description>Whether to setup split locations to match nodes on which llap daemons are running, instead of using the locations provided by the split itself</description>
  5186. </property>
  5187. <property>
  5188. <name>hive.llap.validate.acls</name>
  5189. <value>true</value>
  5190. <description>
  5191. Whether LLAP should reject permissive ACLs in some cases (e.g. its own management
  5192. protocol or ZK paths), similar to how ssh refuses a key with bad access permissions.
  5193. </description>
  5194. </property>
  5195. <property>
  5196. <name>hive.llap.daemon.output.service.port</name>
  5197. <value>15003</value>
  5198. <description>LLAP daemon output service port</description>
  5199. </property>
  5200. <property>
  5201. <name>hive.llap.daemon.output.service.send.buffer.size</name>
  5202. <value>131072</value>
  5203. <description>Send buffer size to be used by LLAP daemon output service</description>
  5204. </property>
  5205. <property>
  5206. <name>hive.llap.enable.grace.join.in.llap</name>
  5207. <value>false</value>
  5208. <description>Override if grace join should be allowed to run in llap.</description>
  5209. </property>
  5210. <property>
  5211. <name>hive.spark.client.future.timeout</name>
  5212. <value>60s</value>
  5213. <description>
  5214. Expects a time value with unit (d/day, h/hour, m/min, s/sec, ms/msec, us/usec, ns/nsec), which is sec if not specified.
  5215. Timeout for requests from Hive client to remote Spark driver.
  5216. </description>
  5217. </property>
  5218. <property>
  5219. <name>hive.spark.job.monitor.timeout</name>
  5220. <value>60s</value>
  5221. <description>
  5222. Expects a time value with unit (d/day, h/hour, m/min, s/sec, ms/msec, us/usec, ns/nsec), which is sec if not specified.
  5223. Timeout for job monitor to get Spark job state.
  5224. </description>
  5225. </property>
  5226. <property>
  5227. <name>hive.spark.client.connect.timeout</name>
  5228. <value>1000ms</value>
  5229. <description>
  5230. Expects a time value with unit (d/day, h/hour, m/min, s/sec, ms/msec, us/usec, ns/nsec), which is msec if not specified.
  5231. Timeout for remote Spark driver in connecting back to Hive client.
  5232. </description>
  5233. </property>
  5234. <property>
  5235. <name>hive.spark.client.server.connect.timeout</name>
  5236. <value>90000ms</value>
  5237. <description>
  5238. Expects a time value with unit (d/day, h/hour, m/min, s/sec, ms/msec, us/usec, ns/nsec), which is msec if not specified.
  5239. Timeout for handshake between Hive client and remote Spark driver. Checked by both processes.
  5240. </description>
  5241. </property>
  5242. <property>
  5243. <name>hive.spark.client.secret.bits</name>
  5244. <value>256</value>
  5245. <description>Number of bits of randomness in the generated secret for communication between Hive client and remote Spark driver. Rounded down to the nearest multiple of 8.</description>
  5246. </property>
  5247. <property>
  5248. <name>hive.spark.client.rpc.threads</name>
  5249. <value>8</value>
  5250. <description>Maximum number of threads for remote Spark driver's RPC event loop.</description>
  5251. </property>
  5252. <property>
  5253. <name>hive.spark.client.rpc.max.size</name>
  5254. <value>52428800</value>
  5255. <description>Maximum message size in bytes for communication between Hive client and remote Spark driver. Default is 50MB.</description>
  5256. </property>
  5257. <property>
  5258. <name>hive.spark.client.channel.log.level</name>
  5259. <value/>
  5260. <description>Channel logging level for remote Spark driver. One of {DEBUG, ERROR, INFO, TRACE, WARN}.</description>
  5261. </property>
  5262. <property>
  5263. <name>hive.spark.client.rpc.sasl.mechanisms</name>
  5264. <value>DIGEST-MD5</value>
  5265. <description>Name of the SASL mechanism to use for authentication.</description>
  5266. </property>
  5267. <property>
  5268. <name>hive.spark.client.rpc.server.address</name>
  5269. <value/>
  5270. <description>The server address of HiverServer2 host to be used for communication between Hive client and remote Spark driver. Default is empty, which means the address will be determined in the same way as for hive.server2.thrift.bind.host.This is only necessary if the host has mutiple network addresses and if a different network address other than hive.server2.thrift.bind.host is to be used.</description>
  5271. </property>
  5272. <property>
  5273. <name>hive.spark.dynamic.partition.pruning</name>
  5274. <value>false</value>
  5275. <description>
  5276. When dynamic pruning is enabled, joins on partition keys will be processed by writing
  5277. to a temporary HDFS file, and read later for removing unnecessary partitions.
  5278. </description>
  5279. </property>
  5280. <property>
  5281. <name>hive.spark.dynamic.partition.pruning.max.data.size</name>
  5282. <value>104857600</value>
  5283. <description>Maximum total data size in dynamic pruning.</description>
  5284. </property>
  5285. <property>
  5286. <name>hive.reorder.nway.joins</name>
  5287. <value>true</value>
  5288. <description>Runs reordering of tables within single n-way join (i.e.: picks streamtable)</description>
  5289. </property>
  5290. <property>
  5291. <name>hive.log.every.n.records</name>
  5292. <value>0</value>
  5293. <description>
  5294. Expects value bigger than 0.
  5295. If value is greater than 0 logs in fixed intervals of size n rather than exponentially.
  5296. </description>
  5297. </property>
  5298. <property>
  5299. <name>hive.msck.path.validation</name>
  5300. <value>throw</value>
  5301. <description>
  5302. Expects one of [throw, skip, ignore].
  5303. The approach msck should take with HDFS directories that are partition-like but contain unsupported characters. 'throw' (an exception) is the default; 'skip' will skip the invalid directories and still repair the others; 'ignore' will skip the validation (legacy behavior, causes bugs in many cases)
  5304. </description>
  5305. </property>
  5306. <property>
  5307. <name>hive.server2.llap.concurrent.queries</name>
  5308. <value>-1</value>
  5309. <description>The number of queries allowed in parallel via llap. Negative number implies 'infinite'.</description>
  5310. </property>
  5311. <property>
  5312. <name>hive.tez.enable.memory.manager</name>
  5313. <value>true</value>
  5314. <description>Enable memory manager for tez</description>
  5315. </property>
  5316. <property>
  5317. <name>hive.hash.table.inflation.factor</name>
  5318. <value>2.0</value>
  5319. <description>Expected inflation factor between disk/in memory representation of hash tables</description>
  5320. </property>
  5321. <property>
  5322. <name>hive.log.trace.id</name>
  5323. <value/>
  5324. <description>Log tracing id that can be used by upstream clients for tracking respective logs. Truncated to 64 characters. Defaults to use auto-generated session id.</description>
  5325. </property>
  5326. <property>
  5327. <name>hive.conf.restricted.list</name>
  5328. <value>hive.security.authenticator.manager,hive.security.authorization.manager,hive.users.in.admin.role,hive.server2.xsrf.filter.enabled</value>
  5329. <description>Comma separated list of configuration options which are immutable at runtime</description>
  5330. </property>
  5331. <property>
  5332. <name>hive.conf.hidden.list</name>
  5333. <value>javax.jdo.option.ConnectionPassword,hive.server2.keystore.password</value>
  5334. <description>Comma separated list of configuration options which should not be read by normal user like passwords</description>
  5335. </property>
  5336. <property>
  5337. <name>hive.conf.internal.variable.list</name>
  5338. <value>hive.added.files.path,hive.added.jars.path,hive.added.archives.path</value>
  5339. <description>Comma separated list of variables which are used internally and should not be configurable.</description>
  5340. </property>
  5341. </configuration>