[ https://issues.apache.org/jira/browse/MAPREDUCE-3689?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Thomas Graves updated MAPREDUCE-3689: ------------------------------------- Attachment: MAPREDUCE-3689.patch escapes the job name and also fixed another bug with the progress bar being 10000%. > RM web UI doesn't handle newline in job name > -------------------------------------------- > > Key: MAPREDUCE-3689 > URL: https://issues.apache.org/jira/browse/MAPREDUCE-3689 > Project: Hadoop Map/Reduce > Issue Type: Bug > Components: mrv2 > Affects Versions: 0.23.0 > Reporter: Thomas Graves > Assignee: Thomas Graves > Priority: Blocker > Attachments: MAPREDUCE-3689.patch > > > a user submitted a mapreduce job with a newline (\n) in the job name. This > caused the resource manager web ui to get a javascript exception when loading > the application and scheduler pages and the pages were pretty well useless > after that since they didn't load everything. Note that this only happens > when the data is returned in the JS_ARRAY, which is when you get over 100 > applications. > errors: > Uncaught SyntaxError: Unexpected token ILLEGAL > Uncaught ReferenceError: appsData is not defined > It seems odd that we allow the \n in the job name. It appears we allow it in > 1.0 also, although when I ran a test the job itself failed in taskrunner. > 0.23 seems to run the job fine with the \n in the job name. -- 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