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 >> avro and hadoop: what is the role of the schema name?


Copy link to this message
-
avro and hadoop: what is the role of the schema name?
i am a little confused about the roles of record schema names when using
avro in hadoop.

when i read from avro files in hadoop with a reader schema that has a
different name but otherwise is a sound projection, then everything seems
to work fine. however if the writer and reader schema names have different
names, then field aliases don't seem to work anymore. is this what should
be expected? and what is the rationale for this behavior? at one point the
schema name seems to be ignored (how else can i read using a schema with a
different name), but at another point it seems to matter (for field
aliases). according to the avro spec the record schemas do not match...
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