[
https://issues.apache.org/jira/browse/AMBARI-14207?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15042218#comment-15042218
]
Hudson commented on AMBARI-14207:
---------------------------------
FAILURE: Integrated in Ambari-branch-2.2 #8 (See
[https://builds.apache.org/job/Ambari-branch-2.2/8/])
AMBARI-14207. Web Client Does Not Display Errors When Creating Upgrade.
(yusaku:
[http://git-wip-us.apache.org/repos/asf?p=ambari.git&a=commit&h=5f2f4925f7109393d20761add80fda4b269383c7])
* ambari-web/app/messages.js
* ambari-web/app/controllers/main/admin/stack_and_upgrade_controller.js
> 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: AMBARI-14207.patch, 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)