[
https://issues.apache.org/jira/browse/MAPREDUCE-5222?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13653219#comment-13653219
]
Alejandro Abdelnur commented on MAPREDUCE-5222:
-----------------------------------------------
[[email protected]], I'm not sure throwing an {{InterruptedIOException}} is
the right thing to do, this exception is to signal an interruption during IO,
which is not the case. The goal here is to keep API backwards compatibitility
with Hadoop 1, in other places what has been done is to wrap the
{{InterruptedException}} with a {{RuntimeException}}. IMO, we should do the
same here.
> Add missing methods to JobClient
> ---------------------------------
>
> Key: MAPREDUCE-5222
> URL: https://issues.apache.org/jira/browse/MAPREDUCE-5222
> Project: Hadoop Map/Reduce
> Issue Type: Sub-task
> Affects Versions: 2.0.4-alpha
> Reporter: Karthik Kambatla
> Assignee: Karthik Kambatla
> Fix For: 2.0.5-beta
>
> Attachments: mr-5222.patch, mr-5222.patch
>
>
> JobClient is missing the following two public methods we need to add for
> binary compatibility:
> # static isJobDirValid(Path, FileSystem)
> # Path getStagingAreaDir()
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira