[ https://issues.apache.org/jira/browse/HIVE-19494?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16474995#comment-16474995 ]
Hive QA commented on HIVE-19494: -------------------------------- Here are the results of testing the latest attachment: https://issues.apache.org/jira/secure/attachment/12923257/HIVE-19494-branch-3.patch {color:red}ERROR:{color} -1 due to no test(s) being added or modified. {color:red}ERROR:{color} -1 due to 22 failed/errored test(s), 14207 tests executed *Failed tests:* {noformat} TestBeeLineDriver - did not produce a TEST-*.xml file (likely timed out) (batchId=253) TestDummy - did not produce a TEST-*.xml file (likely timed out) (batchId=253) TestMiniDruidCliDriver - did not produce a TEST-*.xml file (likely timed out) (batchId=253) TestMiniDruidKafkaCliDriver - did not produce a TEST-*.xml file (likely timed out) (batchId=253) TestNonCatCallsWithCatalog - did not produce a TEST-*.xml file (likely timed out) (batchId=217) TestSSLWithMiniKdc - did not produce a TEST-*.xml file (likely timed out) (batchId=254) TestTezPerfCliDriver - did not produce a TEST-*.xml file (likely timed out) (batchId=253) TestTxnExIm - did not produce a TEST-*.xml file (likely timed out) (batchId=286) org.apache.hadoop.hive.cli.TestMiniLlapCliDriver.testCliDriver[mm_all] (batchId=152) org.apache.hadoop.hive.cli.TestMiniLlapLocalCliDriver.testCliDriver[sysdb] (batchId=163) org.apache.hadoop.hive.cli.TestMiniLlapLocalCliDriver.testCliDriver[tez_smb_1] (batchId=172) org.apache.hadoop.hive.cli.TestMiniLlapLocalCliDriver.testCliDriver[tez_vector_dynpart_hashjoin_1] (batchId=172) org.apache.hadoop.hive.cli.TestMiniLlapLocalCliDriver.testCliDriver[union_fast_stats] (batchId=167) org.apache.hadoop.hive.cli.TestMiniLlapLocalCliDriver.testCliDriver[vector_decimal_2] (batchId=162) org.apache.hadoop.hive.cli.TestNegativeCliDriver.testCliDriver[insertsel_fail] (batchId=95) org.apache.hadoop.hive.cli.control.TestDanglingQOuts.checkDanglingQOut (batchId=225) org.apache.hadoop.hive.druid.serde.TestDruidSerDe.testDruidObjectDeserializer (batchId=261) org.apache.hadoop.hive.druid.serde.TestDruidSerDe.testDruidObjectSerializer (batchId=261) org.apache.hadoop.hive.ql.TestAcidOnTez.testCtasTezUnion (batchId=228) org.apache.hadoop.hive.ql.TestAcidOnTez.testNonStandardConversion01 (batchId=228) org.apache.hadoop.hive.ql.exec.tez.TestWorkloadManager.testApplyPlanQpChanges (batchId=293) org.apache.hive.service.server.TestInformationSchemaWithPrivilege.test (batchId=238) {noformat} Test results: https://builds.apache.org/job/PreCommit-HIVE-Build/10948/testReport Console output: https://builds.apache.org/job/PreCommit-HIVE-Build/10948/console Test logs: http://104.198.109.242/logs/PreCommit-HIVE-Build-10948/ Messages: {noformat} Executing org.apache.hive.ptest.execution.TestCheckPhase Executing org.apache.hive.ptest.execution.PrepPhase Executing org.apache.hive.ptest.execution.YetusPhase Executing org.apache.hive.ptest.execution.ExecutionPhase Executing org.apache.hive.ptest.execution.ReportingPhase Tests exited with: TestsFailedException: 22 tests failed {noformat} This message is automatically generated. ATTACHMENT ID: 12923257 - PreCommit-HIVE-Build > Accept shade prefix during reflective instantiation of output format > -------------------------------------------------------------------- > > Key: HIVE-19494 > URL: https://issues.apache.org/jira/browse/HIVE-19494 > Project: Hive > Issue Type: Sub-task > Components: Streaming > Affects Versions: 3.0.0, 3.1.0 > Reporter: Prasanth Jayachandran > Assignee: Prasanth Jayachandran > Priority: Major > Attachments: HIVE-19494-branch-3.patch, HIVE-19494.1.patch > > > Hive Streaming API jars are sometimes shaded with a different prefix when > used in environments where another version of hive already exists (spark for > example). In most cases, shading is done with rename of classes with some > prefix. If an uber/assembly jar is generated with renamed prefix, Hive > Streaming API will not work as Hive Streaming API will reflectively > instantiate outputformat class using FQCN string provided by metastore table > storage descriptor object. > For example: > RecordWriter will create instance of OutputFormat using string > "org.apache.hadoop.hive.ql.io.orc.OrcOutputFormat". When a shaded jar with > renamed class references are used, this class will not be found by the > classloader. > We can optionally accept a shade prefix from user via config which will be > tried (as fallback) when ClassNotFoundException is thrown. -- This message was sent by Atlassian JIRA (v7.6.3#76005)