avro-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Harsh J <ha...@cloudera.com>
Subject Re: avro-compiler java project does not pass unit test
Date Wed, 07 Dec 2011 04:57:21 GMT
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:victor@x.com] 
> Sent: Tuesday, December 06, 2011 12:44 PM
> To: user@avro.apache.org
> 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"
>     },


Mime
View raw message