[
https://issues.apache.org/jira/browse/HIVE-21508?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16929315#comment-16929315
]
Hive QA commented on HIVE-21508:
--------------------------------
Here are the results of testing the latest attachment:
https://issues.apache.org/jira/secure/attachment/12980254/HIVE-21508.5.branch-3.1.patch
{color:red}ERROR:{color} -1 due to no test(s) being added or modified.
{color:red}ERROR:{color} -1 due to 126 failed/errored test(s), 14412 tests
executed
*Failed tests:*
{noformat}
TestAddPartitions - did not produce a TEST-*.xml file (likely timed out)
(batchId=226)
TestAddPartitionsFromPartSpec - did not produce a TEST-*.xml file (likely timed
out) (batchId=228)
TestAdminUser - did not produce a TEST-*.xml file (likely timed out)
(batchId=232)
TestAggregateStatsCache - did not produce a TEST-*.xml file (likely timed out)
(batchId=232)
TestAlterPartitions - did not produce a TEST-*.xml file (likely timed out)
(batchId=228)
TestAppendPartitions - did not produce a TEST-*.xml file (likely timed out)
(batchId=228)
TestBeeLineDriver - did not produce a TEST-*.xml file (likely timed out)
(batchId=273)
TestCachedStore - did not produce a TEST-*.xml file (likely timed out)
(batchId=236)
TestCatalogCaching - did not produce a TEST-*.xml file (likely timed out)
(batchId=236)
TestCatalogNonDefaultClient - did not produce a TEST-*.xml file (likely timed
out) (batchId=226)
TestCatalogNonDefaultSvr - did not produce a TEST-*.xml file (likely timed out)
(batchId=232)
TestCatalogOldClient - did not produce a TEST-*.xml file (likely timed out)
(batchId=226)
TestCatalogs - did not produce a TEST-*.xml file (likely timed out)
(batchId=228)
TestCheckConstraint - did not produce a TEST-*.xml file (likely timed out)
(batchId=226)
TestCloseableThreadLocal - did not produce a TEST-*.xml file (likely timed out)
(batchId=332)
TestDataSourceProviderFactory - did not produce a TEST-*.xml file (likely timed
out) (batchId=236)
TestDatabaseName - did not produce a TEST-*.xml file (likely timed out)
(batchId=195)
TestDatabases - did not produce a TEST-*.xml file (likely timed out)
(batchId=228)
TestDeadline - did not produce a TEST-*.xml file (likely timed out)
(batchId=236)
TestDefaultConstraint - did not produce a TEST-*.xml file (likely timed out)
(batchId=228)
TestDropPartitions - did not produce a TEST-*.xml file (likely timed out)
(batchId=226)
TestDummy - did not produce a TEST-*.xml file (likely timed out) (batchId=273)
TestEmbeddedHiveMetaStore - did not produce a TEST-*.xml file (likely timed
out) (batchId=229)
TestExchangePartitions - did not produce a TEST-*.xml file (likely timed out)
(batchId=228)
TestFMSketchSerialization - did not produce a TEST-*.xml file (likely timed
out) (batchId=237)
TestFilterHooks - did not produce a TEST-*.xml file (likely timed out)
(batchId=226)
TestForeignKey - did not produce a TEST-*.xml file (likely timed out)
(batchId=228)
TestFunctions - did not produce a TEST-*.xml file (likely timed out)
(batchId=226)
TestGetPartitions - did not produce a TEST-*.xml file (likely timed out)
(batchId=228)
TestGetPartitionsUsingProjectionAndFilterSpecs - did not produce a TEST-*.xml
file (likely timed out) (batchId=228)
TestGetTableMeta - did not produce a TEST-*.xml file (likely timed out)
(batchId=226)
TestHLLNoBias - did not produce a TEST-*.xml file (likely timed out)
(batchId=237)
TestHLLSerialization - did not produce a TEST-*.xml file (likely timed out)
(batchId=237)
TestHdfsUtils - did not produce a TEST-*.xml file (likely timed out)
(batchId=232)
TestHiveAlterHandler - did not produce a TEST-*.xml file (likely timed out)
(batchId=226)
TestHiveMetaStoreGetMetaConf - did not produce a TEST-*.xml file (likely timed
out) (batchId=236)
TestHiveMetaStorePartitionSpecs - did not produce a TEST-*.xml file (likely
timed out) (batchId=228)
TestHiveMetaStoreSchemaMethods - did not produce a TEST-*.xml file (likely
timed out) (batchId=236)
TestHiveMetaStoreTimeout - did not produce a TEST-*.xml file (likely timed out)
(batchId=236)
TestHiveMetaStoreTxns - did not produce a TEST-*.xml file (likely timed out)
(batchId=236)
TestHiveMetaStoreWithEnvironmentContext - did not produce a TEST-*.xml file
(likely timed out) (batchId=231)
TestHiveMetaToolCommandLine - did not produce a TEST-*.xml file (likely timed
out) (batchId=232)
TestHiveMetastoreCli - did not produce a TEST-*.xml file (likely timed out)
(batchId=226)
TestHmsServerAuthorization - did not produce a TEST-*.xml file (likely timed
out) (batchId=232)
TestHyperLogLog - did not produce a TEST-*.xml file (likely timed out)
(batchId=237)
TestHyperLogLogDense - did not produce a TEST-*.xml file (likely timed out)
(batchId=237)
TestHyperLogLogMerge - did not produce a TEST-*.xml file (likely timed out)
(batchId=237)
TestHyperLogLogSparse - did not produce a TEST-*.xml file (likely timed out)
(batchId=237)
TestJSONMessageDeserializer - did not produce a TEST-*.xml file (likely timed
out) (batchId=232)
TestKuduCliDriver - did not produce a TEST-*.xml file (likely timed out)
(batchId=264)
TestKuduInputFormat - did not produce a TEST-*.xml file (likely timed out)
(batchId=330)
TestKuduNegativeCliDriver - did not produce a TEST-*.xml file (likely timed
out) (batchId=264)
TestKuduOutputFormat - did not produce a TEST-*.xml file (likely timed out)
(batchId=330)
TestKuduPredicateHandler - did not produce a TEST-*.xml file (likely timed out)
(batchId=330)
TestKuduSerDe - did not produce a TEST-*.xml file (likely timed out)
(batchId=330)
TestListPartitions - did not produce a TEST-*.xml file (likely timed out)
(batchId=226)
TestLockRequestBuilder - did not produce a TEST-*.xml file (likely timed out)
(batchId=226)
TestMarkPartition - did not produce a TEST-*.xml file (likely timed out)
(batchId=236)
TestMarkPartitionRemote - did not produce a TEST-*.xml file (likely timed out)
(batchId=236)
TestMetaStoreConnectionUrlHook - did not produce a TEST-*.xml file (likely
timed out) (batchId=232)
TestMetaStoreEndFunctionListener - did not produce a TEST-*.xml file (likely
timed out) (batchId=228)
TestMetaStoreEventListener - did not produce a TEST-*.xml file (likely timed
out) (batchId=233)
TestMetaStoreEventListenerOnlyOnCommit - did not produce a TEST-*.xml file
(likely timed out) (batchId=236)
TestMetaStoreEventListenerWithOldConf - did not produce a TEST-*.xml file
(likely timed out) (batchId=236)
TestMetaStoreInitListener - did not produce a TEST-*.xml file (likely timed
out) (batchId=236)
TestMetaStoreListenersError - did not produce a TEST-*.xml file (likely timed
out) (batchId=236)
TestMetaStoreSchemaFactory - did not produce a TEST-*.xml file (likely timed
out) (batchId=232)
TestMetaStoreSchemaInfo - did not produce a TEST-*.xml file (likely timed out)
(batchId=236)
TestMetaStoreServerUtils - did not produce a TEST-*.xml file (likely timed out)
(batchId=232)
TestMetaToolTaskExecuteJDOQLQuery - did not produce a TEST-*.xml file (likely
timed out) (batchId=232)
TestMetaToolTaskListFSRoot - did not produce a TEST-*.xml file (likely timed
out) (batchId=232)
TestMetaToolTaskUpdateLocation - did not produce a TEST-*.xml file (likely
timed out) (batchId=232)
TestMetastoreConf - did not produce a TEST-*.xml file (likely timed out)
(batchId=228)
TestMetastoreSchemaTool - did not produce a TEST-*.xml file (likely timed out)
(batchId=232)
TestMetrics - did not produce a TEST-*.xml file (likely timed out) (batchId=228)
TestMiniDruidCliDriver - did not produce a TEST-*.xml file (likely timed out)
(batchId=273)
TestMiniDruidKafkaCliDriver - did not produce a TEST-*.xml file (likely timed
out) (batchId=273)
TestMsckCheckPartitions - did not produce a TEST-*.xml file (likely timed out)
(batchId=232)
TestNotNullConstraint - did not produce a TEST-*.xml file (likely timed out)
(batchId=228)
TestObjectStore - did not produce a TEST-*.xml file (likely timed out)
(batchId=236)
TestObjectStoreInitRetry - did not produce a TEST-*.xml file (likely timed out)
(batchId=232)
TestObjectStoreSchemaMethods - did not produce a TEST-*.xml file (likely timed
out) (batchId=236)
TestObjectStoreStatementVerify - did not produce a TEST-*.xml file (likely
timed out) (batchId=228)
TestOldSchema - did not produce a TEST-*.xml file (likely timed out)
(batchId=236)
TestPartitionManagement - did not produce a TEST-*.xml file (likely timed out)
(batchId=226)
TestPartitionNameWhitelistValidation - did not produce a TEST-*.xml file
(likely timed out) (batchId=228)
TestPartitionProjectionEvaluator - did not produce a TEST-*.xml file (likely
timed out) (batchId=237)
TestPreUpgradeTool - did not produce a TEST-*.xml file (likely timed out)
(batchId=332)
TestPrimaryKey - did not produce a TEST-*.xml file (likely timed out)
(batchId=228)
TestRawStoreProxy - did not produce a TEST-*.xml file (likely timed out)
(batchId=226)
TestRemoteHiveMetaStore - did not produce a TEST-*.xml file (likely timed out)
(batchId=230)
TestRemoteHiveMetaStoreIpAddress - did not produce a TEST-*.xml file (likely
timed out) (batchId=224)
TestRemoteHiveMetaStoreZK - did not produce a TEST-*.xml file (likely timed
out) (batchId=232)
TestRemoteHiveMetaStoreZKBindHost - did not produce a TEST-*.xml file (likely
timed out) (batchId=236)
TestRemoteUGIHiveMetaStoreIpAddress - did not produce a TEST-*.xml file (likely
timed out) (batchId=234)
TestRetriesInRetryingHMSHandler - did not produce a TEST-*.xml file (likely
timed out) (batchId=237)
TestRetryingHMSHandler - did not produce a TEST-*.xml file (likely timed out)
(batchId=232)
TestRunOptions - did not produce a TEST-*.xml file (likely timed out)
(batchId=332)
TestRuntimeStats - did not produce a TEST-*.xml file (likely timed out)
(batchId=226)
TestSchemaToolForMetastore - did not produce a TEST-*.xml file (likely timed
out) (batchId=232)
TestSchemaToolTaskDrop - did not produce a TEST-*.xml file (likely timed out)
(batchId=232)
TestSetUGIOnBothClientServer - did not produce a TEST-*.xml file (likely timed
out) (batchId=227)
TestSetUGIOnOnlyClient - did not produce a TEST-*.xml file (likely timed out)
(batchId=225)
TestSetUGIOnOnlyServer - did not produce a TEST-*.xml file (likely timed out)
(batchId=235)
TestSparseEncodeHash - did not produce a TEST-*.xml file (likely timed out)
(batchId=237)
TestStats - did not produce a TEST-*.xml file (likely timed out) (batchId=228)
TestStatsSetupConst - did not produce a TEST-*.xml file (likely timed out)
(batchId=237)
TestTableIterable - did not produce a TEST-*.xml file (likely timed out)
(batchId=236)
TestTableName - did not produce a TEST-*.xml file (likely timed out)
(batchId=195)
TestTablesCreateDropAlterTruncate - did not produce a TEST-*.xml file (likely
timed out) (batchId=226)
TestTablesGetExists - did not produce a TEST-*.xml file (likely timed out)
(batchId=228)
TestTablesList - did not produce a TEST-*.xml file (likely timed out)
(batchId=226)
TestTezPerfCliDriver - did not produce a TEST-*.xml file (likely timed out)
(batchId=273)
TestTxnHandlerNegative - did not produce a TEST-*.xml file (likely timed out)
(batchId=226)
TestTxnUtils - did not produce a TEST-*.xml file (likely timed out)
(batchId=226)
TestUniqueConstraint - did not produce a TEST-*.xml file (likely timed out)
(batchId=226)
org.apache.hadoop.hive.cli.TestCliDriver.testCliDriver[load_static_ptn_into_bucketed_table]
(batchId=21)
org.apache.hadoop.hive.cli.TestMiniLlapLocalCliDriver.testCliDriver[load_data_using_job]
(batchId=159)
org.apache.hadoop.hive.cli.TestMiniLlapLocalCliDriver.testCliDriver[results_cache_2]
(batchId=177)
org.apache.hadoop.hive.cli.TestMiniLlapLocalCliDriver.testCliDriver[results_cache_with_masking]
(batchId=173)
org.apache.hadoop.hive.cli.TestMiniLlapLocalCliDriver.testCliDriver[sharedwork]
(batchId=174)
org.apache.hadoop.hive.cli.TestMiniLlapLocalCliDriver.testCliDriver[subquery_views]
(batchId=159)
org.apache.hadoop.hive.cli.TestMiniSparkOnYarnCliDriver.testCliDriver[orc_merge9]
(batchId=185)
org.apache.hadoop.hive.ql.TestWarehouseExternalDir.testManagedPaths
(batchId=249)
org.apache.hive.service.TestHS2ImpersonationWithRemoteMS.testImpersonation
(batchId=258)
org.apache.hive.spark.client.rpc.TestRpc.testServerPort (batchId=325)
{noformat}
Test results:
https://builds.apache.org/job/PreCommit-HIVE-Build/18584/testReport
Console output: https://builds.apache.org/job/PreCommit-HIVE-Build/18584/console
Test logs: http://104.198.109.242/logs/PreCommit-HIVE-Build-18584/
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: 126 tests failed
{noformat}
This message is automatically generated.
ATTACHMENT ID: 12980254 - PreCommit-HIVE-Build
> ClassCastException when initializing HiveMetaStoreClient on JDK10 or newer
> --------------------------------------------------------------------------
>
> Key: HIVE-21508
> URL: https://issues.apache.org/jira/browse/HIVE-21508
> Project: Hive
> Issue Type: Bug
> Components: Clients
> Affects Versions: 3.2.0, 2.3.4
> Reporter: Adar Dembo
> Assignee: Ana Jalba
> Priority: Major
> Fix For: 2.4.0, 4.0.0, 2.3.7
>
> Attachments: HIVE-21508.1.patch, HIVE-21508.2.branch-2.3.patch,
> HIVE-21508.3.branch-2.patch, HIVE-21508.4.branch-3.1.patch,
> HIVE-21508.5.branch-3.1.patch, HIVE-21508.patch
>
>
> There's this block of code in {{HiveMetaStoreClient:resolveUris}} (called
> from the constructor) on master:
> {noformat}
> private URI metastoreUris[];
> ...
> if (MetastoreConf.getVar(conf,
> ConfVars.THRIFT_URI_SELECTION).equalsIgnoreCase("RANDOM")) {
> List uriList = Arrays.asList(metastoreUris);
> Collections.shuffle(uriList);
> metastoreUris = (URI[]) uriList.toArray();
> }
> {noformat}
> The cast to {{URI[]}} throws a {{ClassCastException}} beginning with JDK 10,
> possibly with JDK 9 as well. Note that {{THRIFT_URI_SELECTION}} defaults to
> {{RANDOM}} so this should affect anyone who creates a
> {{HiveMetaStoreClient}}. On master this can be overridden with {{SEQUENTIAL}}
> to avoid the broken case; I'm working against 2.3.4 where there's no such
> workaround.
> [Here's|https://stackoverflow.com/questions/51372788/array-cast-java-8-vs-java-9]
> a StackOverflow post that explains the issue in more detail. Interestingly,
> the author described the issue in the context of the HMS; not sure why there
> was no follow up with a Hive bug report.
--
This message was sent by Atlassian Jira
(v8.3.2#803003)