[ https://issues.apache.org/jira/browse/HIVE-22009?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16888347#comment-16888347 ]
Hive QA commented on HIVE-22009: -------------------------------- Here are the results of testing the latest attachment: https://issues.apache.org/jira/secure/attachment/12975183/HIVE-22009-branch-3.1.patch {color:green}SUCCESS:{color} +1 due to 1 test(s) being added or modified. {color:red}ERROR:{color} -1 due to 118 failed/errored test(s), 14409 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=272) TestCachedStore - 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=330) 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=272) 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) 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=272) TestMiniDruidKafkaCliDriver - did not produce a TEST-*.xml file (likely timed out) (batchId=272) 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=236) TestPreUpgradeTool - did not produce a TEST-*.xml file (likely timed out) (batchId=330) 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=330) 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=272) 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.ql.TestWarehouseExternalDir.testManagedPaths (batchId=249) org.apache.hive.service.TestHS2ImpersonationWithRemoteMS.testImpersonation (batchId=258) org.apache.hive.spark.client.rpc.TestRpc.testServerPort (batchId=324) {noformat} Test results: https://builds.apache.org/job/PreCommit-HIVE-Build/18091/testReport Console output: https://builds.apache.org/job/PreCommit-HIVE-Build/18091/console Test logs: http://104.198.109.242/logs/PreCommit-HIVE-Build-18091/ 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: 118 tests failed {noformat} This message is automatically generated. ATTACHMENT ID: 12975183 - PreCommit-HIVE-Build > CTLV with user specified location is not honoured > -------------------------------------------------- > > Key: HIVE-22009 > URL: https://issues.apache.org/jira/browse/HIVE-22009 > Project: Hive > Issue Type: Bug > Affects Versions: 4.0.0, 3.1.1 > Reporter: Naresh P R > Assignee: Naresh P R > Priority: Major > Attachments: HIVE-22009-branch-3.1.patch, HIVE-22009.patch > > > Steps to repro : > > {code:java} > CREATE TABLE emp_table (id int, name string, salary int); > insert into emp_table values(1,'aaaaa',20000); > CREATE VIEW emp_view AS SELECT * FROM emp_table WHERE salary>10000; > CREATE EXTERNAL TABLE emp_ext_table like emp_view LOCATION > '/tmp/emp_ext_table'; > show create table emp_ext_table;{code} > > {code:java} > +----------------------------------------------------+ > | createtab_stmt | > +----------------------------------------------------+ > | CREATE EXTERNAL TABLE `emp_ext_table`( | > | `id` int, | > | `name` string, | > | `salary` int) | > | ROW FORMAT SERDE | > | 'org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' | > | STORED AS INPUTFORMAT | > | 'org.apache.hadoop.mapred.TextInputFormat' | > | OUTPUTFORMAT | > | 'org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' | > | LOCATION | > | 'hdfs://nn:8020/warehouse/tablespace/external/hive/emp_ext_table' | > | TBLPROPERTIES ( | > | 'bucketing_version'='2', | > | 'transient_lastDdlTime'='1563467962') | > +----------------------------------------------------+{code} > Table Location is not '/tmp/emp_ext_table', instead location is set to > default warehouse path. > > -- This message was sent by Atlassian JIRA (v7.6.14#76016)