[ https://issues.apache.org/jira/browse/MAPREDUCE-2793?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13210647#comment-13210647 ]
Siddharth Seth commented on MAPREDUCE-2793: ------------------------------------------- Tried out the patch. Nice to finally have proper Ids in the UI. Couple of changes though - MRApps - JOB, TASK, ATTEMPT - not needed anymore. - MRApps - JobId toJobID(String) - Instead of converting to mrv1 jobId and then to an mrv2 jobId - it'd be better to build the mrv2 id directly. ConverterUtils has such a method for ApplicationId. Similarly for taskID and taskAttemptID - TaskID/TaskAttemptID.forName() - the exception string should not be defined up front - extra objects created for valid strings. That's only required in case of a malformed string. > [MR-279] Maintain consistency in naming appIDs, jobIDs and attemptIDs > ---------------------------------------------------------------------- > > Key: MAPREDUCE-2793 > URL: https://issues.apache.org/jira/browse/MAPREDUCE-2793 > Project: Hadoop Map/Reduce > Issue Type: Bug > Components: mrv2 > Affects Versions: 0.23.0 > Reporter: Ramya Sunil > Assignee: Bikas Saha > Priority: Critical > Fix For: 0.23.2 > > Attachments: MAPREDUCE-2793-branch-0.23.patch, > MAPREDUCE-2793-branch-0.23.patch, MAPREDUCE-2793-branch-0.23.patch, > MAPREDUCE-2793.patch > > > appIDs, jobIDs and attempt/container ids are not consistently named in the > logs, console and UI. For consistency purpose, they all have to follow a > common naming convention. > Currently, > For appID > ========= > On the RM UI: app_1308259676864_5 > On the JHS UI: No appID > Console/logs: No appID > mapred-local dirs are named as: application_1308259676864_0005 > For jobID > ========= > On the RM UI: job_1308259676864_5_5 > JHS UI: job_1308259676864_5_5 > Console/logs: job_1308259676864_0005 > mapred-local dirs are named as: No jobID > For attemptID > ============ > On the RM UI: attempt_1308259676864_5_5_m_24_0 > JHS attempt_1308259676864_5_5_m_24_0 > Console/logs: attempt_1308259676864_0005_m_000024_0 > mapred-local dirs are named as: container_1308259676864_0005_000024 -- 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