[ https://issues.apache.org/jira/browse/MAPREDUCE-3689?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13190183#comment-13190183 ]
Hudson commented on MAPREDUCE-3689: ----------------------------------- Integrated in Hadoop-Mapreduce-trunk-Commit #1583 (See [https://builds.apache.org/job/Hadoop-Mapreduce-trunk-Commit/1583/]) MAPREDUCE-3689. RM web UI doesn't handle newline in job name. (Thomas Graves via mahadev) mahadev : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1234148 Files : * /hadoop/common/trunk/hadoop-mapreduce-project/CHANGES.txt * /hadoop/common/trunk/hadoop-mapreduce-project/hadoop-yarn/hadoop-yarn-common/src/main/java/org/apache/hadoop/yarn/webapp/view/Jsons.java * /hadoop/common/trunk/hadoop-mapreduce-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager/src/main/java/org/apache/hadoop/yarn/server/resourcemanager/webapp/AppsList.java > 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 > Fix For: 0.23.1 > > 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