[
https://issues.apache.org/jira/browse/AMBARI-15026?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15148693#comment-15148693
]
Hudson commented on AMBARI-15026:
---------------------------------
SUCCESS: Integrated in Ambari-branch-2.2 #341 (See
[https://builds.apache.org/job/Ambari-branch-2.2/341/])
AMBARI-15026 Hadoop metrics emit interval seems to be 1 minute instead (dsen:
[http://git-wip-us.apache.org/repos/asf?p=ambari.git&a=commit&h=7063e9dde72b83a3dbce59699a84753dd77583c7])
*
ambari-server/src/main/resources/common-services/HBASE/0.96.0.2.0/package/scripts/params_linux.py
*
ambari-server/src/main/resources/common-services/STORM/0.9.1.2.1/package/scripts/params_linux.py
*
ambari-server/src/main/resources/stacks/HDP/2.0.6/hooks/before-START/scripts/params.py
*
ambari-server/src/main/resources/common-services/AMBARI_METRICS/0.1.0/configuration/ams-site.xml
*
ambari-server/src/main/resources/common-services/AMBARI_METRICS/0.1.0/package/scripts/params.py
*
ambari-server/src/main/resources/common-services/FLUME/1.4.0.2.0/package/scripts/params.py
*
ambari-server/src/main/resources/common-services/ACCUMULO/1.6.1.2.2.0/package/scripts/params.py
> Hadoop metrics emit interval seems to be 1 minute instead of 10 seconds
> default
> -------------------------------------------------------------------------------
>
> Key: AMBARI-15026
> URL: https://issues.apache.org/jira/browse/AMBARI-15026
> Project: Ambari
> Issue Type: Bug
> Components: ambari-metrics
> Affects Versions: 2.2.0
> Reporter: Dmytro Sen
> Assignee: Dmytro Sen
> Priority: Critical
> Fix For: 2.2.2
>
> Attachments: AMBARI-15026-trunk.patch
>
>
> Noticed this after upgrade from 2.1.2 to 2.2.0.
> Bug seems to have been introduced bu AMBARI-13037.
> Need to ensure, send internal of 60 seconds and leaving the collection or
> sampling interval as default.
> {code}
> 0: jdbc:phoenix:localhost:61181:/ams-hbase-un> select * from METRIC_RECORD
> where METRIC_NAME='rpc.rpc.RpcQueueTimeAvgTime' and APP_ID = 'namenode' order
> by SERVER_TIME desc limit 10;
> +-------------+------------+-------------+------------+-------------+------------+----------------------+------------+--------------+------------+------------+------------+
> | METRIC_NAME | HOSTNAME | SERVER_TIME | APP_ID | INSTANCE_ID |
> START_TIME | UNITS | METRIC_SUM | METRIC_COUNT | METRIC_MAX |
> METRIC_MIN | METRICS |
> +-------------+------------+-------------+------------+-------------+------------+----------------------+------------+--------------+------------+------------+------------+
> | rpc.rpc.RpcQueueTimeAvgTime | c6401.ambari.apache.org | 1455155926917 |
> namenode | null | 1455155866867 | null | 0.0
> | 2 | 0.0 | 0.0 |
> {"1455155866867":0.0,"1455155926867":0.0} |
> | rpc.rpc.RpcQueueTimeAvgTime | c6401.ambari.apache.org | 1455155806915 |
> namenode | null | 1455155746868 | null | 0.5
> | 2 | 0.5 | 0.0 |
> {"1455155746868":0.5,"1455155806868":0.0} |
> | rpc.rpc.RpcQueueTimeAvgTime | c6401.ambari.apache.org | 1455155686901 |
> namenode | null | 1455155626867 | null | 2.0
> | 2 | 1.0 | 1.0 |
> {"1455155626867":1.0,"1455155686867":1.0} |
> | rpc.rpc.RpcQueueTimeAvgTime | c6401.ambari.apache.org | 1455155566987 |
> namenode | null | 1455155446868 | null | 1.5
> | 3 | 1.0 | 0.0 |
> {"1455155446868":0.0,"1455155506866":1.0,"1455155566872":0.5} |
> | rpc.rpc.RpcQueueTimeAvgTime | c6401.ambari.apache.org | 1455155221565 |
> namenode | null | 1455155101498 | null | 2.5
> | 3 | 1.0 | 0.5 |
> {"1455155101498":1.0,"1455155161496":1.0,"1455155221497":0.5} |
> | rpc.rpc.RpcQueueTimeAvgTime | c6401.ambari.apache.org | 1455155041553 |
> namenode | null | 1455154981496 | null | 2.5
> | 2 | 2.5 | 0.0 |
> {"1455154981496":0.0,"1455155041498":2.5} |
> | rpc.rpc.RpcQueueTimeAvgTime | c6401.ambari.apache.org | 1455154921619 |
> namenode | null | 1455154801501 | null |
> 0.8333333333333334 | 3 | 0.5 | 0.0 |
> {"1455154801501":0.5,"1455154861497":0.33333333333333337,"1455154921497":0.0}
> |
> | rpc.rpc.RpcQueueTimeAvgTime | c6401.ambari.apache.org | 1455154679870 |
> namenode | null | 1455154619738 | null | 1.0
> | 2 | 1.0 | 0.0 |
> {"1455154619738":1.0,"1455154679738":0.0} |
> | rpc.rpc.RpcQueueTimeAvgTime | c6401.ambari.apache.org | 1455154559985 |
> namenode | null | 1455154439747 | null | 1.5
> | 3 | 1.0 | 0.0 |
> {"1455154439747":0.5,"1455154499738":0.0,"1455154559740":1.0} |
> +-------------+------------+-------------+------------+-------------+------------+----------------------+------------+--------------+------------+------------+------------+
> 9 rows selected (0.485 seconds)
> {code}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)