[ 
https://issues.apache.org/jira/browse/HADOOP-3664?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12614715#action_12614715
 ] 

Tom White commented on HADOOP-3664:
-----------------------------------

I'm wondering whether we want to remove FileInputFormat#validateInput - is it 
needed to do job validation (e.g. HADOOP-1683), or would that be better done 
elsewhere?

Also, FileSystem#getFileBlockLocations(Path, long, long) is actually a 
convenience method for FileSystem#getFileBlockLocations(FileStatus, long, 
long), so there's not much harm in leaving it there. It's used quite widely. 
FileSystem implementations only need to implement the latter signature, so it's 
not a burden on them.

If we decide not to remove either or both of these methods then we would just 
undeprecate them.

> 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.


Reply via email to