Return-Path: X-Original-To: apmail-hadoop-user-archive@minotaur.apache.org Delivered-To: apmail-hadoop-user-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id CDC4390AF for ; Mon, 3 Sep 2012 11:27:51 +0000 (UTC) Received: (qmail 32366 invoked by uid 500); 3 Sep 2012 11:27:47 -0000 Delivered-To: apmail-hadoop-user-archive@hadoop.apache.org Received: (qmail 31862 invoked by uid 500); 3 Sep 2012 11:27:41 -0000 Mailing-List: contact user-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@hadoop.apache.org Delivered-To: mailing list user@hadoop.apache.org Received: (qmail 31836 invoked by uid 99); 3 Sep 2012 11:27:40 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 03 Sep 2012 11:27:40 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=FSL_RCVD_USER,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of yhemanth@gmail.com designates 74.125.82.48 as permitted sender) Received: from [74.125.82.48] (HELO mail-wg0-f48.google.com) (74.125.82.48) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 03 Sep 2012 11:27:34 +0000 Received: by wgbdq11 with SMTP id dq11so3714622wgb.29 for ; Mon, 03 Sep 2012 04:27:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=X6h7CZbZXPHE1VOYWWCCGTwg1gOvfnJvB+VLjzOZEEM=; b=X3XmPXmwM9jp3IbpTtnlq/5sv73dZqwzxe2AEtqIuLeAAze+w1mmaU7eFwywc9c5SW LenTg8Aob3yTr8chLD/N5+ADBhqDpPi7RmUdQjYton0QImVow1AnqT1RNS1oHyhx7NHP beyQLCtMjzMoPGeCRBw6hynw5h9gMueecIIjSxZT8gOc/tFspOgyoo/zhmMJs8yXg4xP stooKKTUl8GVXXXlCfhCiuePkYr/wt95jNf1tt1PItipE2HG5BluX7GZEZWhn5Uh+8uL y/GJo28AotTOgDMD71vMax6yO6AlOmmFRyVHZBnSX2ARoNAolxxwMpji8XV6pqJUbfi+ mlFw== MIME-Version: 1.0 Received: by 10.180.75.209 with SMTP id e17mr22854447wiw.0.1346671633263; Mon, 03 Sep 2012 04:27:13 -0700 (PDT) Received: by 10.223.76.20 with HTTP; Mon, 3 Sep 2012 04:27:13 -0700 (PDT) In-Reply-To: References: Date: Mon, 3 Sep 2012 16:57:13 +0530 Message-ID: Subject: Re: custom format From: Hemanth Yamijala To: user@hadoop.apache.org Content-Type: text/plain; charset=ISO-8859-1 X-Virus-Checked: Checked by ClamAV on apache.org Hi, I found this while trying to see if such a FileFormat or Split already exists: http://bitsofinfo.wordpress.com/2009/11/01/reading-fixed-length-width-input-record-reader-with-hadoop-mapreduce/ I have certainly not tried it myself, hence can't say if it is current, etc. But maybe it'll help you in some way. Thanks Hemanth On Mon, Sep 3, 2012 at 4:30 PM, Anit Alexander wrote: > hello user, > > I am trying to create a map reduce program which will have splits > based on a specific length. The content has to be extracted in a way > such that the newline(\n) or tab(\t) etc characters will be considered > as a byte and not as a mapper instance. is this possible through > custom input? if yes, how will i create a custom file split based on a > specific length value. Any suggestions? > > Regards, > Anit