[
https://issues.apache.org/jira/browse/MAPREDUCE-2944?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14129268#comment-14129268
]
Allen Wittenauer commented on MAPREDUCE-2944:
---------------------------------------------
Historical note:
Some form of parts of this patch went into branch-2 at some point, but not all
of it.
> 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: 3.0.0
>
> Attachments: MAPREDUCE-2944.patch, MAPREDUCE-2944.patch,
> MAPREDUCE-2944_v0.2.patch, MAPREDUCE-2944_v0.3.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 was sent by Atlassian JIRA
(v6.3.4#6332)