Return-Path: X-Original-To: apmail-hadoop-common-issues-archive@minotaur.apache.org Delivered-To: apmail-hadoop-common-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id ACD269018 for ; Thu, 31 May 2012 02:35:25 +0000 (UTC) Received: (qmail 33268 invoked by uid 500); 31 May 2012 02:35:25 -0000 Delivered-To: apmail-hadoop-common-issues-archive@hadoop.apache.org Received: (qmail 32909 invoked by uid 500); 31 May 2012 02:35:25 -0000 Mailing-List: contact common-issues-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: common-issues@hadoop.apache.org Delivered-To: mailing list common-issues@hadoop.apache.org Received: (qmail 32858 invoked by uid 99); 31 May 2012 02:35:24 -0000 Received: from issues-vm.apache.org (HELO issues-vm) (140.211.11.160) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 31 May 2012 02:35:24 +0000 Received: from isssues-vm.apache.org (localhost [127.0.0.1]) by issues-vm (Postfix) with ESMTP id 29D05142857 for ; Thu, 31 May 2012 02:35:24 +0000 (UTC) Date: Thu, 31 May 2012 02:35:24 +0000 (UTC) From: "Harsh J (JIRA)" To: common-issues@hadoop.apache.org Message-ID: <1202573300.20036.1338431724173.JavaMail.jiratomcat@issues-vm> In-Reply-To: <1270306805.16403.1338388643187.JavaMail.jiratomcat@issues-vm> Subject: [jira] [Updated] (HADOOP-8449) hadoop fs -text fails with compressed sequence files with the codec file extension MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/HADOOP-8449?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Harsh J updated HADOOP-8449: ---------------------------- Status: Open (was: Patch Available) Thanks ATM. Totally missed that class. I'll improve the Text test in it to catch regressions in future, and provide a new patch. Cancelling current 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: 2.0.0-alpha, 1.0.3 > 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