You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@avro.apache.org by "thh (JIRA)" <ji...@apache.org> on 2011/07/21 09:25:58 UTC

[jira] [Created] (AVRO-862) Responder.respond return nothing when schema.AvroException

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
            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

        

[jira] [Updated] (AVRO-862) Responder.respond return nothing when schema.AvroException

Posted by "thh (JIRA)" <ji...@apache.org>.
     [ 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