[ https://issues.apache.org/jira/browse/HIVE-13099?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15155836#comment-15155836 ]
Hive QA commented on HIVE-13099: -------------------------------- Here are the results of testing the latest attachment: https://issues.apache.org/jira/secure/attachment/12788756/HIVE-13099.patch {color:red}ERROR:{color} -1 due to no test(s) being added or modified. {color:red}ERROR:{color} -1 due to 4 failed/errored test(s), 9800 tests executed *Failed tests:* {noformat} TestSparkCliDriver-timestamp_lazy.q-bucketsortoptimize_insert_4.q-date_udf.q-and-12-more - did not produce a TEST-*.xml file org.apache.hadoop.hive.cli.TestCliDriver.testCliDriver_partition_coltype_literals org.apache.hadoop.hive.cli.TestNegativeCliDriver.testNegativeCliDriver_authorization_uri_import org.apache.hive.jdbc.TestSSL.testSSLVersion {noformat} Test results: http://ec2-174-129-184-35.compute-1.amazonaws.com/jenkins/job/PreCommit-HIVE-TRUNK-Build/7043/testReport Console output: http://ec2-174-129-184-35.compute-1.amazonaws.com/jenkins/job/PreCommit-HIVE-TRUNK-Build/7043/console Test logs: http://ec2-174-129-184-35.compute-1.amazonaws.com/logs/PreCommit-HIVE-TRUNK-Build-7043/ 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: 4 tests failed {noformat} This message is automatically generated. ATTACHMENT ID: 12788756 - PreCommit-HIVE-TRUNK-Build > Non-SQLOperations lead to Web UI NPE > ------------------------------------ > > Key: HIVE-13099 > URL: https://issues.apache.org/jira/browse/HIVE-13099 > Project: Hive > Issue Type: Bug > Reporter: Mohit Sabharwal > Assignee: Mohit Sabharwal > Attachments: HIVE-13099.patch > > > To support display of live operations in the WebUI, we record SQLOperations > (in {{liveSqlOperations}}). > However, to support historic operations, we save all operations in > {{historicSqlOperations}}, including non-SQLOperations which do not have > display entries in liveSqlOperations. > This leads to a race condition depending on whether sessions use non-sql > operations. Reproduce-able by issuing a 'set' operation. > {code} > java.lang.NullPointerException > at > org.apache.hive.generated.hiveserver2.hiveserver2_jsp._jspService(hiveserver2_jsp.java:131) > at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:98) > {code} > We should save only SQLOperations in historicSqlOperations. -- This message was sent by Atlassian JIRA (v6.3.4#6332)