hadoop-mapreduce-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Robert Joseph Evans (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (MAPREDUCE-3320) Error conditions in web apps should stop pages from rendering.
Date Thu, 26 Jul 2012 20:17:34 GMT

     [ 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

        

Mime
View raw message