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 Plain View
Avro >> mail # dev >> Avro-C: namespace lookup and inherited namespaces


+
Ben Walsh 2013-05-07, 10:17
Copy link to this message
-
Re: Avro-C: namespace lookup and inherited namespaces
On May 7, 2013, at 5:17 PM, Ben Walsh <[EMAIL PROTECTED]> wrote:

>
> Hi
>
> It seems that the C version of Avro doesn't resolve fully-qualified type names, and it doesn't understand inherited namespaces.
>
> For example this doesn't work:
>
> {"type": "record", "namespace": "x", "name": "Y", "fields": [
>  {"name": "e", "type": {"type": "record", "name": "Z", "fields": [
>    {"name": "f", "type": "x.Z"}
>  ]}}
> ]}
>
> It can't find the type "x.Z".
>
> (this is similar to a Ruby problem https://issues.apache.org/jira/browse/AVRO-635).
>
> I have a patch to make this work. Should I submit a JIRA or is this issue already fixed/not a problem?

Sounds like a patch in JIRA would be ideal.

 - Bruce
+
Martin Kleppmann 2013-05-07, 14:03
+
Ben Walsh 2013-05-07, 15:00
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