Home | About | Sematext search-lucene.com search-hadoop.com
NEW: Monitor These Apps!
elasticsearch, apache solr, apache hbase, hadoop, redis, casssandra, amazon cloudwatch, mysql, memcached, apache kafka, apache zookeeper, apache storm, ubuntu, centOS, red hat, debian, puppet labs, java, senseiDB
 Search Hadoop and all its subprojects:

Switch to Threaded View
Avro >> mail # user >> COnverting CSV files to avro and back to text


Copy link to this message
-
Re: COnverting CSV files to avro and back to text
You need to adapt this Tool for your own requirements.

You can possibly use the SchemaBuilder[0] to build a schema @Runtime which
you would then pass to DataFileWriter.write(schema, outStream). Thats how I
would try it over then refine it for your use case. Any others ideas?

[0]
http://avro.apache.org/docs/current/api/java/index.html?org/apache/avro/SchemaBuilder.html

On Tue, Jul 8, 2014 at 5:10 PM, Bhuvana Bellala <
[EMAIL PROTECTED]> wrote:
*Lewis*

  
NEW: Monitor These Apps!
elasticsearch, apache solr, apache hbase, hadoop, redis, casssandra, amazon cloudwatch, mysql, memcached, apache kafka, apache zookeeper, apache storm, ubuntu, centOS, red hat, debian, puppet labs, java, senseiDB