Return-Path: X-Original-To: apmail-ambari-dev-archive@www.apache.org Delivered-To: apmail-ambari-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 0F805179E9 for ; Fri, 10 Oct 2014 11:33:08 +0000 (UTC) Received: (qmail 52913 invoked by uid 500); 10 Oct 2014 11:33:07 -0000 Delivered-To: apmail-ambari-dev-archive@ambari.apache.org Received: (qmail 52885 invoked by uid 500); 10 Oct 2014 11:33:07 -0000 Mailing-List: contact dev-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 dev@ambari.apache.org Received: (qmail 52868 invoked by uid 99); 10 Oct 2014 11:33:07 -0000 Received: from reviews-vm.apache.org (HELO reviews.apache.org) (140.211.11.40) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 10 Oct 2014 11:33:07 +0000 Received: from reviews.apache.org (localhost [127.0.0.1]) by reviews.apache.org (Postfix) with ESMTP id B350B1DDD44; Fri, 10 Oct 2014 11:33:03 +0000 (UTC) Content-Type: multipart/alternative; boundary="===============0733122232862631751==" MIME-Version: 1.0 Subject: Re: Review Request 26547: UI: REST API Changes in Storm From: "Aleksandr Kovalenko" To: "Andrii Tkach" , "Aleksandr Kovalenko" Cc: "Oleg Nechiporenko" , "Ambari" Date: Fri, 10 Oct 2014 11:33:03 -0000 Message-ID: <20141010113303.24818.70731@reviews.apache.org> X-ReviewBoard-URL: https://reviews.apache.org Auto-Submitted: auto-generated Sender: "Aleksandr Kovalenko" X-ReviewGroup: Ambari X-ReviewRequest-URL: https://reviews.apache.org/r/26547/ X-Sender: "Aleksandr Kovalenko" References: <20141010112958.24817.85898@reviews.apache.org> In-Reply-To: <20141010112958.24817.85898@reviews.apache.org> Reply-To: "Aleksandr Kovalenko" X-ReviewRequest-Repository: ambari --===============0733122232862631751== MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit ----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/26547/#review56120 ----------------------------------------------------------- Ship it! Ship It! - Aleksandr Kovalenko On Жов. 10, 2014, 11:29 до полудня, Oleg Nechiporenko wrote: > > ----------------------------------------------------------- > This is an automatically generated e-mail. To reply, visit: > https://reviews.apache.org/r/26547/ > ----------------------------------------------------------- > > (Updated Жов. 10, 2014, 11:29 до полудня) > > > Review request for Ambari, Aleksandr Kovalenko and Andrii Tkach. > > > Bugs: AMBARI-7721 > https://issues.apache.org/jira/browse/AMBARI-7721 > > > Repository: ambari > > > Description > ------- > > We need to make changes for Storm rest api metrics from UI side. > In stack 2.2 STORM_REST_API will not be included. All api calls will be added to STORM_UI_SERVER. > > Example: > {code} > http://c6402.ambari.apache.org:8080/api/v1/clusters/c1/hosts/c6402.ambari.apache.org/host_components/STORM_UI_SERVER > {code} > > {code} > "metrics" : { > "api" : { > "v1" : { > "cluster" : { > "summary" : { > "executorsTotal" : 28.0, > "nimbusUptime" : "15m 1s", > "slotsFree" : 0.0, > "slotsTotal" : 2.0, > "slotsUsed" : 2.0, > "supervisors" : 1.0, > "tasksTotal" : 28.0 > } > }, > "topology" : { > "summary" : [ > { > "executorsTotal" : 28.0, > "uptime" : "5m 59s", > "schedulerInfo" : null, > "name" : "WordCountida8c06640_date2901141", > "workersTotal" : 2.0, > "status" : "ACTIVE", > "owner" : "", > "tasksTotal" : 28.0, > "id" : "WordCountida8c06640_date2901141-2-1412195707" > } > ] > } > } > {code} > > Note: Now we need to calculate a number of topologies from this data. > > > Diffs > ----- > > ambari-web/app/controllers/global/update_controller.js 35b9e13 > ambari-web/app/mappers/service_metrics_mapper.js 1ee93bc > ambari-web/app/models/service/storm.js f061d31 > ambari-web/app/utils/date.js 671ec02 > ambari-web/app/utils/helper.js b5ce069 > ambari-web/app/views/main/service/services/storm.js 3546cd0 > ambari-web/test/controllers/global/update_controller_test.js a880b1b > ambari-web/test/mappers/service_mapper_test.js e291ae7 > ambari-web/test/utils/helper_test.js f75c1e4 > > Diff: https://reviews.apache.org/r/26547/diff/ > > > Testing > ------- > > +1 overall. Here are the results of testing the latest attachment > http://issues.apache.org/jira/secure/attachment/12674151/AMBARI-7721_branch-1.7.0.patch > against trunk revision . > +1 @author. The patch does not contain any @author tags. > +1 tests included. The patch appears to include 3 new or modified test files. > +1 javac. The applied patch does not increase the total number of javac compiler warnings. > +1 release audit. The applied patch does not increase the total number of release audit warnings. > +1 core tests. The patch passed unit tests in . > Test results: https://builds.apache.org/job/Ambari-trunk-test-patch/144//testReport/ > Console output: https://builds.apache.org/job/Ambari-trunk-test-patch/144//console > > > Thanks, > > Oleg Nechiporenko > > --===============0733122232862631751==--