Return-Path: X-Original-To: apmail-avro-user-archive@www.apache.org Delivered-To: apmail-avro-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id D072DDB5D for ; Wed, 31 Oct 2012 16:04:58 +0000 (UTC) Received: (qmail 6913 invoked by uid 500); 31 Oct 2012 16:04:58 -0000 Delivered-To: apmail-avro-user-archive@avro.apache.org Received: (qmail 6698 invoked by uid 500); 31 Oct 2012 16:04:58 -0000 Mailing-List: contact user-help@avro.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@avro.apache.org Delivered-To: mailing list user@avro.apache.org Received: (qmail 6682 invoked by uid 99); 31 Oct 2012 16:04:57 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 31 Oct 2012 16:04:57 +0000 X-ASF-Spam-Status: No, hits=1.7 required=5.0 tests=FREEMAIL_ENVFROM_END_DIGIT,HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of ranjith.raghunath1@gmail.com designates 209.85.210.171 as permitted sender) Received: from [209.85.210.171] (HELO mail-ia0-f171.google.com) (209.85.210.171) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 31 Oct 2012 16:04:50 +0000 Received: by mail-ia0-f171.google.com with SMTP id u21so1490772ial.30 for ; Wed, 31 Oct 2012 09:04:29 -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=ZxAJydWU/NqHwQksSjEyrkMuYxwjRIkHzQJ4mhG6i9Y=; b=bA7wbc6197Fe4sLxGCe/zOgzgc0CZ5zclxul4ebnRt+EYpnykOHJKaVX/nBPJfN3L4 e4MsV9hgye0pCSKjcHUPkGIrwy2mCHpXwplsk5DT9vQMRnt0PiFhaMGZtmKsq3qWO2N3 nQqeYF8UZAs178ogO5LYdqvTGFD6Hsv9AEt4HmEYLrt2D89eidZG2zklcqFyfqxTd/hx gjJUIpgA6RPfX2GYwjyJlDASwlQ9t3hJ6+lWIQe04vYfvCD7iSdUUdsjdQ5FD1OtY9Jh Phf0hYIoC5umJ/HB8jumphSReg7Wbh6VaqqnO3Xh8cd/cfUXLvJbjcttAqa0tYFd085x ByzQ== MIME-Version: 1.0 Received: by 10.50.0.241 with SMTP id 17mr2069846igh.40.1351699468958; Wed, 31 Oct 2012 09:04:28 -0700 (PDT) Received: by 10.50.25.138 with HTTP; Wed, 31 Oct 2012 09:04:28 -0700 (PDT) Received: by 10.50.25.138 with HTTP; Wed, 31 Oct 2012 09:04:28 -0700 (PDT) In-Reply-To: References: <60D79458-2354-425A-98CB-0DD4FA5197B3@gmail.com> Date: Wed, 31 Oct 2012 11:04:28 -0500 Message-ID: Subject: Re: text files to avro From: ranjith raghunath To: user@avro.apache.org Content-Type: multipart/alternative; boundary=e89a8f503458b0bab504cd5d0efa X-Virus-Checked: Checked by ClamAV on apache.org --e89a8f503458b0bab504cd5d0efa Content-Type: text/plain; charset=ISO-8859-1 Thanks going to give that a shot. On Oct 31, 2012 7:29 AM, "Miki Tebeka" wrote: > You can use the "avro" tool that comes with the Python package > (easy_install avro). > It can convert both JSON (one per line) or CSV files to avro. > > > On Tue, Oct 30, 2012 at 9:52 PM, Ranjith wrote: > >> what is the best way to convert a text file into avro format? does the >> file need to contain a header? sorry if this is a basic question and has >> been answered several times. >> >> Thanks, >> Ranjith > > > --e89a8f503458b0bab504cd5d0efa Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable

Thanks going to give that a shot.

On Oct 31, 2012 7:29 AM, "Miki Tebeka"= <miki.tebeka@gmail.com>= wrote:
You can use the "avro" tool that comes with the Python package (e= asy_install avro).
It can convert both JSON (one per line) or CSV files= to avro.


On Tue, Oct 30, 2012 at 9:52 PM, Ranjith <ranjith.raghunath1@gm= ail.com> wrote:
what is the best way to convert a text file into avro format? does the file= need to contain a header? sorry if this is a basic question and has been a= nswered several times.

Thanks,
Ranjith

--e89a8f503458b0bab504cd5d0efa--