Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump jackson.version from 2.9.9 to 2.12.2 #15

Closed
wants to merge 210 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
210 commits
Select commit Hold shift + click to select a range
ecdce22
HIVE-18827: useless dynamic value exceptions strike back (Jason Dere,…
Apr 25, 2018
ffcae50
HIVE-19104: When test MetaStore is started with retry the instances s…
Apr 23, 2018
900dae8
HIVE-18986: Table rename will run java.lang.StackOverflowError in dat…
Apr 19, 2018
4fbd3b6
HIVE-19285: Add logs to the subclasses of MetaDataOperation (Marta Ku…
kuczoram Apr 27, 2018
1f55e6a
HIVE-18906: Lower Logging for "Using direct SQL" (Antal Sinkovits via…
May 14, 2018
3ddf59f
HIVE-6980 Drop table by using direct sql Peter Vary, reviewed by Alex…
Mar 16, 2021
9e4b379
HIVE-19432 : GetTablesOperation is too slow if the hive has too many …
rajkrrsingh May 5, 2018
6e24c32
HIVE-19759: Flaky test: TestRpc#testServerPort (Sahil Takiar, reviewe…
sahilTakiar Jun 1, 2018
31ca1bd
Revert "HIVE-19866 : improve LLAP cache purge (Sergey Shelukhin, revi…
Mar 16, 2021
18ab910
HIVE-19663 : refactor LLAP IO report generation (Sergey Shelukhin, re…
sershe-apache Jun 4, 2018
af9061a
HIVE-19866 : improve LLAP cache purge (Sergey Shelukhin, reviewed by …
sershe-apache Jun 14, 2018
6137bd8
HIVE-19564: Vectorization: Fix NULL / Wrong Results issues in Arithme…
Jun 23, 2018
1fa6c31
HIVE-20231: Backport HIVE-19981 to branch-3 (Daniel Voros via Zoltan …
dvoros Jul 25, 2018
48a7985
HIVE-18140: Partitioned tables statistics can go wrong in basic stats…
kgyrtkirk Jun 29, 2018
f101d22
HIVE-19829: Incremental replication load should create tasks in execu…
sankarh Jun 28, 2018
4a0ce1d
HIVE-18786 : NPE in Hive windowing functions (Dongwook Kwon via Ashut…
ashutoshc Jun 29, 2018
1bcef91
HIVE-20011: Move away from append mode in proto logging hook (Harish …
anishek Jun 29, 2018
a5d879d
HIVE-19967 : SMB Join : Need Optraits for PTFOperator ala GBY Op (Dee…
djaiswal83 Jun 30, 2018
f43dab8
HIVE-19989: Metastore uses wrong application name for HADOOP2 metrics…
vineetgarg02 Jun 29, 2018
2ddc06c
HIVE-20009 : Fix runtime stats for merge statement (Zoltan Haindrich …
kgyrtkirk Jun 30, 2018
8c8430f
HIVE-20004: Wrong scale used by ConvertDecimal64ToDecimal results in …
prasanthj Jun 30, 2018
ce7ff59
HIVE-20028: Metastore client cache config is used incorrectly (Prasan…
prasanthj Jul 1, 2018
d04cfe2
HIVE-19970: Replication dump has a NPE when table is empty (Mahesh Ku…
sankarh Jul 1, 2018
6445d13
HIVE-19995: Aggregate row traffic for acid tables (Zoltan Haindrich r…
kgyrtkirk Jul 3, 2018
475bbbe
HIVE-20038: Update queries on non-bucketed + partitioned tables throw…
prasanthj Jul 2, 2018
3ac837e
HIVE-20008: Fix second compilation errors in ql (Zoltan Haindrich rev…
kgyrtkirk Jul 2, 2018
dd5c1bf
HIVE-20008.extra
Mar 16, 2021
f53a0ca
HIVE-19812: Disable external table replication by default via a confi…
sankarh Jul 2, 2018
56017c4
HIVE-20059: Hive streaming should try shade prefix unconditionally on…
prasanthj Jul 2, 2018
c4fd317
HIVE-17840: HiveMetaStore eats exception if transactionalListeners.no…
sankarh Jul 3, 2018
e7b76cd
HIVE-20051: Skip authorization for temp tables (Zoltan Haindrich revi…
kgyrtkirk Jul 3, 2018
eea1f35
HIVE-19326 : stats auto gather: incorrect aggregation during UNION qu…
kgyrtkirk May 11, 2018
c2b53f1
HIVE-19326.extra
Mar 16, 2021
9c26376
HIVE-19860 : HiveServer2 ObjectInspectorFactory memory leak with cach…
sershe-apache Jul 3, 2018
4a6282e
HIVE-20039 : Bucket pruning: Left Outer Join on bucketed table gives …
djaiswal83 Jul 4, 2018
8c26aea
HIVE-19850 : Dynamic partition pruning in Tez is leading to 'No work …
ganeshashree Jul 5, 2018
2d45c9c
HIVE-20182: Backport HIVE-20067 to branch-3 (Daniel Voros via Zoltan …
dvoros Jul 23, 2018
a8c7774
HIVE-20098 : Statistics: NPE when getting Date column partition stati…
arhimondr Jul 6, 2018
55d05d7
HIVE-20184: Backport HIVE-20085 to branch-3 (Daniel Voros via Zoltan …
dvoros Jul 27, 2018
b3f0752
HIVE-20099: Fix logger for LlapServlet (Rajkumar Singh via Gopal V)
Jul 9, 2018
392c74f
HIVE-20100 : OpTraits : Select Optraits should stop when a mismatch i…
djaiswal83 Jul 9, 2018
097b87c
HIVE-20129: Revert to position based schema evolution for orc tables …
prasanthj Jul 11, 2018
4dea5f8
HIVE-20093: LlapOutputFomatService: Use ArrowBuf with Netty for Accou…
Jul 11, 2018
b6bb2c3
HIVE-19387: Truncate table for Acid tables conflicts with ResultSet c…
ekoifman Jul 12, 2018
e8a0d55
HIVE-20088: Beeline config location path is assembled incorrectly (De…
dionusos Jul 12, 2018
608b591
HIVE-20019: Ban commons-logging and log4j (Prasanth Jayachandran revi…
prasanthj Jul 12, 2018
430e2dc
HIVE-20147: Hive streaming ingest is contented on synchronized loggin…
prasanthj Jul 13, 2018
8d43be5
HIVE-20185: Backport HIVE-20111 to branch-3 (Daniel Voros via Zoltan …
dvoros Jul 30, 2018
11831d2
HIVE-19951: Vectorization: Need to disable encoded LLAP I/O for ORC w…
Jul 2, 2018
ab5e9c0
HIVE-19992: Vectorization: Follow-on to HIVE-19951 --> add call to Sc…
Jul 16, 2018
82184fc
HIVE-20174: Vectorization: Fix NULL / Wrong Results issues in GROUP B…
Jul 16, 2018
40e04ec
HIVE-20152: reset db state, when repl dump fails, so rename table can…
anishek Jul 17, 2018
1ec716d
HIVE-20116: TezTask is using parent logger (Prasanth Jayachandran rev…
prasanthj Jul 17, 2018
fc318df
HIVE-20165: Enable ZLIB for streaming ingest (Prasanth Jayachandran, …
prasanthj Jul 18, 2018
895dce2
HIVE-20172 : StatsUpdater failed with GSS Exception while trying to c…
rajkrrsingh Jul 18, 2018
d889814
HIVE-20197: Vectorization: Add DECIMAL_64 testing, add Date/Interval/…
Jul 19, 2018
a4441d4
HIVE-20183: Inserting from bucketed table can cause data loss, if the…
Jul 19, 2018
fb612fb
HIVE-20120: Incremental repl load DAG generation is causing OOM error…
sankarh Jul 19, 2018
e041d94
HIVE-19360: CBO: Add an "optimizedSQL" to QueryPlan object (Gopal V, …
t3rmin4t0r Jul 10, 2018
3e71339
HIVE-20149: TestHiveCli failing/timing out(Vineet Garg, reviewed by Z…
vineetgarg02 Jul 19, 2018
30906ab
HIVE-4367: enhance TRUNCATE syntax to drop data of external table (Ja…
Jul 21, 2018
8c1eefa
HIVE-4367.extra
Mar 16, 2021
2f280dd
HIVE-20127 : fix some issues with LLAP Parquet cache (Sergey Shelukhi…
sershe-apache Jul 21, 2018
ea4b5bb
HIVE-20204: Type conversion during IN () comparisons is using differe…
Jul 23, 2018
f0dc186
HIVE-20192: HS2 with embedded metastore is leaking JDOPersistenceMana…
sankarh Jul 23, 2018
33f6624
HIVE-17683: Add explain locks <sql> command (Igor Kryvenko via Eugene…
igorKryvenko Aug 4, 2018
5079c68
HIVE-19891 : inserting into external tables with custom partition dir…
sershe-apache Jul 23, 2018
1713e3a
HIVE-20164 : Murmur Hash : Make sure CTAS and IAS use correct bucketi…
djaiswal83 Jul 24, 2018
a22046a
HIVE-20082: HiveDecimal to string conversion doesn't format the decim…
Jul 24, 2018
e2ed900
HIVE-19935 : Hive WM session killed: Failed to update LLAP tasks coun…
sershe-apache Jul 24, 2018
742399c
HIVE-20207: Vectorization: Fix NULL / Wrong Results issues in Filter …
Jul 25, 2018
7d96e25
HIVE-20203: Arrow SerDe leaks a DirectByteBuffer (Eric Wohlstadter, r…
pudidic Jul 26, 2018
3fed353
HIVE-20228: configure repl configuration directories based on user ru…
anishek Jul 27, 2018
1cd2c7b
HIVE-20240 : Semijoin Reduction : Use local variable to check for ext…
djaiswal83 Jul 26, 2018
2a37ff2
HIVE-20212: Hiveserver2 in http mode emitting metric default.General.…
jcamachor Jul 27, 2018
f9edb9d
HIVE-20213: Upgrade Calcite to 1.17.0 (Jesus Camacho Rodriguez, revie…
jcamachor Jul 19, 2018
187338e
HIVE-18729: Druid Time column type (Jesus Camacho Rodriguez, reviewed…
jcamachor Jul 24, 2018
6755de3
HIVE-20105: Druid-Hive: tpcds query on timestamp throws java.lang.Ill…
nishantmonu51 Jul 24, 2018
3c797bd
HIVE-20035: write booleans as long when serializing to druid (Nishant…
nishantmonu51 Jul 24, 2018
61cdbab
HIVE-20263: Typo in HiveReduceExpressionsWithStatsRule variable (Jesu…
jcamachor Jul 30, 2018
1a8b826
HIVE-20249 : LLAP IO: NPE during refCount decrement (Prasanth Jayacha…
sershe-apache Jul 30, 2018
dddd8b1
HIVE-20247 : cleanup issues in LLAP IO after cache OOM (Sergey Sheluk…
sershe-apache Jul 30, 2018
545d858
HIVE-20247 : cleanup issues in LLAP IO after cache OOM (Sergey Sheluk…
sershe-apache Jul 30, 2018
60e4f81
HIVE-20245: Vectorization: Fix NULL / Wrong Results issues in BETWEEN…
Jul 31, 2018
a3508b3
HIVE-20177: Vectorization: Reduce KeyWrapper allocation in GroupBy St…
t3rmin4t0r Jul 31, 2018
cdc2ef3
HIVE-20101: BloomKFilter: Avoid using the local byte[] arrays entirel…
t3rmin4t0r Jul 31, 2018
6d111cd
HIVE-20244 : forward port HIVE-19704 to master (Sergey Shelukhin, rev…
sershe-apache Jul 31, 2018
6d2b365
HIVE-20130: Better logging for information schema synchronizer (Danie…
daijy Jul 31, 2018
876cc91
HIVE-18201 : Disable XPROD_EDGE for sq_count_check() created for sca…
ashutoshc Dec 12, 2017
e571311
HIVE-14493: Partitioning support for materialized views (Jesus Camach…
jcamachor Jul 30, 2018
cbb4026
HIVE-20281: SharedWorkOptimizer fails with 'operator cache contents a…
jcamachor Aug 2, 2018
c7e5e19
HIVE-20294: Vectorization: Fix NULL / Wrong Results issues in COALESC…
Aug 3, 2018
7f538af
HIVE-20302: LLAP: non-vectorized execution in IO ignores virtual colu…
jcamachor Aug 3, 2018
1df6b62
HIVE-20301: Enable vectorization for materialized view rewriting test…
jcamachor Aug 3, 2018
b339dfe
HIVE-20314: Include partition pruning in materialized view rewriting …
jcamachor Aug 4, 2018
aaac65e
HIVE-20277: Vectorization: Case expressions that return BOOLEAN are n…
Aug 6, 2018
21fc0d4
HIVE-20290: Lazy initialize ArrowColumnarBatchSerDe so it doesn't all…
Aug 6, 2018
e983e08
HIVE-20118: SessionStateUserAuthenticator.getGroupNames() is always e…
daijy Aug 3, 2018
055be8c
HIVE-19408: Improve show materialized views statement to show more in…
jcamachor Aug 7, 2018
2963f8e
HIVE-19408.extra
Mar 16, 2021
c5f1ba6
HIVE-20326: Create constraints with RELY as default instead of NO REL…
vineetgarg02 Aug 7, 2018
ba6e954
HIVE-20335: Add tests for materialized view rewriting with composite …
jcamachor Aug 8, 2018
69de196
HIVE-20337: CachedStore: getPartitionsByExpr is not populating the pa…
Aug 9, 2018
caa6996
HIVE-20336: Masking and filtering policies for materialized views (Je…
jcamachor Aug 9, 2018
0fbbda7
HIVE-20316: Skip external table file listing for create table event (…
sankarh Aug 10, 2018
a01843e
HIVE-20344: PrivilegeSynchronizer for SBA might hit AccessControlExce…
daijy Aug 10, 2018
755bf67
HIVE-20340: Druid Needs Explicit CASTs from Timestamp to STRING when …
vineetgarg02 Aug 10, 2018
12249ea
HIVE-20354 : Semijoin hints dont work with merge statements (Deepak J…
djaiswal83 Aug 12, 2018
57901e1
HIVE-19924: Tag distcp jobs run by Repl Load (Mahesh Kumar Behera, re…
sankarh Aug 13, 2018
6944d46
HIVE-20329: Long running repl load (incr/bootstrap) causing OOM error…
sankarh Aug 13, 2018
d9c17ae
HIVE-19316: StatsTask fails due to ClassCastException (Jaume Marhuend…
beltran Aug 14, 2018
3d28ae2
add ql/src/test/results/clientpositive/llap/materialized_view_partiti…
Mar 16, 2021
60010da
HIVE-20379: Rewriting with partitioned materialized views may referen…
jcamachor Aug 14, 2018
4554d1c
HIVE-20345: Drop database may hang if the tables get deleted from a d…
Aug 9, 2018
d269399
HIVE-18620: Improve error message while dropping a table that is part…
jcamachor Aug 14, 2018
26b96d7
HIVE-20389: NPE in SessionStateUserAuthenticator when authenticator=S…
daijy Aug 15, 2018
b6349b6
HIVE-14898: HS2 shouldn't log callstack for an empty auth header error
daijy Aug 15, 2018
725145f
HIVE-20391: HiveAggregateReduceFunctionsRule may infer wrong return t…
jcamachor Aug 15, 2018
00ce359
HIVE-20321: Vectorization: Cut down memory size of 1 col VectorHashKe…
Aug 17, 2018
bc58de6
HIVE-20410: aborted Insert Overwrite on transactional table causes "N…
ekoifman Aug 18, 2018
da6b031
HIVE-20406 : Nested Coalesce giving incorrect results (Vineet Garg vi…
vineetgarg02 Aug 18, 2018
e3f7d0c
HIVE-20406 : Addendum patch
ashutoshc Aug 18, 2018
461bbed
HIVE-20409: Hive ACID: Update/delete/merge does not clean hdfs stagin…
Aug 22, 2018
7760788
HIVE-20418 : LLAP IO may not handle ORC files that have row index dis…
sershe-apache Aug 22, 2018
abd2d43
HIVE-20399 : CTAS w/a custom table location that is not fully qualifi…
sershe-apache Aug 23, 2018
773cd57
HIVE-20367: Vectorization: Support streaming for PTF AVG, MAX, MIN, S…
Aug 24, 2018
5bade65
HIVE-20352: Vectorization: Support grouping function (Matt McCline, r…
Aug 24, 2018
190a1f7
HIVE-20339: Vectorization: Lift unneeded restriction causing some PTF…
Aug 25, 2018
f7fcde4
HIVE-20315: Vectorization: Fix more NULL / Wrong Results issues and a…
Aug 25, 2018
03d7707
HIVE-20455: Log spew from security.authorization.PrivilegeSynchonizer…
daijy Aug 25, 2018
7c9d8c2
HIVE-20187 : Incorrect query results in hive when hive.convert.join.b…
djaiswal83 Aug 26, 2018
035d1fc
HIVE-20439: Use the inflated memory limit during join selection for l…
kgyrtkirk Aug 27, 2018
3c78de3
HIVE-20439: addendum
kgyrtkirk Aug 27, 2018
5957e90
HIVE-20433 : Implicit String to Timestamp conversion is slow (Deepak …
djaiswal83 Aug 29, 2018
7e83541
HIVE-20496: Vectorization: Vectorized PTF IllegalStateException (Matt…
Sep 3, 2018
ae69565
HIVE-20476: CopyUtils used by REPL LOAD and EXPORT/IMPORT operations …
sankarh Sep 4, 2018
f0a3c5c
HIVE-20491: Fix mapjoin size estimations for Fast implementation (Zol…
kgyrtkirk Sep 5, 2018
d83177c
HIVE-20491.extra
Mar 16, 2021
638ec3d
HIVE-19993: Using a table alias which also appears as a column name i…
beltran Sep 4, 2018
4262b9a
HIVE-15932: Add support for: "explain ast" (Igor Kryvenko via Zoltan …
igorKryvenko Sep 5, 2018
0440167
HIVE-20499 : GetTablesOperation pull all the tables meta irrespective…
Sep 7, 2018
089aa6c
HIVE-20515 : Empty query results when using results cache and query t…
Sep 9, 2018
ff49a32
HIVE-20510 : Vectorization : Support loading bucketed tables using so…
djaiswal83 Sep 9, 2018
ff8b6d1
HIVE-20522: HiveFilterSetOpTransposeRule may throw assertion error du…
jcamachor Sep 8, 2018
0fe299a
HIVE-20508 : Hive does not support user names of type "user@realm" (D…
djaiswal83 Sep 6, 2018
93aaf2e
HIVE-20513: Vectorization: Improve Fast Vector MapJoin Bytes Hash Tab…
Sep 10, 2018
c28f5c4
HIVE-17921 Aggregation with struct in LLAP produces wrong result (Sau…
ekoifman Sep 10, 2018
e37048a
HIVE-20296: Improve HivePointLookupOptimizerRule to be able to extrac…
kgyrtkirk Sep 11, 2018
83192d1
HIVE-20412: NPE in HiveMetaHook (Jason Dere, reviewed by Sergey Shelu…
Sep 12, 2018
adba1e7
HIVE-20503: Use datastructure aware estimations during mapjoin select…
kgyrtkirk Sep 13, 2018
251911d
HIVE-20541: REPL DUMP on external table with add partition event thro…
sankarh Sep 13, 2018
122cb82
HIVE-20524: Schema Evolution checking is broken in going from Hive ve…
Sep 15, 2018
648d973
Missed files: HIVE-20524: Schema Evolution checking is broken in goin…
Sep 15, 2018
b90ae2d
HIVE-20558 : Change default of hive.hashtable.key.count.adjustment t…
ashutoshc Sep 17, 2018
3b0daef
HIVE-20583: Use canonical hostname only for kerberos auth in HiveConn…
prasanthj Sep 18, 2018
89db4cd
add ql/src/test/results/clientpositive/test_teradatabinaryfile.q.out …
Mar 16, 2021
297852b
HIVE-20498: Support date type for column stats autogather (Zoltan Hai…
kgyrtkirk Sep 20, 2018
570b587
HIVE-20507: Beeline: Add a utility command to retrieve all uris from …
Sep 20, 2018
b1fef64
HIVE-20568 : There is no need to convert the dbname to pattern while …
Sep 21, 2018
0fc0413
HIVE-20095: Fix feature to push computation to jdbc external tables (…
msydoron Sep 22, 2018
b16d565
HIVE-20625: Regex patterns not working in SHOW MATERIALIZED VIEWS '<p…
jcamachor Sep 23, 2018
32a5570
HIVE-20620 : manifest collisions when inserting into bucketed sorted …
sershe-apache Sep 24, 2018
1a36026
HIVE-18871: hive on tez execution error due to set hive.aux.jars.path…
Sep 24, 2018
8a8e595
HIVE-20552: Get Schema from LogicalPlan faster (Teddy Choi, reviewed …
pudidic Sep 28, 2018
bad3cd6
HIVE-20618: During join selection BucketMapJoin might be choosen for …
kgyrtkirk Oct 1, 2018
83c7076
HIVE-20652: JdbcStorageHandler push join of two different datasource …
jcamachor Oct 2, 2018
3158694
HIVE-20651: JdbcStorageHandler password should be encrypted (Daniel D…
daijy Oct 7, 2018
605b192
HIVE-20692: Enable folding of NOT x IS (NOT) [TRUE|FALSE] expressions…
kgyrtkirk Oct 8, 2018
06deed5
HIVE-20648: LLAP: Vector group by operator should use memory per exec…
prasanthj Oct 9, 2018
34ad8ac
HIVE-20649: LLAP aware memory manager for Orc writers (Prasanth Jayac…
prasanthj Oct 15, 2018
4537d3c
HIVE-20710: Constant folding may not create null constants without ty…
kgyrtkirk Oct 10, 2018
6ce796b
HIVE-20705: Vectorization: Native Vector MapJoin doesn't support Comp…
Oct 11, 2018
3967295
HIVE-20644 : Avoid exposing sensitive infomation through a Hive Runti…
Oct 12, 2018
bf84339
HIVE-20696: msck_*.q tests are broken (Jesus Camacho Rodriguez, revie…
jcamachor Oct 14, 2018
800695a
HIVE-20761: Select for update on notification_sequence table has retr…
sankarh Oct 18, 2018
f1e4ebc
HIVE-20720: Add partition column option to JDBC handler (Daniel Dai, …
daijy Oct 19, 2018
76d8915
HIVE-20720.extra
Mar 16, 2021
0e4b73a
HIVE-20762: NOTIFICATION_LOG cleanup interval is hardcoded as 60s and…
sankarh Oct 20, 2018
2871c89
HIVE-20763: Add google cloud storage (gs) to the exim uri schema whit…
sidseth Oct 21, 2018
ae29266
HIVE-20638 : Upgrade version of Jetty to 9.3.25.v20180904 (Laszlo Bod…
Oct 26, 2018
028195a
HIVE-20792: Inserting timestamp with zones truncates the data (Jaume …
beltran Oct 28, 2018
5046acb
HIVE-20820: MV partition on clause position (Jesus Camacho Rodriguez,…
jcamachor Oct 29, 2018
ccc39e3
HIVE-20829: JdbcStorageHandler range split throws NPE (Daniel Dai, re…
daijy Oct 30, 2018
4223fec
HIVE-20830: JdbcStorageHandler range query assertion failure in some …
daijy Oct 30, 2018
f6607b3
add ql/src/test/results/clientpositive/llap/materialized_view_rewrite…
Mar 16, 2021
2a43a89
HIVE-20821: Rewrite SUM0 into SUM + COALESCE combination (Jesus Camac…
jcamachor Nov 3, 2018
32fe16b
HIVE-20815: JdbcRecordReader.next shall not eat exception (Daniel Dai…
daijy Nov 3, 2018
1389b13
HIVE-20834: Hive QueryResultCache entries keeping reference to Semant…
Nov 4, 2018
2b05420
HIVE-20817: Reading Timestamp datatype via HiveServer2 gives errors (…
maheshk114 Nov 5, 2018
3e1ff5c
HIVE-20868 : SMB Join fails intermittently when TezDummyOperator has …
djaiswal83 Nov 8, 2018
44e93cb
HIVE-16839 : Unbalanced calls to openTransaction/commitTransaction wh…
Nov 8, 2018
542e56a
HIVE-20813: udf to_epoch_milli need to support timestamp without time…
b-slim Nov 8, 2018
98971d2
HIVE-20881: Constant propagation oversimplifies projections (Zoltan H…
kgyrtkirk Nov 9, 2018
12b6d5d
HIVE-19701: getDelegationTokenFromMetaStore doesn't need to be synchr…
sankarh Nov 13, 2018
b20fde9
HIVE-20676 : HiveServer2: PrivilegeSynchronizer is not set to daemon …
Nov 13, 2018
193bcb4
HIVE-20937: Postgres jdbc query fail with "LIMIT must not be negative…
daijy Nov 19, 2018
fb91003
HIVE-20873: Use Murmur hash for VectorHashKeyWrapperTwoLong to reduce…
pudidic Nov 27, 2018
a2f354a
HIVE-20953 : Remove a function from function registry when it can not…
Dec 3, 2018
67b6193
HIVE-20827: Inconsistent results for empty arrays (Teddy Choi, review…
pudidic Dec 5, 2018
8fc5318
HIVE-20979: Fix memory leak in hive streaming (Shubham Chaurasia revi…
Dec 10, 2018
a2bc60c
HIVE-21041: NPE, ParseException in getting schema from logical plan (…
Dec 18, 2018
1dd339f
HIVE-21041.extra
Mar 16, 2021
5ecf05c
HIVE-21171: Skip creating scratch dirs for tez if RPC is on (Vineet G…
vineetgarg02 Jan 29, 2019
f86164c
HIVE-21329: Custom Tez runtime unordered output buffer size depending…
jcamachor Feb 27, 2019
2107f2c
HIVE-22485: Cross product should set the conf in UnorderedPartitioned…
rbalamohan Dec 15, 2019
e69e2de
HIVE-22891: Skip PartitionDesc Extraction In CombineHiveRecord For No…
srahman-qubole Feb 25, 2020
e382dd8
HIVE-22815: reduce the unnecessary file system object creation in MRO…
rizhangcloud Feb 18, 2020
043ba81
HIVE-5312: Let HiveServer2 run simultaneously in HTTP (over thrift) a…
szlta Mar 26, 2020
979a377
Patches for MR3
Mar 16, 2021
5e4f3a5
Bump jackson.version from 2.9.9 to 2.12.2
dependabot[bot] Mar 16, 2021
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
Expand Up @@ -54,6 +54,7 @@ public class AccumuloSerDe extends AbstractSerDe {

private static final Logger log = LoggerFactory.getLogger(AccumuloSerDe.class);

@Override
public void initialize(Configuration conf, Properties properties) throws SerDeException {
accumuloSerDeParameters = new AccumuloSerDeParameters(conf, properties, getClass().getName());

Expand Down Expand Up @@ -109,6 +110,7 @@ public LazyAccumuloRow getCachedRow() {
return cachedRow;
}

@Override
public Class<? extends Writable> getSerializedClass() {
return Mutation.class;
}
Expand All @@ -135,12 +137,14 @@ public Object deserialize(Writable writable) throws SerDeException {
return cachedRow;
}

@Override
public ObjectInspector getObjectInspector() throws SerDeException {
return cachedObjectInspector;
}

@Override
public SerDeStats getSerDeStats() {
throw new UnsupportedOperationException("SerdeStats not supported.");
return null;
}

public AccumuloSerDeParameters getParams() {
Expand Down
Expand Up @@ -38,7 +38,7 @@
import org.apache.hadoop.hive.ql.plan.ExprNodeConstantDesc;
import org.apache.hadoop.hive.ql.plan.ExprNodeDesc;
import org.apache.hadoop.hive.ql.plan.ExprNodeGenericFuncDesc;
import org.apache.hadoop.hive.ql.udf.UDFToString;
import org.apache.hadoop.hive.ql.udf.generic.GenericUDFToString;
import org.apache.hadoop.hive.ql.udf.generic.GenericUDFBridge;
import org.apache.hadoop.hive.ql.udf.generic.GenericUDFOPAnd;
import org.apache.hadoop.hive.ql.udf.generic.GenericUDFOPEqual;
Expand Down Expand Up @@ -388,12 +388,11 @@ public void testCastExpression() throws Exception {
ExprNodeGenericFuncDesc addition = new ExprNodeGenericFuncDesc(TypeInfoFactory.intTypeInfo, plus, Arrays.asList(fourty, fifty));

// cast(.... as string)
UDFToString stringCast = new UDFToString();
GenericUDFBridge stringCastBridge = new GenericUDFBridge("cast", false, stringCast.getClass().getName());
GenericUDFToString stringCast = new GenericUDFToString();

// cast (40 + 50 as string)
ExprNodeGenericFuncDesc cast = new ExprNodeGenericFuncDesc(TypeInfoFactory.stringTypeInfo,
stringCastBridge, "cast", Collections.<ExprNodeDesc> singletonList(addition));
stringCast, "cast", Collections.<ExprNodeDesc> singletonList(addition));

ExprNodeDesc key = new ExprNodeColumnDesc(TypeInfoFactory.stringTypeInfo, "key", null,
false);
Expand Down
57 changes: 56 additions & 1 deletion beeline/src/java/org/apache/hive/beeline/BeeLine.java
Expand Up @@ -65,6 +65,7 @@
import java.util.List;
import java.util.ListIterator;
import java.util.Map;
import java.util.Map.Entry;
import java.util.Properties;
import java.util.ResourceBundle;
import java.util.ServiceLoader;
Expand Down Expand Up @@ -94,6 +95,7 @@
import org.apache.hive.beeline.hs2connection.HiveSiteHS2ConnectionFileParser;
import org.apache.hive.beeline.hs2connection.UserHS2ConnectionFileParser;
import org.apache.hive.common.util.ShutdownHookManager;
import org.apache.hive.jdbc.HiveConnection;
import org.apache.hive.jdbc.JdbcUriParseException;
import org.apache.hive.jdbc.Utils;
import org.apache.hive.jdbc.Utils.JdbcConnectionParams;
Expand Down Expand Up @@ -389,6 +391,12 @@ public class BeeLine implements Closeable {
.withLongOpt("help")
.withDescription("Display this message")
.create('h'));

// -getUrlsFromBeelineSite
options.addOption(OptionBuilder
.withLongOpt("getUrlsFromBeelineSite")
.withDescription("Print all urls from beeline-site.xml, if it is present in the classpath")
.create());

// Substitution option --hivevar
options.addOption(OptionBuilder
Expand Down Expand Up @@ -712,7 +720,7 @@ private void processBeeLineOpt(final String arg) {

private boolean isBeeLineOpt(String arg) {
return arg.startsWith("--") && !(HIVE_VAR_PREFIX.equals(arg) || (HIVE_CONF_PREFIX.equals(arg))
|| "--help".equals(arg) || PROP_FILE_PREFIX.equals(arg));
|| "--help".equals(arg) || PROP_FILE_PREFIX.equals(arg) || "--getUrlsFromBeelineSite".equals(arg));
}
}

Expand Down Expand Up @@ -843,6 +851,12 @@ private boolean connectUsingArgs(BeelineParser beelineParser, CommandLine cl) {
getOpts().setHelpAsked(true);
return true;
}

if (cl.hasOption("getUrlsFromBeelineSite")) {
printBeelineSiteUrls();
getOpts().setBeelineSiteUrlsAsked(true);
return true;
}

Properties hiveVars = cl.getOptionProperties("hivevar");
for (String key : hiveVars.stringPropertyNames()) {
Expand Down Expand Up @@ -919,6 +933,44 @@ private boolean connectUsingArgs(BeelineParser beelineParser, CommandLine cl) {
return false;
}

private void printBeelineSiteUrls() {
BeelineSiteParser beelineSiteParser = getUserBeelineSiteParser();
if (!beelineSiteParser.configExists()) {
output("No beeline-site.xml in the path", true);
}
if (beelineSiteParser.configExists()) {
// Get the named url from user specific config file if present
try {
Properties userNamedConnectionURLs = beelineSiteParser.getConnectionProperties();
userNamedConnectionURLs.remove(BeelineSiteParser.DEFAULT_NAMED_JDBC_URL_PROPERTY_KEY);
StringBuilder sb = new StringBuilder("urls: ");
for (Entry<Object, Object> entry : userNamedConnectionURLs.entrySet()) {
String urlFromBeelineSite = (String) entry.getValue();
if (isZkBasedUrl(urlFromBeelineSite)) {
List<String> jdbcUrls = HiveConnection.getAllUrlStrings(urlFromBeelineSite);
for (String jdbcUrl : jdbcUrls) {
sb.append(jdbcUrl + ", ");
}
} else {
sb.append(urlFromBeelineSite + ", ");
}
}
output(sb.toString(), true);
} catch (Exception e) {
output(e.getMessage(), true);
return;
}
}
}

private boolean isZkBasedUrl(String urlFromBeelineSite) {
String zkJdbcUriParam = ("serviceDiscoveryMode=zooKeeper").toLowerCase();
if (urlFromBeelineSite.toLowerCase().contains(zkJdbcUriParam)) {
return true;
}
return false;
}

private void setHiveConfVar(String key, String val) {
getOpts().getHiveConfVariables().put(key, val);
if (HiveConf.ConfVars.HIVE_EXECUTION_ENGINE.varname.equals(key) && "mr".equals(val)) {
Expand Down Expand Up @@ -1060,6 +1112,9 @@ public int begin(String[] args, InputStream inputStream) throws IOException {
if (getOpts().isHelpAsked()) {
return 0;
}
if (getOpts().isBeelineSiteUrlsAsked()) {
return 0;
}
if (getOpts().getScriptFile() != null) {
return executeFile(getOpts().getScriptFile());
}
Expand Down
21 changes: 16 additions & 5 deletions beeline/src/java/org/apache/hive/beeline/BeeLineOpts.java
Expand Up @@ -114,6 +114,7 @@ class BeeLineOpts implements Completer {
private Map<String, String> hiveVariables = new HashMap<String, String>();
private Map<String, String> hiveConfVariables = new HashMap<String, String>();
private boolean helpAsked;
private boolean beelineSiteUrlsAsked;

private String lastConnectedUrl = null;

Expand Down Expand Up @@ -503,11 +504,12 @@ public void setEscapeCRLF(boolean escapeCRLF) {
public boolean getEscapeCRLF() {
if (beeLine.isBeeLine()) {
return escapeCRLF;
} else {
boolean flag;
HiveConf conf = beeLine.getCommands().getHiveConf(true);
flag = HiveConf.getBoolVar(conf, HiveConf.ConfVars.HIVE_CLI_PRINT_ESCAPE_CRLF);
return flag;
} else { //hive cli
if(conf != null) {
return HiveConf.getBoolVar(conf, HiveConf.ConfVars.HIVE_CLI_PRINT_ESCAPE_CRLF);
} else {
return false;
}
}
}

Expand Down Expand Up @@ -678,7 +680,16 @@ public void setHelpAsked(boolean helpAsked) {
public boolean isHelpAsked() {
return helpAsked;
}

public void setBeelineSiteUrlsAsked(boolean beelineSiteUrlsAsked) {
this.beelineSiteUrlsAsked = beelineSiteUrlsAsked;
}

public boolean isBeelineSiteUrlsAsked() {
return beelineSiteUrlsAsked;
}


public String getLastConnectedUrl(){
return lastConnectedUrl;
}
Expand Down
Expand Up @@ -63,7 +63,7 @@ public BeelineSiteParser() {
locations
.add(System.getenv("HIVE_CONF_DIR") + File.separator + DEFAULT_BEELINE_SITE_FILE_NAME);
}
locations.add(ETC_HIVE_CONF_LOCATION + DEFAULT_BEELINE_SITE_FILE_NAME);
locations.add(ETC_HIVE_CONF_LOCATION + File.separator + DEFAULT_BEELINE_SITE_FILE_NAME);
}

@VisibleForTesting
Expand Down
Expand Up @@ -56,7 +56,7 @@ public UserHS2ConnectionFileParser() {
locations.add(
System.getenv("HIVE_CONF_DIR") + File.separator + DEFAULT_CONNECTION_CONFIG_FILE_NAME);
}
locations.add(ETC_HIVE_CONF_LOCATION + DEFAULT_CONNECTION_CONFIG_FILE_NAME);
locations.add(ETC_HIVE_CONF_LOCATION + File.separator + DEFAULT_CONNECTION_CONFIG_FILE_NAME);
}

@VisibleForTesting
Expand Down
1 change: 1 addition & 0 deletions beeline/src/main/resources/BeeLine.properties
Expand Up @@ -211,6 +211,7 @@ cmd-usage: Usage: java org.apache.hive.cli.beeline.BeeLine \n \
\ --delimiter=DELIMITER set the query delimiter; multi-char delimiters are allowed, but quotation\n \
\ marks, slashes, and -- are not allowed; defaults to ;\n \
\ --convertBinaryArrayToString=[true/false] display binary column data as string or as byte array \n \
\ --getUrlsFromBeelineSite Print all urls from beeline-site.xml, if it is present in the classpath\n \
\ --help display this message\n \
\n \
\ Example:\n \
Expand Down
2 changes: 0 additions & 2 deletions beeline/src/test/org/apache/hive/beeline/cli/TestHiveCli.java
Expand Up @@ -24,7 +24,6 @@
import org.junit.Assert;
import org.junit.Before;
import org.junit.Test;
import org.junit.Ignore;

import java.io.BufferedWriter;
import java.io.ByteArrayOutputStream;
Expand Down Expand Up @@ -253,7 +252,6 @@ public void testUseInvalidDB() {
"hive (invalidDB)>", os, null, ERRNO_OTHER, false);
}

@Ignore("Broken tests -- HIVE-18806")
@Test
public void testNoErrorDB() {
verifyCMD(null, "Error: Method not supported (state=,code=0)", errS, new String[] { "-e", "show tables;" },
Expand Down
@@ -0,0 +1,41 @@
/*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.apache.hive.beeline.hs2connection;

import java.io.File;
import java.lang.reflect.Field;
import java.util.Collection;
import java.util.List;
import org.junit.Assert;
import org.junit.Test;

public class TestBeelineSiteParser {
@Test
public void testConfigLocationPathInEtc() throws Exception {
BeelineSiteParser testHS2ConfigManager =
new BeelineSiteParser();
Field locations = testHS2ConfigManager.getClass().getDeclaredField("locations");
locations.setAccessible(true);
Collection<String> locs = (List<String>)locations.get(testHS2ConfigManager);
Assert.assertTrue(locs.contains(
BeelineSiteParser.ETC_HIVE_CONF_LOCATION +
File.separator +
BeelineSiteParser.DEFAULT_BEELINE_SITE_FILE_NAME));

}
}
Expand Up @@ -18,7 +18,9 @@
package org.apache.hive.beeline.hs2connection;

import java.io.File;
import java.lang.reflect.Field;
import java.util.ArrayList;
import java.util.Collection;
import java.util.List;

import org.apache.hive.beeline.hs2connection.BeelineHS2ConnectionFileParseException;
Expand Down Expand Up @@ -171,6 +173,20 @@ public void testGetLocationOrder() throws Exception {
LOCATION_2.equals(testHS2ConfigManager.getFileLocation()));
}

@Test
public void testConfigLocationPathInEtc() throws Exception {
UserHS2ConnectionFileParser testHS2ConfigManager =
new UserHS2ConnectionFileParser();
Field locations = testHS2ConfigManager.getClass().getDeclaredField("locations");
locations.setAccessible(true);
Collection<String> locs = (List<String>)locations.get(testHS2ConfigManager);
Assert.assertTrue(locs.contains(
UserHS2ConnectionFileParser.ETC_HIVE_CONF_LOCATION +
File.separator +
UserHS2ConnectionFileParser.DEFAULT_CONNECTION_CONFIG_FILE_NAME));

}

private String getParsedUrlFromConfigFile(String filename)
throws BeelineHS2ConnectionFileParseException {
String path = HiveTestUtils.getFileFromClasspath(filename);
Expand Down
Expand Up @@ -18,7 +18,9 @@

package org.apache.hadoop.hive.common;

import java.io.IOException;
import java.net.InetAddress;
import java.net.ServerSocket;
import java.net.UnknownHostException;

import org.slf4j.Logger;
Expand Down Expand Up @@ -77,4 +79,10 @@ public static String hostname() {
}
}

public static int findFreePort() throws IOException {
ServerSocket socket= new ServerSocket(0);
int port = socket.getLocalPort();
socket.close();
return port;
}
}
Expand Up @@ -33,12 +33,10 @@ private JsonParserFactory() {
* @return the appropriate JsonParser to print a JSONObject into outputStream.
*/
public static JsonParser getParser(HiveConf conf) {
if (HiveConf.getVar(conf, HiveConf.ConfVars.HIVE_EXECUTION_ENGINE).equals("tez")) {
String engine = HiveConf.getVar(conf, HiveConf.ConfVars.HIVE_EXECUTION_ENGINE);
if (engine.equals("mr3") || engine.equals("tez")) {
return new TezJsonParser();
}
if (HiveConf.getVar(conf, HiveConf.ConfVars.HIVE_EXECUTION_ENGINE).equals("spark")) {
return new SparkJsonParser();
}
return null;
}
}
Expand Up @@ -190,14 +190,10 @@ public static boolean canRenderInPlace(HiveConf conf) {
String engine = HiveConf.getVar(conf, HiveConf.ConfVars.HIVE_EXECUTION_ENGINE);
boolean inPlaceUpdates = false;

if (engine.equals("tez")) {
if (engine.equals("mr3") || engine.equals("tez")) {
inPlaceUpdates = HiveConf.getBoolVar(conf, HiveConf.ConfVars.TEZ_EXEC_INPLACE_PROGRESS);
}

if (engine.equals("spark")) {
inPlaceUpdates = HiveConf.getBoolVar(conf, HiveConf.ConfVars.SPARK_EXEC_INPLACE_PROGRESS);
}

return inPlaceUpdates && isUnixTerminal();
}

Expand Down