[ 
https://issues.apache.org/jira/browse/AVRO-668?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12910246#action_12910246
 ] 

Doug Cutting commented on AVRO-668:
-----------------------------------

> I can't run all java tests from ant on trunk.

That's a problem.  Do you have a '127.0.0.1 localhost' line in /etc/hosts?  How 
about a '0.0.0.0 localhost' line?  I have both, but don't know if either are 
required.

> I think providing both writeString(Utf8) and writeString(CharSequence) at the 
> Encoder level would be useful. However thats an API change that would have to 
> wait until 1.5.

Why?  I'm don't see how adding that method with a default implementation would 
be an incompatible change.


> Java: Streamline writing of Strings for Encoders and GenericDatumWriter
> -----------------------------------------------------------------------
>
>                 Key: AVRO-668
>                 URL: https://issues.apache.org/jira/browse/AVRO-668
>             Project: Avro
>          Issue Type: Improvement
>            Reporter: Scott Carey
>            Assignee: Scott Carey
>             Fix For: 1.4.1
>
>         Attachments: AVRO-668.patch
>
>
> We can streamline writing of strings to minimize object creation during 
> writes.
> We can avoid converting a String into Utf8 for Json output, and for Binary 
> output we can avoid a Utf8 (but still create a byte[]).

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to