Improve checking of input for Api displayTasks() 
-------------------------------------------------

                 Key: MAPREDUCE-2944
                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-2944
             Project: Hadoop Map/Reduce
          Issue Type: Improvement
          Components: client
    Affects Versions: 0.24.0
            Reporter: XieXianshan
            Assignee: XieXianshan
            Priority: Trivial
             Fix For: 0.24.0
         Attachments: MAPREDUCE-2944.patch

The JobClient.displayTasks() will do nothing and won't throw any exception 
either, 
while user call it with invalid type/state of task.
To be more friendly,it's better to remain user to check his parameters with an 
exception. 

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to