TaskTrackerAction should follow Open Closed Principle
-----------------------------------------------------
Key: MAPREDUCE-2759
URL: https://issues.apache.org/jira/browse/MAPREDUCE-2759
Project: Hadoop Map/Reduce
Issue Type: Improvement
Components: tasktracker
Affects Versions: 0.23.0
Environment: NA
Reporter: Rajesh Putta
Priority: Minor
In the class TaskTrackerAction there are fixed actions or directions specified
from the Job Tracker to the Task Tracker.So if in the future if some more
actions are specified from the Job Tracker to Task Tracker,Current
implementation is breaking Open Closed Principle(Open for extension,closed for
modification).As the number of actions increases in the future, the code need
to be modified to incorporate the actions.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira