[jira] [Commented] (PHOENIX-4370) Surface hbase metrics from perconnection to global metrics
[ https://issues.apache.org/jira/browse/PHOENIX-4370?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16408362#comment-16408362 ] Ethan Wang commented on PHOENIX-4370: - I noticed that Jenkins is SUCCESS in Phoenix-4.x-HBase-1.3 integration, but FAILURE at PreCommit-PHOENIX. is this a release blocker? [~mujtabachohan] please advice > Surface hbase metrics from perconnection to global metrics > -- > > Key: PHOENIX-4370 > URL: https://issues.apache.org/jira/browse/PHOENIX-4370 > Project: Phoenix > Issue Type: Bug >Reporter: Ethan Wang >Assignee: Ethan Wang >Priority: Major > Attachments: PHOENIX-4370-v1.patch > > > Surface hbase metrics from perconnection to global metrics > Currently in phoenix client side, HBASE metrics are recorded and surfaced at > Per Connection level. PHOENIX-4370 allow it to be aggregated at global level, > i.e., aggregate across all connections within in one JVM so that user can > evaluate it as a stable metrics periodically. > COUNT_RPC_CALLS("rp", "Number of RPC calls"), > COUNT_REMOTE_RPC_CALLS("rr", "Number of remote RPC calls"), > COUNT_MILLS_BETWEEN_NEXTS("n", "Sum of milliseconds between sequential > next calls"), > COUNT_NOT_SERVING_REGION_EXCEPTION("nsr", "Number of > NotServingRegionException caught"), > COUNT_BYTES_REGION_SERVER_RESULTS("rs", "Number of bytes in Result > objects from region servers"), > COUNT_BYTES_IN_REMOTE_RESULTS("rrs", "Number of bytes in Result objects > from remote region servers"), > COUNT_SCANNED_REGIONS("rg", "Number of regions scanned"), > COUNT_RPC_RETRIES("rpr", "Number of RPC retries"), > COUNT_REMOTE_RPC_RETRIES("rrr", "Number of remote RPC retries"), > COUNT_ROWS_SCANNED("ws", "Number of rows scanned"), > COUNT_ROWS_FILTERED("wf", "Number of rows filtered"); -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Commented] (PHOENIX-4370) Surface hbase metrics from perconnection to global metrics
[ https://issues.apache.org/jira/browse/PHOENIX-4370?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16399844#comment-16399844 ] Hudson commented on PHOENIX-4370: - FAILURE: Integrated in Jenkins build PreCommit-PHOENIX-Build #1805 (See [https://builds.apache.org/job/PreCommit-PHOENIX-Build/1805/]) PHOENIX-4370 Surface hbase metrics from perconnection to global metrics (ewang: rev 274c7be949f8502c087caaa1605afdccd410ac90) * (edit) phoenix-core/src/it/java/org/apache/phoenix/monitoring/PhoenixMetricsIT.java * (edit) phoenix-core/src/main/java/org/apache/phoenix/monitoring/GlobalClientMetrics.java * (edit) phoenix-core/src/main/java/org/apache/phoenix/iterate/ScanningResultIterator.java > Surface hbase metrics from perconnection to global metrics > -- > > Key: PHOENIX-4370 > URL: https://issues.apache.org/jira/browse/PHOENIX-4370 > Project: Phoenix > Issue Type: Bug >Reporter: Ethan Wang >Assignee: Ethan Wang >Priority: Major > Attachments: PHOENIX-4370-v1.patch > > > Surface hbase metrics from perconnection to global metrics > Currently in phoenix client side, HBASE metrics are recorded and surfaced at > Per Connection level. PHOENIX-4370 allow it to be aggregated at global level, > i.e., aggregate across all connections within in one JVM so that user can > evaluate it as a stable metrics periodically. > COUNT_RPC_CALLS("rp", "Number of RPC calls"), > COUNT_REMOTE_RPC_CALLS("rr", "Number of remote RPC calls"), > COUNT_MILLS_BETWEEN_NEXTS("n", "Sum of milliseconds between sequential > next calls"), > COUNT_NOT_SERVING_REGION_EXCEPTION("nsr", "Number of > NotServingRegionException caught"), > COUNT_BYTES_REGION_SERVER_RESULTS("rs", "Number of bytes in Result > objects from region servers"), > COUNT_BYTES_IN_REMOTE_RESULTS("rrs", "Number of bytes in Result objects > from remote region servers"), > COUNT_SCANNED_REGIONS("rg", "Number of regions scanned"), > COUNT_RPC_RETRIES("rpr", "Number of RPC retries"), > COUNT_REMOTE_RPC_RETRIES("rrr", "Number of remote RPC retries"), > COUNT_ROWS_SCANNED("ws", "Number of rows scanned"), > COUNT_ROWS_FILTERED("wf", "Number of rows filtered"); -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Commented] (PHOENIX-4370) Surface hbase metrics from perconnection to global metrics
[ https://issues.apache.org/jira/browse/PHOENIX-4370?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16399627#comment-16399627 ] Hudson commented on PHOENIX-4370: - SUCCESS: Integrated in Jenkins build Phoenix-4.x-HBase-1.3 #62 (See [https://builds.apache.org/job/Phoenix-4.x-HBase-1.3/62/]) PHOENIX-4370 Surface hbase metrics from perconnection to global metrics (ewang: rev c115b6a3ec77fc5cbfbf6322607274bfd07fc518) * (edit) phoenix-core/src/it/java/org/apache/phoenix/monitoring/PhoenixMetricsIT.java * (edit) phoenix-core/src/main/java/org/apache/phoenix/monitoring/GlobalClientMetrics.java * (edit) phoenix-core/src/main/java/org/apache/phoenix/iterate/ScanningResultIterator.java > Surface hbase metrics from perconnection to global metrics > -- > > Key: PHOENIX-4370 > URL: https://issues.apache.org/jira/browse/PHOENIX-4370 > Project: Phoenix > Issue Type: Bug >Reporter: Ethan Wang >Assignee: Ethan Wang >Priority: Major > Attachments: PHOENIX-4370-v1.patch > > > Surface hbase metrics from perconnection to global metrics > Currently in phoenix client side, HBASE metrics are recorded and surfaced at > Per Connection level. PHOENIX-4370 allow it to be aggregated at global level, > i.e., aggregate across all connections within in one JVM so that user can > evaluate it as a stable metrics periodically. > COUNT_RPC_CALLS("rp", "Number of RPC calls"), > COUNT_REMOTE_RPC_CALLS("rr", "Number of remote RPC calls"), > COUNT_MILLS_BETWEEN_NEXTS("n", "Sum of milliseconds between sequential > next calls"), > COUNT_NOT_SERVING_REGION_EXCEPTION("nsr", "Number of > NotServingRegionException caught"), > COUNT_BYTES_REGION_SERVER_RESULTS("rs", "Number of bytes in Result > objects from region servers"), > COUNT_BYTES_IN_REMOTE_RESULTS("rrs", "Number of bytes in Result objects > from remote region servers"), > COUNT_SCANNED_REGIONS("rg", "Number of regions scanned"), > COUNT_RPC_RETRIES("rpr", "Number of RPC retries"), > COUNT_REMOTE_RPC_RETRIES("rrr", "Number of remote RPC retries"), > COUNT_ROWS_SCANNED("ws", "Number of rows scanned"), > COUNT_ROWS_FILTERED("wf", "Number of rows filtered"); -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Commented] (PHOENIX-4370) Surface hbase metrics from perconnection to global metrics
[ https://issues.apache.org/jira/browse/PHOENIX-4370?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16399501#comment-16399501 ] Ethan Wang commented on PHOENIX-4370: - Patch applied on 4.x-HBase-1.1 4.x-HBase-1.2 4.x-HBase-1.3 4.x-cdh5.11.2 5.x-HBase-2.0 master [~tdsilva] [~jamestaylor] > Surface hbase metrics from perconnection to global metrics > -- > > Key: PHOENIX-4370 > URL: https://issues.apache.org/jira/browse/PHOENIX-4370 > Project: Phoenix > Issue Type: Bug >Reporter: Ethan Wang >Assignee: Ethan Wang >Priority: Major > Attachments: PHOENIX-4370-v1.patch > > > Surface hbase metrics from perconnection to global metrics > Currently in phoenix client side, HBASE metrics are recorded and surfaced at > Per Connection level. PHOENIX-4370 allow it to be aggregated at global level, > i.e., aggregate across all connections within in one JVM so that user can > evaluate it as a stable metrics periodically. > COUNT_RPC_CALLS("rp", "Number of RPC calls"), > COUNT_REMOTE_RPC_CALLS("rr", "Number of remote RPC calls"), > COUNT_MILLS_BETWEEN_NEXTS("n", "Sum of milliseconds between sequential > next calls"), > COUNT_NOT_SERVING_REGION_EXCEPTION("nsr", "Number of > NotServingRegionException caught"), > COUNT_BYTES_REGION_SERVER_RESULTS("rs", "Number of bytes in Result > objects from region servers"), > COUNT_BYTES_IN_REMOTE_RESULTS("rrs", "Number of bytes in Result objects > from remote region servers"), > COUNT_SCANNED_REGIONS("rg", "Number of regions scanned"), > COUNT_RPC_RETRIES("rpr", "Number of RPC retries"), > COUNT_REMOTE_RPC_RETRIES("rrr", "Number of remote RPC retries"), > COUNT_ROWS_SCANNED("ws", "Number of rows scanned"), > COUNT_ROWS_FILTERED("wf", "Number of rows filtered"); -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Commented] (PHOENIX-4370) Surface hbase metrics from perconnection to global metrics
[ https://issues.apache.org/jira/browse/PHOENIX-4370?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16397616#comment-16397616 ] Thomas D'Silva commented on PHOENIX-4370: - +1 > Surface hbase metrics from perconnection to global metrics > -- > > Key: PHOENIX-4370 > URL: https://issues.apache.org/jira/browse/PHOENIX-4370 > Project: Phoenix > Issue Type: Bug >Reporter: Ethan Wang >Assignee: Ethan Wang >Priority: Major > Attachments: PHOENIX-4370-v1.patch > > > Surface hbase metrics from perconnection to global metrics > Currently in phoenix client side, HBASE metrics are recorded and surfaced at > Per Connection level. PHOENIX-4370 allow it to be aggregated at global level, > i.e., aggregate across all connections within in one JVM so that user can > evaluate it as a stable metrics periodically. > COUNT_RPC_CALLS("rp", "Number of RPC calls"), > COUNT_REMOTE_RPC_CALLS("rr", "Number of remote RPC calls"), > COUNT_MILLS_BETWEEN_NEXTS("n", "Sum of milliseconds between sequential > next calls"), > COUNT_NOT_SERVING_REGION_EXCEPTION("nsr", "Number of > NotServingRegionException caught"), > COUNT_BYTES_REGION_SERVER_RESULTS("rs", "Number of bytes in Result > objects from region servers"), > COUNT_BYTES_IN_REMOTE_RESULTS("rrs", "Number of bytes in Result objects > from remote region servers"), > COUNT_SCANNED_REGIONS("rg", "Number of regions scanned"), > COUNT_RPC_RETRIES("rpr", "Number of RPC retries"), > COUNT_REMOTE_RPC_RETRIES("rrr", "Number of remote RPC retries"), > COUNT_ROWS_SCANNED("ws", "Number of rows scanned"), > COUNT_ROWS_FILTERED("wf", "Number of rows filtered"); -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Commented] (PHOENIX-4370) Surface hbase metrics from perconnection to global metrics
[ https://issues.apache.org/jira/browse/PHOENIX-4370?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16396145#comment-16396145 ] Ethan Wang commented on PHOENIX-4370: - [~tdsilva] > Surface hbase metrics from perconnection to global metrics > -- > > Key: PHOENIX-4370 > URL: https://issues.apache.org/jira/browse/PHOENIX-4370 > Project: Phoenix > Issue Type: Bug >Reporter: Ethan Wang >Assignee: Ethan Wang >Priority: Major > Attachments: PHOENIX-4370-v1.patch > > > Surface hbase metrics from perconnection to global metrics > Currently in phoenix client side, HBASE metrics are recorded and surfaced at > Per Connection level. PHOENIX-4370 allow it to be aggregated at global level, > i.e., aggregate across all connections within in one JVM so that user can > evaluate it as a stable metrics periodically. > COUNT_RPC_CALLS("rp", "Number of RPC calls"), > COUNT_REMOTE_RPC_CALLS("rr", "Number of remote RPC calls"), > COUNT_MILLS_BETWEEN_NEXTS("n", "Sum of milliseconds between sequential > next calls"), > COUNT_NOT_SERVING_REGION_EXCEPTION("nsr", "Number of > NotServingRegionException caught"), > COUNT_BYTES_REGION_SERVER_RESULTS("rs", "Number of bytes in Result > objects from region servers"), > COUNT_BYTES_IN_REMOTE_RESULTS("rrs", "Number of bytes in Result objects > from remote region servers"), > COUNT_SCANNED_REGIONS("rg", "Number of regions scanned"), > COUNT_RPC_RETRIES("rpr", "Number of RPC retries"), > COUNT_REMOTE_RPC_RETRIES("rrr", "Number of remote RPC retries"), > COUNT_ROWS_SCANNED("ws", "Number of rows scanned"), > COUNT_ROWS_FILTERED("wf", "Number of rows filtered"); -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Commented] (PHOENIX-4370) Surface hbase metrics from perconnection to global metrics
[ https://issues.apache.org/jira/browse/PHOENIX-4370?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16300517#comment-16300517 ] ASF GitHub Bot commented on PHOENIX-4370: - GitHub user aertoria opened a pull request: https://github.com/apache/phoenix/pull/287 PHOENIX-4370 Surface hbase metrics from perconnection to global metrics PHOENIX-4370 Surface hbase metrics from perconnection to global metrics Opening this p.r. for the connivence of discussion You can merge this pull request into a Git repository by running: $ git pull https://github.com/aertoria/phoenix master Alternatively you can review and apply these changes as the patch at: https://github.com/apache/phoenix/pull/287.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #287 commit 3362d62b0d133d86cfecd1b6af5cf0bbad8f0d44 Author: aertoriaDate: 2017-12-17T21:33:56Z PHOENIX-4370 Surface hbase metrics from perconnection to global metrics > Surface hbase metrics from perconnection to global metrics > -- > > Key: PHOENIX-4370 > URL: https://issues.apache.org/jira/browse/PHOENIX-4370 > Project: Phoenix > Issue Type: Bug >Reporter: Ethan Wang >Assignee: Ethan Wang > Attachments: PHOENIX-4370-v1.patch > > > Surface hbase metrics from perconnection to global metrics > Currently in phoenix client side, HBASE metrics are recorded and surfaced at > Per Connection level. PHOENIX-4370 allow it to be aggregated at global level, > i.e., aggregate across all connections within in one JVM so that user can > evaluate it as a stable metrics periodically. > COUNT_RPC_CALLS("rp", "Number of RPC calls"), > COUNT_REMOTE_RPC_CALLS("rr", "Number of remote RPC calls"), > COUNT_MILLS_BETWEEN_NEXTS("n", "Sum of milliseconds between sequential > next calls"), > COUNT_NOT_SERVING_REGION_EXCEPTION("nsr", "Number of > NotServingRegionException caught"), > COUNT_BYTES_REGION_SERVER_RESULTS("rs", "Number of bytes in Result > objects from region servers"), > COUNT_BYTES_IN_REMOTE_RESULTS("rrs", "Number of bytes in Result objects > from remote region servers"), > COUNT_SCANNED_REGIONS("rg", "Number of regions scanned"), > COUNT_RPC_RETRIES("rpr", "Number of RPC retries"), > COUNT_REMOTE_RPC_RETRIES("rrr", "Number of remote RPC retries"), > COUNT_ROWS_SCANNED("ws", "Number of rows scanned"), > COUNT_ROWS_FILTERED("wf", "Number of rows filtered"); -- This message was sent by Atlassian JIRA (v6.4.14#64029)
[jira] [Commented] (PHOENIX-4370) Surface hbase metrics from perconnection to global metrics
[ https://issues.apache.org/jira/browse/PHOENIX-4370?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16294413#comment-16294413 ] Hadoop QA commented on PHOENIX-4370: {color:red}-1 overall{color}. Here are the results of testing the latest attachment http://issues.apache.org/jira/secure/attachment/12902570/PHOENIX-4370-v1.patch against master branch at commit 5cb02da74c15b0ae7c0fb4c880d60a2d1b6d18aa. ATTACHMENT ID: 12902570 {color:green}+1 @author{color}. The patch does not contain any @author tags. {color:red}-1 tests included{color}. The patch doesn't appear to include any new or modified tests. Please justify why no new tests are needed for this patch. Also please list what manual steps were performed to verify this patch. {color:green}+1 javac{color}. The applied patch does not increase the total number of javac compiler warnings. {color:red}-1 release audit{color}. The applied patch generated 1 release audit warnings (more than the master's current 0 warnings). {color:red}-1 lineLengths{color}. The patch introduces the following lines longer than 100: + GLOBAL_HBASE_COUNT_REMOTE_RPC_CALLS.update(scanMetricsMap.get(REMOTE_RPC_CALLS_METRIC_NAME)); + GLOBAL_HBASE_COUNT_MILLS_BETWEEN_NEXTS.update(scanMetricsMap.get(MILLIS_BETWEEN_NEXTS_METRIC_NAME)); + GLOBAL_HBASE_COUNT_NOT_SERVING_REGION_EXCEPTION.update(scanMetricsMap.get(NOT_SERVING_REGION_EXCEPTION_METRIC_NAME)); + GLOBAL_HBASE_COUNT_BYTES_REGION_SERVER_RESULTS.update(scanMetricsMap.get(BYTES_IN_RESULTS_METRIC_NAME)); + GLOBAL_HBASE_COUNT_BYTES_IN_REMOTE_RESULTS.update(scanMetricsMap.get(BYTES_IN_REMOTE_RESULTS_METRIC_NAME)); + GLOBAL_HBASE_COUNT_SCANNED_REGIONS.update(scanMetricsMap.get(REGIONS_SCANNED_METRIC_NAME)); + GLOBAL_HBASE_COUNT_REMOTE_RPC_RETRIES.update(scanMetricsMap.get(REMOTE_RPC_RETRIES_METRIC_NAME)); + GLOBAL_HBASE_COUNT_ROWS_SCANNED.update(scanMetricsMap.get(COUNT_OF_ROWS_SCANNED_KEY_METRIC_NAME)); + GLOBAL_HBASE_COUNT_ROWS_FILTERED.update(scanMetricsMap.get(COUNT_OF_ROWS_FILTERED_KEY_METRIC_NAME)); {color:red}-1 core tests{color}. The patch failed these unit tests: ./phoenix-core/target/failsafe-reports/TEST-org.apache.phoenix.end2end.DropSchemaIT ./phoenix-core/target/failsafe-reports/TEST-org.apache.phoenix.end2end.ColumnEncodedImmutableTxStatsCollectorIT Test results: https://builds.apache.org/job/PreCommit-PHOENIX-Build/1673//testReport/ Release audit warnings: https://builds.apache.org/job/PreCommit-PHOENIX-Build/1673//artifact/patchprocess/patchReleaseAuditWarnings.txt Console output: https://builds.apache.org/job/PreCommit-PHOENIX-Build/1673//console This message is automatically generated. > Surface hbase metrics from perconnection to global metrics > -- > > Key: PHOENIX-4370 > URL: https://issues.apache.org/jira/browse/PHOENIX-4370 > Project: Phoenix > Issue Type: Bug >Reporter: Ethan Wang >Assignee: Ethan Wang > Attachments: PHOENIX-4370-v1.patch > > > Surface hbase metrics from perconnection to global metrics > Currently in phoenix client side, HBASE metrics are recorded and surfaced at > Per Connection level. PHOENIX-4370 allow it to be aggregated at global level, > i.e., aggregate across all connections within in one JVM so that user can > evaluate it as a stable metrics periodically. > COUNT_RPC_CALLS("rp", "Number of RPC calls"), > COUNT_REMOTE_RPC_CALLS("rr", "Number of remote RPC calls"), > COUNT_MILLS_BETWEEN_NEXTS("n", "Sum of milliseconds between sequential > next calls"), > COUNT_NOT_SERVING_REGION_EXCEPTION("nsr", "Number of > NotServingRegionException caught"), > COUNT_BYTES_REGION_SERVER_RESULTS("rs", "Number of bytes in Result > objects from region servers"), > COUNT_BYTES_IN_REMOTE_RESULTS("rrs", "Number of bytes in Result objects > from remote region servers"), > COUNT_SCANNED_REGIONS("rg", "Number of regions scanned"), > COUNT_RPC_RETRIES("rpr", "Number of RPC retries"), > COUNT_REMOTE_RPC_RETRIES("rrr", "Number of remote RPC retries"), > COUNT_ROWS_SCANNED("ws", "Number of rows scanned"), > COUNT_ROWS_FILTERED("wf", "Number of rows filtered"); -- This message was sent by Atlassian JIRA (v6.4.14#64029)
[jira] [Commented] (PHOENIX-4370) Surface hbase metrics from perconnection to global metrics
[ https://issues.apache.org/jira/browse/PHOENIX-4370?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16251972#comment-16251972 ] Ethan Wang commented on PHOENIX-4370: - [~alexaraujo] > Surface hbase metrics from perconnection to global metrics > -- > > Key: PHOENIX-4370 > URL: https://issues.apache.org/jira/browse/PHOENIX-4370 > Project: Phoenix > Issue Type: Bug >Reporter: Ethan Wang >Assignee: Ethan Wang > > Surface hbase metrics from perconnection to global metrics -- This message was sent by Atlassian JIRA (v6.4.14#64029)