Remove hardcoded strings from the JC#displayTasks() call.
---------------------------------------------------------
Key: MAPREDUCE-3642
URL: https://issues.apache.org/jira/browse/MAPREDUCE-3642
Project: Hadoop Map/Reduce
Issue Type: Sub-task
Components: client
Affects Versions: 0.24.0
Reporter: Harsh J
Assignee: Harsh J
This is to address Eli's comments on the parent task:
bq. 1. The error messages should generate the lists of valid states and types
from their definitions rather than hard-coding them into the error messages.
bq. 2. Aren't these types and states defined somewhere already? Seems like
they're a public API and therefore shouldn't have to duplicate the definition
of them in taskTypes and taskStates.
--
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