[
https://issues.apache.org/jira/browse/MAPREDUCE-4007?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13228945#comment-13228945
]
Alejandro Abdelnur commented on MAPREDUCE-4007:
-----------------------------------------------
I'm not 100% happy with the patch but I think it is a reasonable compromise. At
first I've tried propagating a new exception to the client, but the
YarnRemoteExceptionPBImpl it seems not designed to be extended, its getCause()
method returns a YarnRemoteException and the implementation returns a
YANRemoteExceptionImpl. Furthermore there are no subclasses of those exceptions
in YARN/MR thus inclined to thing they have not been designed for being
subclassed.
> JobClient getJob(JobID) should return NULL if the job does not exist (for
> backwards compatibility)
> --------------------------------------------------------------------------------------------------
>
> Key: MAPREDUCE-4007
> URL: https://issues.apache.org/jira/browse/MAPREDUCE-4007
> Project: Hadoop Map/Reduce
> Issue Type: Bug
> Components: mrv2
> Affects Versions: 0.24.0, 0.23.3
> Reporter: Alejandro Abdelnur
> Assignee: Alejandro Abdelnur
> Fix For: 0.23.3
>
> Attachments: MAPREDUCE-4007.patch
>
>
> To preserve backwards compatibility with MR1 JobClient.getJob() should return
> NULL if the job does not exist.
--
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