[ https://issues.apache.org/jira/browse/HIVE-21204?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16799440#comment-16799440 ]
Hive QA commented on HIVE-21204: -------------------------------- | (x) *{color:red}-1 overall{color}* | \\ \\ || Vote || Subsystem || Runtime || Comment || || || || || {color:brown} Prechecks {color} || | {color:green}+1{color} | {color:green} @author {color} | {color:green} 0m 0s{color} | {color:green} The patch does not contain any @author tags. {color} | || || || || {color:brown} master Compile Tests {color} || | {color:blue}0{color} | {color:blue} mvndep {color} | {color:blue} 1m 44s{color} | {color:blue} Maven dependency ordering for branch {color} | | {color:green}+1{color} | {color:green} mvninstall {color} | {color:green} 7m 23s{color} | {color:green} master passed {color} | | {color:green}+1{color} | {color:green} compile {color} | {color:green} 1m 16s{color} | {color:green} master passed {color} | | {color:green}+1{color} | {color:green} checkstyle {color} | {color:green} 0m 51s{color} | {color:green} master passed {color} | | {color:blue}0{color} | {color:blue} findbugs {color} | {color:blue} 0m 36s{color} | {color:blue} common in master has 63 extant Findbugs warnings. {color} | | {color:blue}0{color} | {color:blue} findbugs {color} | {color:blue} 0m 34s{color} | {color:blue} llap-common in master has 76 extant Findbugs warnings. {color} | | {color:blue}0{color} | {color:blue} findbugs {color} | {color:blue} 0m 28s{color} | {color:blue} llap-tez in master has 17 extant Findbugs warnings. {color} | | {color:blue}0{color} | {color:blue} findbugs {color} | {color:blue} 0m 48s{color} | {color:blue} llap-server in master has 79 extant Findbugs warnings. {color} | | {color:green}+1{color} | {color:green} javadoc {color} | {color:green} 0m 58s{color} | {color:green} master passed {color} | || || || || {color:brown} Patch Compile Tests {color} || | {color:blue}0{color} | {color:blue} mvndep {color} | {color:blue} 0m 29s{color} | {color:blue} Maven dependency ordering for patch {color} | | {color:red}-1{color} | {color:red} mvninstall {color} | {color:red} 0m 22s{color} | {color:red} llap-server in the patch failed. {color} | | {color:red}-1{color} | {color:red} compile {color} | {color:red} 0m 22s{color} | {color:red} llap-server in the patch failed. {color} | | {color:red}-1{color} | {color:red} javac {color} | {color:red} 0m 22s{color} | {color:red} llap-server in the patch failed. {color} | | {color:red}-1{color} | {color:red} checkstyle {color} | {color:red} 0m 10s{color} | {color:red} llap-common: The patch generated 17 new + 0 unchanged - 0 fixed = 17 total (was 0) {color} | | {color:red}-1{color} | {color:red} checkstyle {color} | {color:red} 0m 15s{color} | {color:red} llap-server: The patch generated 5 new + 146 unchanged - 4 fixed = 151 total (was 150) {color} | | {color:green}+1{color} | {color:green} whitespace {color} | {color:green} 0m 0s{color} | {color:green} The patch has no whitespace issues. {color} | | {color:red}-1{color} | {color:red} findbugs {color} | {color:red} 0m 21s{color} | {color:red} llap-server in the patch failed. {color} | | {color:green}+1{color} | {color:green} javadoc {color} | {color:green} 0m 55s{color} | {color:green} the patch passed {color} | || || || || {color:brown} Other Tests {color} || | {color:green}+1{color} | {color:green} asflicense {color} | {color:green} 0m 14s{color} | {color:green} The patch does not generate ASF License warnings. {color} | | {color:black}{color} | {color:black} {color} | {color:black} 23m 12s{color} | {color:black} {color} | \\ \\ || Subsystem || Report/Notes || | Optional Tests | asflicense javac javadoc findbugs checkstyle compile | | uname | Linux hiveptest-server-upstream 3.16.0-4-amd64 #1 SMP Debian 3.16.36-1+deb8u1 (2016-09-03) x86_64 GNU/Linux | | Build tool | maven | | Personality | /data/hiveptest/working/yetus_PreCommit-HIVE-Build-16641/dev-support/hive-personality.sh | | git revision | master / 2fa22bf | | Default Java | 1.8.0_111 | | findbugs | v3.0.0 | | mvninstall | http://104.198.109.242/logs//PreCommit-HIVE-Build-16641/yetus/patch-mvninstall-llap-server.txt | | compile | http://104.198.109.242/logs//PreCommit-HIVE-Build-16641/yetus/patch-compile-llap-server.txt | | javac | http://104.198.109.242/logs//PreCommit-HIVE-Build-16641/yetus/patch-compile-llap-server.txt | | checkstyle | http://104.198.109.242/logs//PreCommit-HIVE-Build-16641/yetus/diff-checkstyle-llap-common.txt | | checkstyle | http://104.198.109.242/logs//PreCommit-HIVE-Build-16641/yetus/diff-checkstyle-llap-server.txt | | findbugs | http://104.198.109.242/logs//PreCommit-HIVE-Build-16641/yetus/patch-findbugs-llap-server.txt | | modules | C: common llap-common llap-tez llap-server U: . | | Console output | http://104.198.109.242/logs//PreCommit-HIVE-Build-16641/yetus.txt | | Powered by | Apache Yetus http://yetus.apache.org | This message was automatically generated. > Instrumentation for read/write locks in LLAP > -------------------------------------------- > > Key: HIVE-21204 > URL: https://issues.apache.org/jira/browse/HIVE-21204 > Project: Hive > Issue Type: Improvement > Components: llap > Reporter: Oliver Draese > Assignee: Oliver Draese > Priority: Major > Attachments: HIVE-21204.4.patch, HIVE-21204.5.patch > > > LLAP has several R/W locks for serialization of updates to query tracker, > file data, .... > Instrumentation is added to monitor the > * total amount of R/W locks within a particular category > * average + max wait/suspension time to get the R/W lock > A category includes all lock instances for particular areas (i.e. category is > FileData and all R/W locks that are used in FileData instances are accounted > within the one category). > The monitoring/accounting is done via Hadoop Metrics 2, making them > accessible via JMX. In addition, a new "locking" GET endpoint is added to the > LLAP daemon's REST interface. It produces output like the following example: > { > {{ "statsCollection": "enabled",}} > {{ "lockStats": [}} > {{ {}}{{ "type": "R/W Lock Stats",}} > {{ "label": "FileData",}} > {{ "totalLockWaitTimeMillis": 0,}} > {{ "readLock": {}} > {{ "count": 0,}} > {{ "avgWaitTimeNanos": 0,}} > {{ "maxWaitTimeNanos": 0}} > {{ },}} > {{ "writeLock": {}} > {{ "count": 0,}} > {{ "avgWaitTimeNanos": 0,}} > {{ "maxWaitTimeNanos": 0}} > } > {{ },}} > {{ { "}}{{type": "R/W Lock Stats",}} > {{ "label": "QueryTracker",}} > {{ "totalLockWaitTimeMillis": 0,}} > {{ "readLock": {}} > {{ "count": 0,}} > {{ "avgWaitTimeNanos": 0,}} > {{ "maxWaitTimeNanos": 0}} > {{ },}} > {{ "writeLock": {}} > {{ "count": 0,}} > {{ "avgWaitTimeNanos": 0,}} > {{ "maxWaitTimeNanos": 0}} > } > {{ } }}{{]}} > {{}}} > To avoid the overhead of lock instrumentation, lock metrics collection is > disabled by default and can be enabled via the following configuration > parameter: > {{hive.llap.lockmetrics.collect = true}} > > > -- This message was sent by Atlassian JIRA (v7.6.3#76005)