Xi Wang created AMBARI-14207:
--------------------------------

             Summary: 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)

Reply via email to