[ https://issues.apache.org/jira/browse/HIVE-20797?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16680712#comment-16680712 ]
Hive QA commented on HIVE-20797: -------------------------------- Here are the results of testing the latest attachment: https://issues.apache.org/jira/secure/attachment/12947289/HIVE-20797.1.patch {color:red}ERROR:{color} -1 due to no test(s) being added or modified. {color:red}ERROR:{color} -1 due to 1 failed/errored test(s), 15527 tests executed *Failed tests:* {noformat} org.apache.hadoop.hive.cli.TestMiniSparkOnYarnCliDriver.testCliDriver[spark_dynamic_partition_pruning_2] (batchId=191) {noformat} Test results: https://builds.apache.org/job/PreCommit-HIVE-Build/14819/testReport Console output: https://builds.apache.org/job/PreCommit-HIVE-Build/14819/console Test logs: http://104.198.109.242/logs/PreCommit-HIVE-Build-14819/ 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: 1 tests failed {noformat} This message is automatically generated. ATTACHMENT ID: 12947289 - PreCommit-HIVE-Build > Print Number of Locks Acquired > ------------------------------ > > Key: HIVE-20797 > URL: https://issues.apache.org/jira/browse/HIVE-20797 > Project: Hive > Issue Type: Improvement > Components: HiveServer2, Locking > Affects Versions: 4.0.0 > Reporter: BELUGA BEHR > Assignee: BELUGA BEHR > Priority: Minor > Labels: newbie, noob > Attachments: HIVE-20797.1.patch > > > The number of locks acquired by a query can greatly influence the performance > and stability of the system, especially for ZK locks. Please add INFO level > logging with the number of locks each query obtains. > Log here: > https://github.com/apache/hive/blob/3963c729fabf90009cb67d277d40fe5913936358/ql/src/java/org/apache/hadoop/hive/ql/Driver.java#L1670-L1672 > {quote} > A list of acquired locks will be stored in the > org.apache.hadoop.hive.ql.Context object and can be retrieved via > org.apache.hadoop.hive.ql.Context#getHiveLocks. > {quote} > https://github.com/apache/hive/blob/758ff449099065a84c46d63f9418201c8a6731b1/ql/src/java/org/apache/hadoop/hive/ql/lockmgr/HiveTxnManager.java#L115-L127 -- This message was sent by Atlassian JIRA (v7.6.3#76005)