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 B69B218B20 for ; Fri, 4 Dec 2015 02:10:11 +0000 (UTC) Received: (qmail 21291 invoked by uid 500); 4 Dec 2015 02:10:11 -0000 Delivered-To: apmail-ambari-dev-archive@ambari.apache.org Received: (qmail 21185 invoked by uid 500); 4 Dec 2015 02:10:11 -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 20901 invoked by uid 99); 4 Dec 2015 02:10:11 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 04 Dec 2015 02:10:11 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 1E74D2C1F78 for ; Fri, 4 Dec 2015 02:10:11 +0000 (UTC) Date: Fri, 4 Dec 2015 02:10:11 +0000 (UTC) From: "Xi Wang (JIRA)" To: dev@ambari.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (AMBARI-14207) Web Client Does Not Display Errors When Creating Upgrade 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-14207?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15039596#comment-15039596 ] Xi Wang commented on AMBARI-14207: ---------------------------------- 10255 tests complete (11 seconds) 104 tests pending > Web Client Does Not Display Errors When Creating Upgrade > -------------------------------------------------------- > > Key: AMBARI-14207 > URL: https://issues.apache.org/jira/browse/AMBARI-14207 > Project: Ambari > Issue Type: Bug > Components: ambari-web > Affects Versions: 2.2.0 > Reporter: Xi Wang > Assignee: Xi Wang > Priority: Critical > Fix For: 2.2.0 > > Attachments: popup.png > > > When creating an upgrade, an HTTP error returned (such as a 500 error) is never propagated up to the end user. > STR: > - Setup a 4-host cluster with ZK, Yarn, HDFS > - Install clients only on the 4th host > - Place the 4th host into maintenance mode > - Start an upgrade > The server will correctly throw an exception since service checks cannot be scheduled since 4th host in maintenance mode is excluded. The error is propagated up as an HTTP 500 error: > {code:title=HTTP/500} > While building a service check command for YARN, there were no healthy eligible hosts: unhealthy[], maintenance[c6404.ambari.apache.org] > {code} > This message should be shown to the end user. Otherwise, nothing happens in the UI and there is no indication of an error. -- This message was sent by Atlassian JIRA (v6.3.4#6332)