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 460EFC233 for ; Wed, 12 Mar 2014 16:31:18 +0000 (UTC) Received: (qmail 44524 invoked by uid 500); 12 Mar 2014 16:31:17 -0000 Delivered-To: apmail-ambari-dev-archive@ambari.apache.org Received: (qmail 44235 invoked by uid 500); 12 Mar 2014 16:31:17 -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 43958 invoked by uid 99); 12 Mar 2014 16:31:16 -0000 Received: from reviews-vm.apache.org (HELO reviews.apache.org) (140.211.11.40) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 12 Mar 2014 16:31:16 +0000 Received: from reviews.apache.org (localhost [127.0.0.1]) by reviews.apache.org (Postfix) with ESMTP id 92B051D50CB; Wed, 12 Mar 2014 16:31:14 +0000 (UTC) Content-Type: multipart/alternative; boundary="===============6316556020781957697==" MIME-Version: 1.0 Subject: Review Request 19131: Start all services silently fails when a service is not startable From: "Oleg Nechiporenko" To: "Alexandr Antonenko" Cc: "Oleg Nechiporenko" , "Ambari" Date: Wed, 12 Mar 2014 16:31:14 -0000 Message-ID: <20140312163114.13791.32616@reviews.apache.org> X-ReviewBoard-URL: https://reviews.apache.org Auto-Submitted: auto-generated Sender: "Oleg Nechiporenko" X-ReviewGroup: Ambari X-ReviewRequest-URL: https://reviews.apache.org/r/19131/ X-Sender: "Oleg Nechiporenko" Reply-To: "Oleg Nechiporenko" X-ReviewRequest-Repository: ambari --===============6316556020781957697== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit ----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/19131/ ----------------------------------------------------------- Review request for Ambari and Alexandr Antonenko. Bugs: AMBARI-5051 https://issues.apache.org/jira/browse/AMBARI-5051 Repository: ambari Description ------- I clicked on {{Start All}} services button and nothing happened. Turns out that on the API call, the server throws a 500 exception that is silently lost. We should show in a dialog the error response from server. Similarly for {{Stop All}} action. {{PUT http://c6401:8080/api/v1/clusters/c1/services?params/run_smoke_test}} {code} {"RequestInfo": {"context" :"_PARSE_.START.ALL_SERVICES"}, "Body": {"ServiceInfo": {"state": "START {code} {code} { "status" : 500, "message" : "org.apache.ambari.server.controller.spi.SystemException: An internal system exception occurred: Invalid transition for servicecomponenthost, clusterName=c1, clusterId=3, serviceName=OOZIE, componentName=OOZIE_SERVER, hostname=c6402.ambari.apache.org, currentState=INSTALL_FAILED, newDesiredState=STARTED" } {code} Diffs ----- ambari-web/app/controllers/main/service.js 67bccf6 Diff: https://reviews.apache.org/r/19131/diff/ Testing ------- 2537 tests complete (929 ms) Thanks, Oleg Nechiporenko --===============6316556020781957697==--