Return-Path: X-Original-To: apmail-ambari-issues-archive@minotaur.apache.org Delivered-To: apmail-ambari-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 24ED4183DA for ; Mon, 28 Mar 2016 22:43:26 +0000 (UTC) Received: (qmail 54892 invoked by uid 500); 28 Mar 2016 22:43:25 -0000 Delivered-To: apmail-ambari-issues-archive@ambari.apache.org Received: (qmail 54861 invoked by uid 500); 28 Mar 2016 22:43:25 -0000 Mailing-List: contact issues-help@ambari.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@ambari.apache.org Delivered-To: mailing list issues@ambari.apache.org Received: (qmail 54844 invoked by uid 99); 28 Mar 2016 22:43:25 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 28 Mar 2016 22:43:25 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 8BD3A2C1F60 for ; Mon, 28 Mar 2016 22:43:25 +0000 (UTC) Date: Mon, 28 Mar 2016 22:43:25 +0000 (UTC) From: "Hadoop QA (JIRA)" To: issues@ambari.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (AMBARI-15606) Ambari API does not return HDFS RPC metrics based on ports MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/AMBARI-15606?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15215031#comment-15215031 ] Hadoop QA commented on AMBARI-15606: ------------------------------------ {color:red}-1 overall{color}. Here are the results of testing the latest attachment http://issues.apache.org/jira/secure/attachment/12795671/AMBARI-15606-trunk.patch against trunk revision . {color:green}+1 @author{color}. The patch does not contain any @author tags. {color:green}+1 tests included{color}. The patch appears to include 2 new or modified test files. {color:green}+1 javac{color}. The applied patch does not increase the total number of javac compiler warnings. {color:green}+1 release audit{color}. The applied patch does not increase the total number of release audit warnings. {color:red}-1 core tests{color}. The patch failed these unit tests in ambari-server: org.apache.ambari.server.controller.internal.StackDefinedPropertyProviderTest Test results: https://builds.apache.org/job/Ambari-trunk-test-patch/6058//testReport/ Console output: https://builds.apache.org/job/Ambari-trunk-test-patch/6058//console This message is automatically generated. > Ambari API does not return HDFS RPC metrics based on ports > ---------------------------------------------------------- > > Key: AMBARI-15606 > URL: https://issues.apache.org/jira/browse/AMBARI-15606 > Project: Ambari > Issue Type: Bug > Components: ambari-server > Affects Versions: 2.2.0 > Reporter: Dmytro Sen > Assignee: Dmytro Sen > Priority: Critical > Fix For: 2.2.2 > > Attachments: AMBARI-15606-trunk.patch > > > ISSUE: Ambari API does not return HDFS RPC metrics based on ports (Example 8020 and 8040) > When creating Ambari Widget we don't see an option to monitor by port. Hence the monitoring of Random port or aggregate doesn't give correct information > After the patch, ambari automatically replaces port number with the corresponding suffix > client for the port specified in hdfs-site/dfs.namenode.rpc-address > datanode for the port specified in hdfs-site/dfs.namenode.servicerpc-address > healthcheck for the port specified in hdfs-site/dfs.namenode.lifeline.rpc-address > Request/response example > {code} > { > "href" : "http://10.2.2.22:1081/api/v1/clusters/c1/services/HDFS/components/NAMENODE?fields=host_components/metrics/rpc/*,host_components/metrics/runtime/*", > "ServiceComponentInfo" : { > "cluster_name" : "c1", > "component_name" : "NAMENODE", > "service_name" : "HDFS" > }, > "host_components" : [ > { > "href" : "http://10.2.2.22:1081/api/v1/clusters/c1/hosts/c6401.ambari.apache.org/host_components/NAMENODE", > "HostRoles" : { > "cluster_name" : "c1", > "component_name" : "NAMENODE", > "host_name" : "c6401.ambari.apache.org" > }, > "metrics" : { > "rpc" : { > "client" : { > "NumOpenConnections" : 0, > "ReceivedBytes" : 2508, > "RpcProcessingTime_avg_time" : 0.0, > "RpcProcessingTime_num_ops" : 12, > "RpcQueueTime_avg_time" : 0.0, > "RpcQueueTime_num_ops" : 12, > "SentBytes" : 408, > "callQueueLen" : 0, > "rpcAuthenticationFailures" : 0, > "rpcAuthenticationSuccesses" : 0, > "rpcAuthorizationFailures" : 0, > "rpcAuthorizationSuccesses" : 12 > }, > "datanode" : { > "NumOpenConnections" : 2, > "ReceivedBytes" : 3269926, > "RpcProcessingTime_avg_time" : 0.0, > "RpcProcessingTime_num_ops" : 6029, > "RpcQueueTime_avg_time" : 0.0, > "RpcQueueTime_num_ops" : 6029, > "SentBytes" : 248169, > "callQueueLen" : 0, > "rpcAuthenticationFailures" : 0, > "rpcAuthenticationSuccesses" : 0, > "rpcAuthorizationFailures" : 0, > "rpcAuthorizationSuccesses" : 288 > } > }, > "runtime" : { > "StartTime" : 1459170322047 > } > } > } > ] > } > {code} -- This message was sent by Atlassian JIRA (v6.3.4#6332)