[ https://issues.apache.org/jira/browse/HADOOP-5720?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12701441#action_12701441 ]
Devaraj Das commented on HADOOP-5720: ------------------------------------- There is a _Enum TaskType_ already defined in FairScheduler source base. I am planning to move it into the mapreduce package. I am going to define additional constants - JOB_CLEANUP, JOB_SETUP, TASK_CLEANUP. > Create enum for the TaskTypes (Map, Reduce, JobSetup, JobCleanup, TaskCleanup) > ------------------------------------------------------------------------------ > > Key: HADOOP-5720 > URL: https://issues.apache.org/jira/browse/HADOOP-5720 > Project: Hadoop Core > Issue Type: Sub-task > Components: mapred > Affects Versions: 0.19.0 > Reporter: Devaraj Das > Assignee: Devaraj Das > Fix For: 0.21.0 > > > Create enum for the TaskTypes - Map, Reduce, JobSetup, JobCleanup, > TaskCleanup. Change the framework to use these enum constants and remove > usages of booleans like isMap. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.