[ https://issues.apache.org/jira/browse/MAPREDUCE-2874?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13102672#comment-13102672 ]
Eric Payne commented on MAPREDUCE-2874: --------------------------------------- * I removed the {{Apps.toString(ApplicationId id)}} method from o.a.h.yarn.util.Apps.java * The {{Apps.toString(ApplicationId id)}} method was used by {{webapp}} APIs. * Since this {{toString}} method has an {{ApplicationId}} as it's parameter, I replaced every call to {{Apps.tostring(ApplicationId id)}} with a call to {{ApplicationId.toString()}}. * The result is that in the yarn UI pages, job names now have the form application_<epoch>_<job num> rather than app_<epoch>_<job num> (See Screenshot AppStringNowApplicationString.2011-09-09.PNG) > ApplicationId printed in 2 different formats and has 2 different toString > routines that are used > ------------------------------------------------------------------------------------------------ > > Key: MAPREDUCE-2874 > URL: https://issues.apache.org/jira/browse/MAPREDUCE-2874 > Project: Hadoop Map/Reduce > Issue Type: Bug > Components: mrv2 > Affects Versions: 0.23.0 > Reporter: Thomas Graves > Assignee: Eric Payne > Fix For: 0.23.0 > > > Looks like the ApplicationId is now printed in 2 different formats. > ApplicationIdPBImpl.java has a toString routine that prints it in the format: > return "application_" + this.getClusterTimestamp() + "_" + this.getId(); > While the webapps use > ./hadoop-yarn-common/src/main/java/org/apache/hadoop/yarn/util/Apps.java > toString that prints it like: > return _join("app", id.getClusterTimestamp(), id.getId()); -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira