[ https://issues.apache.org/jira/browse/HIVE-18606?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16349875#comment-16349875 ]
Hive QA commented on HIVE-18606: -------------------------------- Here are the results of testing the latest attachment: https://issues.apache.org/jira/secure/attachment/12908896/HIVE-18606.02.patch {color:green}SUCCESS:{color} +1 due to 1 test(s) being added or modified. {color:red}ERROR:{color} -1 due to 26 failed/errored test(s), 12967 tests executed *Failed tests:* {noformat} org.apache.hadoop.hive.cli.TestAccumuloCliDriver.testCliDriver[accumulo_queries] (batchId=240) org.apache.hadoop.hive.cli.TestCliDriver.testCliDriver[auto_sortmerge_join_2] (batchId=49) org.apache.hadoop.hive.cli.TestCliDriver.testCliDriver[mapjoin_hook] (batchId=13) org.apache.hadoop.hive.cli.TestCliDriver.testCliDriver[ppd_join5] (batchId=36) org.apache.hadoop.hive.cli.TestEncryptedHDFSCliDriver.testCliDriver[encryption_move_tbl] (batchId=175) org.apache.hadoop.hive.cli.TestMiniLlapCliDriver.testCliDriver[llap_smb] (batchId=152) org.apache.hadoop.hive.cli.TestMiniLlapLocalCliDriver.testCliDriver[bucket_map_join_tez1] (batchId=172) org.apache.hadoop.hive.cli.TestMiniLlapLocalCliDriver.testCliDriver[insert_values_orig_table_use_metadata] (batchId=167) org.apache.hadoop.hive.cli.TestMiniLlapLocalCliDriver.testCliDriver[llap_acid] (batchId=171) org.apache.hadoop.hive.cli.TestMiniLlapLocalCliDriver.testCliDriver[llap_acid_fast] (batchId=161) org.apache.hadoop.hive.cli.TestMiniLlapLocalCliDriver.testCliDriver[resourceplan] (batchId=164) org.apache.hadoop.hive.cli.TestMiniLlapLocalCliDriver.testCliDriver[sysdb] (batchId=161) org.apache.hadoop.hive.cli.TestMiniLlapLocalCliDriver.testCliDriver[vectorization_input_format_excludes] (batchId=163) org.apache.hadoop.hive.cli.TestSparkCliDriver.testCliDriver[ppd_join5] (batchId=122) org.apache.hadoop.hive.cli.control.TestDanglingQOuts.checkDanglingQOut (batchId=221) org.apache.hadoop.hive.metastore.TestMarkPartition.testMarkingPartitionSet (batchId=215) org.apache.hadoop.hive.metastore.client.TestTablesCreateDropAlterTruncate.testAlterTableNullStorageDescriptorInNew[Embedded] (batchId=206) org.apache.hadoop.hive.metastore.client.TestTablesList.testListTableNamesByFilterNullDatabase[Embedded] (batchId=206) org.apache.hadoop.hive.ql.TestTxnNoBuckets.testCtasEmpty (batchId=280) org.apache.hadoop.hive.ql.TestTxnNoBucketsVectorized.testCtasEmpty (batchId=280) org.apache.hadoop.hive.ql.exec.TestOperators.testNoConditionalTaskSizeForLlap (batchId=282) org.apache.hadoop.hive.ql.io.TestDruidRecordWriter.testWrite (batchId=256) org.apache.hive.beeline.cli.TestHiveCli.testNoErrorDB (batchId=188) org.apache.hive.jdbc.TestSSL.testConnectionMismatch (batchId=234) org.apache.hive.jdbc.TestSSL.testConnectionWrongCertCN (batchId=234) org.apache.hive.jdbc.TestSSL.testMetastoreConnectionWrongCertCN (batchId=234) {noformat} Test results: https://builds.apache.org/job/PreCommit-HIVE-Build/8982/testReport Console output: https://builds.apache.org/job/PreCommit-HIVE-Build/8982/console Test logs: http://104.198.109.242/logs/PreCommit-HIVE-Build-8982/ 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: 26 tests failed {noformat} This message is automatically generated. ATTACHMENT ID: 12908896 - PreCommit-HIVE-Build > CTAS on empty table throws NPE from org.apache.hadoop.hive.ql.exec.MoveTask > --------------------------------------------------------------------------- > > Key: HIVE-18606 > URL: https://issues.apache.org/jira/browse/HIVE-18606 > Project: Hive > Issue Type: Bug > Components: Transactions > Reporter: Eugene Koifman > Assignee: Eugene Koifman > Priority: Major > Attachments: HIVE-18606.01.patch, HIVE-18606.02.patch > > > {noformat} > @Test > public void testCtasEmpty() throws Exception { > MetastoreConf.setBoolVar(hiveConf, > MetastoreConf.ConfVars.CREATE_TABLES_AS_ACID, true); > runStatementOnDriver("create table myctas stored as ORC as" + > " select a, b from " + Table.NONACIDORCTBL); > List<String> rs = runStatementOnDriver("select ROW__ID, a, b, > INPUT__FILE__NAME" + > " from myctas order by ROW__ID"); > } > {noformat} > {noformat} > 2018-02-01T19:08:52,813 INFO [HiveServer2-Background-Pool: Thread-463]: > metastore.HiveMetaStore (HiveMetaStore.java:logInfo(822)) - 114: Done > cleaning up thread local RawStore > 2018-02-01T19:08:52,813 INFO [HiveServer2-Background-Pool: Thread-463]: > HiveMetaStore.audit (HiveMetaStore.java:logAuditEvent(305)) - ugi=hive > ip=unknown-ip-addr cmd=Done cleaning up thread local RawStore > 2018-02-01T19:08:52,815 ERROR [HiveServer2-Background-Pool: Thread-463]: > exec.Task (SessionState.java:printError(1228)) - Failed with exception null > java.lang.NullPointerException > at > org.apache.hadoop.hive.ql.metadata.Hive.moveAcidFiles(Hive.java:3816) > at org.apache.hadoop.hive.ql.exec.MoveTask.execute(MoveTask.java:298) > at org.apache.hadoop.hive.ql.exec.Task.executeTask(Task.java:205) > at > org.apache.hadoop.hive.ql.exec.TaskRunner.runSequential(TaskRunner.java:97) > at org.apache.hadoop.hive.ql.Driver.launchTask(Driver.java:2267) > at org.apache.hadoop.hive.ql.Driver.execute(Driver.java:1919) > at org.apache.hadoop.hive.ql.Driver.runInternal(Driver.java:1651) > at org.apache.hadoop.hive.ql.Driver.run(Driver.java:1395) > at org.apache.hadoop.hive.ql.Driver.run(Driver.java:1388) > at > org.apache.hive.service.cli.operation.SQLOperation.runQuery(SQLOperation.java:253) > at > org.apache.hive.service.cli.operation.SQLOperation.access$700(SQLOperation.java:92) > at > org.apache.hive.service.cli.operation.SQLOperation$BackgroundWork$1.run(SQLOperation.java:345) > at java.security.AccessController.doPrivileged(Native Method) > at javax.security.auth.Subject.doAs(Subject.java:422) > at > org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:1965) > at > org.apache.hive.service.cli.operation.SQLOperation$BackgroundWork.run(SQLOperation.java:358) > at > java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) > at java.util.concurrent.FutureTask.run(FutureTask.java:266) > at > java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) > at > java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) > at java.lang.Thread.run(Thread.java:748) > 2018-02-01T19:08:52,815 ERROR [HiveServer2-Background-Pool: Thread-463]: > ql.Driver (SessionState.java:printError(1228)) - FAILED: Execution Error, > return code 1 from {noformat} > -- This message was sent by Atlassian JIRA (v7.6.3#76005)