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 "Bryan Pendleton (JIRA)" <ji...@apache.org> on 2007/01/10 20:42:27 UTC
[jira] Created: (HADOOP-879) SequenceFileInputFormat can no longer
read from data produced by MapFileOutputFormat
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
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
[jira] Resolved: (HADOOP-879) SequenceFileInputFormat can no longer
read from data produced by MapFileOutputFormat
Posted by "Doug Cutting (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HADOOP-879?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Doug Cutting resolved HADOOP-879.
---------------------------------
Resolution: Fixed
Assignee: Doug Cutting
I just committed this, with a 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
> Assigned To: Doug Cutting
> 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
[jira] Updated: (HADOOP-879) SequenceFileInputFormat can no longer
read from data produced by MapFileOutputFormat
Posted by "Doug Cutting (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HADOOP-879?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Doug Cutting updated HADOOP-879:
--------------------------------
Attachment: HADOOP-879.patch
> 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
[jira] Commented: (HADOOP-879) SequenceFileInputFormat can no
longer read from data produced by MapFileOutputFormat
Posted by "Doug Cutting (JIRA)" <ji...@apache.org>.
[ 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
[jira] Updated: (HADOOP-879) SequenceFileInputFormat can no longer
read from data produced by MapFileOutputFormat
Posted by "Doug Cutting (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HADOOP-879?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Doug Cutting updated HADOOP-879:
--------------------------------
Fix Version/s: 0.10.1
We should fix this for 0.10.1. A unit test would be good to have too.
> 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
>
>
> 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