You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-dev@hadoop.apache.org by "Doug Cutting (JIRA)" <ji...@apache.org> on 2007/01/10 21:33:27 UTC

[jira] Commented: (HADOOP-879) SequenceFileInputFormat can no longer read from data produced by MapFileOutputFormat

    [ https://issues.apache.org/jira/browse/HADOOP-879?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12463704 ] 

Doug Cutting commented on HADOOP-879:
-------------------------------------

Attached is a patch that changes validation to use FileSystem#exists(Path) rather than FileSystem#isFile(Path), permitting directories as inputs.  Does this suffice?  We still need a unit test...

> SequenceFileInputFormat can no longer read from data produced by MapFileOutputFormat
> ------------------------------------------------------------------------------------
>
>                 Key: HADOOP-879
>                 URL: https://issues.apache.org/jira/browse/HADOOP-879
>             Project: Hadoop
>          Issue Type: Bug
>    Affects Versions: 0.10.0
>            Reporter: Bryan Pendleton
>             Fix For: 0.10.1
>
>         Attachments: HADOOP-879.patch
>
>
> The call to validateInput() happens before listPaths(). listPaths() will allow MapFile inputs, but validateInput() fails on directories.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira