Home | About | Sematext search-lucene.com search-hadoop.com
 Search Hadoop and all its subprojects:

Switch to Threaded View
Avro, mail # user - Schema File


Copy link to this message
-
Re: Schema File
Miki Tebeka 2012-11-17, 15:36
You can use the "avro" utility that comes when you install the Python
package (or fastavro if you need 3.X support). Then run "avro cat
--print-schema /path/to/avro/file".
On Sat, Nov 17, 2012 at 5:41 AM, ranjith raghunath <
[EMAIL PROTECTED]> wrote:

> I could really use some advice on this topic.
>
> I am pulling files in avro format from an external source (outside of the
> cluster). How can I generate the avro schema file? The end goal is to have
> it exposed in Hive.
>
> Thanks,
> Ranjith
>