Return-Path: Delivered-To: apmail-hadoop-core-dev-archive@www.apache.org Received: (qmail 69493 invoked from network); 3 Sep 2008 22:56:36 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 3 Sep 2008 22:56:36 -0000 Received: (qmail 34367 invoked by uid 500); 3 Sep 2008 22:56:33 -0000 Delivered-To: apmail-hadoop-core-dev-archive@hadoop.apache.org Received: (qmail 34340 invoked by uid 500); 3 Sep 2008 22:56:33 -0000 Mailing-List: contact core-dev-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: core-dev@hadoop.apache.org Delivered-To: mailing list core-dev@hadoop.apache.org Received: (qmail 34323 invoked by uid 99); 3 Sep 2008 22:56:33 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 03 Sep 2008 15:56:32 -0700 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 03 Sep 2008 22:55:43 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 49FB5234C1C8 for ; Wed, 3 Sep 2008 15:55:44 -0700 (PDT) Message-ID: <165315971.1220482544298.JavaMail.jira@brutus> Date: Wed, 3 Sep 2008 15:55:44 -0700 (PDT) From: "Joydeep Sen Sarma (JIRA)" To: core-dev@hadoop.apache.org Subject: [jira] Created: (HADOOP-4065) support for reading binary data from flat files MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org support for reading binary data from flat files ----------------------------------------------- Key: HADOOP-4065 URL: https://issues.apache.org/jira/browse/HADOOP-4065 Project: Hadoop Core Issue Type: Bug Components: mapred Reporter: Joydeep Sen Sarma like textinputformat - looking for a concrete implementation to read binary records from a flat file (that may be compressed). it's assumed that hadoop can't split such a file. so the inputformat can set splittable to false. tricky aspects are: - how to know what class the file contains (has to be in a configuration somewhere). - how to determine EOF (would be nice if hadoop can determine EOF and not have the deserializer throw an exception (which is hard to distinguish from a exception due to corruptions?)). this is easy for non-compressed streams - for compressed streams - DecompressorStream has a useful looking getAvailable() call - except the class is marked package private. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.