avro-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "thh (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (AVRO-862) Responder.respond return nothing when schema.AvroException
Date Thu, 21 Jul 2011 07:27:58 GMT

     [ https://issues.apache.org/jira/browse/AVRO-862?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

thh updated AVRO-862:
---------------------

    Affects Version/s: 1.5.1

> Responder.respond return nothing  when schema.AvroException 
> ------------------------------------------------------------
>
>                 Key: AVRO-862
>                 URL: https://issues.apache.org/jira/browse/AVRO-862
>             Project: Avro
>          Issue Type: Bug
>          Components: python
>    Affects Versions: 1.5.1
>            Reporter: thh
>
> location: *avro\ip.py:339*
> {quote}
>     except schema.AvroException, e:
>       error = AvroRemoteException(str(e))
>       buffer_encoder = io.BinaryEncoder(StringIO())
>       META_WRITER.write(response_metadata, buffer_encoder)
>       buffer_encoder.write_boolean(True)
>       self.write_error(SYSTEM_ERROR_SCHEMA, error, buffer_encoder)
>     return buffer_writer.getvalue()
> {quote}
> if schema.AvroException occur, buffer_encoder recreate with new StringIO, and nothing
return in buffer_writer

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message