[ https://issues.apache.org/jira/browse/HIVE-16007?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15881235#comment-15881235 ]
Hive QA commented on HIVE-16007: -------------------------------- Here are the results of testing the latest attachment: https://issues.apache.org/jira/secure/attachment/12854210/HIVE-16007.2.patch {color:red}ERROR:{color} -1 due to no test(s) being added or modified. {color:red}ERROR:{color} -1 due to 5 failed/errored test(s), 10251 tests executed *Failed tests:* {noformat} TestDerbyConnector - did not produce a TEST-*.xml file (likely timed out) (batchId=235) org.apache.hadoop.hive.cli.TestMiniLlapLocalCliDriver.testCliDriver[vector_if_expr] (batchId=140) org.apache.hadoop.hive.cli.TestPerfCliDriver.testCliDriver[query14] (batchId=223) org.apache.hadoop.hive.cli.TestPerfCliDriver.testCliDriver[query23] (batchId=223) org.apache.hadoop.hive.cli.TestSparkNegativeCliDriver.org.apache.hadoop.hive.cli.TestSparkNegativeCliDriver (batchId=230) {noformat} Test results: https://builds.apache.org/job/PreCommit-HIVE-Build/3731/testReport Console output: https://builds.apache.org/job/PreCommit-HIVE-Build/3731/console Test logs: http://104.198.109.242/logs/PreCommit-HIVE-Build-3731/ Messages: {noformat} Executing org.apache.hive.ptest.execution.TestCheckPhase Executing org.apache.hive.ptest.execution.PrepPhase Executing org.apache.hive.ptest.execution.ExecutionPhase Executing org.apache.hive.ptest.execution.ReportingPhase Tests exited with: TestsFailedException: 5 tests failed {noformat} This message is automatically generated. ATTACHMENT ID: 12854210 - PreCommit-HIVE-Build > When the query does not complie the LogRunnable never stops > ----------------------------------------------------------- > > Key: HIVE-16007 > URL: https://issues.apache.org/jira/browse/HIVE-16007 > Project: Hive > Issue Type: Bug > Components: Beeline > Affects Versions: 2.2.0 > Reporter: Peter Vary > Assignee: Peter Vary > Attachments: HIVE-16007.2.patch, HIVE-16007.patch > > > When issuing a sql command which does not compile then the LogRunnable thread > is never closed. > The issue can be easily detected when running beeline with showWarnings=true. > {code} > $ ./beeline -u "jdbc:hive2://localhost:10000 pvary pvary" --showWarnings=true > [..] > Connecting to jdbc:hive2://localhost:10000 > Connected to: Apache Hive (version 2.2.0-SNAPSHOT) > Driver: Hive JDBC (version 2.2.0-SNAPSHOT) > Transaction isolation: TRANSACTION_REPEATABLE_READ > Beeline version 2.2.0-SNAPSHOT by Apache Hive > 0: jdbc:hive2://localhost:10000> selekt; > Warning: java.sql.SQLException: Method getQueryLog() failed. Because the > stmtHandle in HiveStatement is null and the statement execution might fail. > (state=,code=0) > [..] > Warning: java.sql.SQLException: Can't getQueryLog after statement has been > closed (state=,code=0) > [..] > {code} -- This message was sent by Atlassian JIRA (v6.3.15#6346)