hadoop-common-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Doug Cutting (JIRA)" <j...@apache.org>
Subject [jira] Commented: (HADOOP-879) SequenceFileInputFormat can no longer read from data produced by MapFileOutputFormat
Date Wed, 10 Jan 2007 20:33:27 GMT

    [ 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

        

Mime
View raw message