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 # dev >> Problem with 1.4.0 RC3 artifacts


Copy link to this message
-
Re: Problem with 1.4.0 RC3 artifacts
This is https://issues.apache.org/jira/browse/AVRO-623.  Basically, the
build system substitutes in a schema from a file for the @...@ string, which
makes it impossible to run that python code from the source directory, which
is poor form for python.  I don't know the best way to approach it: a simple
approach would be to inline the schema and write a test case to check for
equivalence to the repository file.

If you have a chance to produce a patch, I'll be happy to shepherd it
through.

-- Philip

On Wed, Sep 1, 2010 at 10:01 AM, Gary Dusbabek <[EMAIL PROTECTED]> wrote:

> (I posted this earlier before joining the list, thinking it would get
> moderated in.)
>
> I might have found a bug in the artifacts at
> http://people.apache.org/~cutting/avro-1.4.0-rc3/py.
>
> setup install ran cleanly.  Then when I went to run our (cassandra)
> avro tests, I got this error:
> <some snipped>
> File "build/bdist.macosx-10.6-universal/egg/avro/ipc.py", line 35, in
> <module>
>  File "build/bdist.macosx-10.6-universal/egg/avro/schema.py", line
> 702, in parse
>   raise SchemaParseException('Error parsing JSON: %s' % json_string)
> SchemaParseException: Error parsing JSON:
> @HANDSHAKE_REQUEST_SCHEMA@
>
> I was able to work around this (thanks Eric!) by downloading the full
> source, running ant from lang/py, and then run the python installer
> from lang/py/build.  Basically, the artifacts don't include
> lib/simplejson, and it looks like they should.
>
> Gary Dusbabek
>
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