[
https://issues.apache.org/jira/browse/HADOOP-3664?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12615353#action_12615353
]
Doug Cutting commented on HADOOP-3664:
--------------------------------------
> I'm wondering whether we want to remove FileInputFormat#validateInput
The original need for this method was to be able to check inputs prior to
submitting the job, since splits were then generated at the jobtracker. Now
that splits are generated in the jobclient, there's not much point to keeping
this method: input validation can be done when splits are generated, still
providing rapid feedback.
> FileSystem#getFileBlockLocations(Path, long, long) is actually a convenience
> method
That's also true of #listPaths(), no? I don't have a strong feeling here.
Keeping a convenience method isn't bad, but, we also want to encourage folks to
write efficient code that does not call #getStatus too frequently.
> Remove deprecated methods introduced in changes to validating input paths
> (HADOOP-3095)
> ---------------------------------------------------------------------------------------
>
> Key: HADOOP-3664
> URL: https://issues.apache.org/jira/browse/HADOOP-3664
> Project: Hadoop Core
> Issue Type: Improvement
> Reporter: Tom White
> Assignee: Tom White
> Fix For: 0.19.0
>
>
> Remove FileInputFormat#listPaths, FileInputFormat#validateInput,
> FileInputFormat#getSplitsForPaths, FileSystem#getFileBlockLocations(Path,
> long, long)
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.