You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ambari.apache.org by "Srimanth Gunturi (JIRA)" <ji...@apache.org> on 2014/09/13 03:39:33 UTC
[jira] [Updated] (AMBARI-7270) FE: Errors in /recommendation API
being silently ignored
[ https://issues.apache.org/jira/browse/AMBARI-7270?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Srimanth Gunturi updated AMBARI-7270:
-------------------------------------
Description:
To reproduce, put an error in stack-advisor.py script to throw an exception. When /recommendation API is called, it throws a 400-BadRequest error. However the UI is silently hiding this issue, and showing blank page - which is confusing to user.
At a minimum, the UI should show an error dialog explaining the error.We will be providing why the call failed. We should atleast show this error message. There is a standard error dialog we show for failing HTTP invocations - we should use the same dialog to show the error code, reason and message.
was:
To reproduce, put an error in stack-advisor.py script to throw an exception. When /recommendation API is called, it throws a 400-BadRequest error. However the UI is silently hiding this issue, and showing blank page - which is confusing to user.
At a minimum, the UI should show an error dialog explaining the error. In BUG-22261 we will be providing why the call failed. We should atleast show this error message. There is a standard error dialog we show for failing HTTP invocations - we should use the same dialog to show the error code, reason and message.
> FE: Errors in /recommendation API being silently ignored
> --------------------------------------------------------
>
> Key: AMBARI-7270
> URL: https://issues.apache.org/jira/browse/AMBARI-7270
> Project: Ambari
> Issue Type: Task
> Components: ambari-web
> Affects Versions: 1.7.0
> Reporter: Srimanth Gunturi
> Assignee: Srimanth Gunturi
> Fix For: 1.7.0
>
>
> To reproduce, put an error in stack-advisor.py script to throw an exception. When /recommendation API is called, it throws a 400-BadRequest error. However the UI is silently hiding this issue, and showing blank page - which is confusing to user.
> At a minimum, the UI should show an error dialog explaining the error.We will be providing why the call failed. We should atleast show this error message. There is a standard error dialog we show for failing HTTP invocations - we should use the same dialog to show the error code, reason and message.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)