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

Switch to Threaded View
Avro, mail # user - avro-compiler java project does not pass unit test


Copy link to this message
-
Re: avro-compiler java project does not pass unit test
Harsh J 2011-12-07, 04:57
Victor,

Good day, take a look at http://xkcd.com/979/ :)

On 07-Dec-2011, at 2:25 AM, Chau, Victor wrote:

> Whoops, sorry, please ignore this.  Turns out I have a local modification that is causing this failure.
>  
> From: Chau, Victor [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, December 06, 2011 12:44 PM
> To: [EMAIL PROTECTED]
> Subject: avro-compiler java project does not pass unit test
>  
> Hi,
>  
> Is it a known issue that this project fails to pass its unit test?  It looks like the output test files needs to be updated.  The error all seems to be related to the “doc” tag.  The generated output is missing “doc” for protocol and it has it placed in different location in various other places.  Here’s a sample:
>  
> Test generated from simple.avdl:
>   "messages" : {
>     "hello" : {
>       "request" : [ {
>         "name" : "greeting",
>         "type" : "string",
>         "doc" : "method 'hello' takes @parameter 'greeting'"
>       } ],
>       "response" : "string"
>     },
>  
> In simple.avpr:
>  
>   "messages" : {
>     "hello" : {
>       "doc" : "method 'hello' takes @parameter 'greeting'",
>       "request" : [ {
>         "name" : "greeting",
>         "type" : "string"
>       } ],
>       "response" : "string"
>     },