You are viewing a plain text version of this content. The canonical link for it is here.
Posted to mapreduce-issues@hadoop.apache.org by "Robert Joseph Evans (JIRA)" <ji...@apache.org> on 2012/07/26 22:17:35 UTC

[jira] [Resolved] (MAPREDUCE-3320) Error conditions in web apps should stop pages from rendering.

     [ https://issues.apache.org/jira/browse/MAPREDUCE-3320?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Robert Joseph Evans resolved MAPREDUCE-3320.
--------------------------------------------

       Resolution: Invalid
    Fix Version/s:     (was: 0.24.0)

The UI actually will do a redirect back to itself with a cookie set indicating that an error happened.  This results in the page being redrawn with the error.
                
> Error conditions in web apps should stop pages from rendering.
> --------------------------------------------------------------
>
>                 Key: MAPREDUCE-3320
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-3320
>             Project: Hadoop Map/Reduce
>          Issue Type: Bug
>          Components: mrv2
>    Affects Versions: 0.23.0, 0.24.0
>            Reporter: Robert Joseph Evans
>            Assignee: Robert Joseph Evans
>
> There are several places in the web apps where an error condition should short circuit the page from rendering, but it does not.  Ideally the web app framework should be extended to support exceptions similar to Jersey that can have an HTTP return code associated with them.  Then all of the places that produce custom error pages can just throw these exceptions instead. 

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira