hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Joey Echeverria (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HADOOP-8449) hadoop fs -text fails with compressed sequence files with the codec file extension
Date Wed, 30 May 2012 22:27:23 GMT

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

Joey Echeverria commented on HADOOP-8449:
-----------------------------------------

As Harsh pointed out, there are no tests for the FsShell commands. The two failing tests look
unrelated, so I'm +1 on the patch.
                
> hadoop fs -text fails with compressed sequence files with the codec file extension
> ----------------------------------------------------------------------------------
>
>                 Key: HADOOP-8449
>                 URL: https://issues.apache.org/jira/browse/HADOOP-8449
>             Project: Hadoop Common
>          Issue Type: Bug
>    Affects Versions: 1.0.3, 2.0.0-alpha
>            Reporter: Joey Echeverria
>            Assignee: Harsh J
>            Priority: Minor
>         Attachments: HADOOP-8449.patch
>
>
> When the -text command is run on a file and the file ends in the default extension for
a codec (e.g. snappy or gz), but is a compressed sequence file, the command will fail.
> The issue is that it assumes that if it matches the extension, then it's plain compressed
file. It might be more helpful to check if it's a sequence file first, and then check the
file extension second.

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

        

Mime
View raw message