You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@avro.apache.org by "R. Tyler Ballance (JIRA)" <ji...@apache.org> on 2010/09/10 21:28:35 UTC

[jira] Created: (AVRO-665) Support for redirects in the Python client

Support for redirects in the Python client
------------------------------------------

                 Key: AVRO-665
                 URL: https://issues.apache.org/jira/browse/AVRO-665
             Project: Avro
          Issue Type: Bug
          Components: python
            Reporter: R. Tyler Ballance


It's important in my environment that the Python client properly support HTTP redirects for purposes of load balancing as well as routing RPC requests properly.


Attached is a patch that adds support for redirects by way of a new transceiver class "HTTPRedirectingTransceiver"

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


[jira] Assigned: (AVRO-665) Support for redirects in the Python client

Posted by "Doug Cutting (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/AVRO-665?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Doug Cutting reassigned AVRO-665:
---------------------------------

    Assignee: R. Tyler Croy

This looks reasonable to me.  Would it be possible to add a unit test?

> Support for redirects in the Python client
> ------------------------------------------
>
>                 Key: AVRO-665
>                 URL: https://issues.apache.org/jira/browse/AVRO-665
>             Project: Avro
>          Issue Type: Bug
>          Components: python
>            Reporter: R. Tyler Croy
>            Assignee: R. Tyler Croy
>         Attachments: 0001-Allow-the-defining-of-exceptions-that-will-not-be-br.patch, 0002-Add-a-new-transceiver-class-HTTPRedirectingTransceiv.patch
>
>
> It's important in my environment that the Python client properly support HTTP redirects for purposes of load balancing as well as routing RPC requests properly.
> Attached is a patch that adds support for redirects by way of a new transceiver class "HTTPRedirectingTransceiver"

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


[jira] Updated: (AVRO-665) Support for redirects in the Python client

Posted by "R. Tyler Croy (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/AVRO-665?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

R. Tyler Croy updated AVRO-665:
-------------------------------

    Attachment: 0002-Add-a-new-transceiver-class-HTTPRedirectingTransceiv.patch

> Support for redirects in the Python client
> ------------------------------------------
>
>                 Key: AVRO-665
>                 URL: https://issues.apache.org/jira/browse/AVRO-665
>             Project: Avro
>          Issue Type: Bug
>          Components: python
>            Reporter: R. Tyler Croy
>         Attachments: 0001-Allow-the-defining-of-exceptions-that-will-not-be-br.patch, 0002-Add-a-new-transceiver-class-HTTPRedirectingTransceiv.patch
>
>
> It's important in my environment that the Python client properly support HTTP redirects for purposes of load balancing as well as routing RPC requests properly.
> Attached is a patch that adds support for redirects by way of a new transceiver class "HTTPRedirectingTransceiver"

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


[jira] Commented: (AVRO-665) Support for redirects in the Python client

Posted by "Doug Cutting (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/AVRO-665?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12910388#action_12910388 ] 

Doug Cutting commented on AVRO-665:
-----------------------------------

The interop tests currently exercise HttpTransceiver.  So you could add a second python client and server to the clients and servers list there that pass a parameter to tool.py indicating that this alternate transceiver should be used.  Or we could add python-to-python unit tests for RPC.


> Support for redirects in the Python client
> ------------------------------------------
>
>                 Key: AVRO-665
>                 URL: https://issues.apache.org/jira/browse/AVRO-665
>             Project: Avro
>          Issue Type: Bug
>          Components: python
>            Reporter: R. Tyler Croy
>            Assignee: R. Tyler Croy
>         Attachments: 0001-Allow-the-defining-of-exceptions-that-will-not-be-br.patch, 0002-Add-a-new-transceiver-class-HTTPRedirectingTransceiv.patch
>
>
> It's important in my environment that the Python client properly support HTTP redirects for purposes of load balancing as well as routing RPC requests properly.
> Attached is a patch that adds support for redirects by way of a new transceiver class "HTTPRedirectingTransceiver"

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


[jira] Updated: (AVRO-665) Support for redirects in the Python client

Posted by "R. Tyler Croy (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/AVRO-665?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

R. Tyler Croy updated AVRO-665:
-------------------------------

    Attachment: 0001-Allow-the-defining-of-exceptions-that-will-not-be-br.patch

> Support for redirects in the Python client
> ------------------------------------------
>
>                 Key: AVRO-665
>                 URL: https://issues.apache.org/jira/browse/AVRO-665
>             Project: Avro
>          Issue Type: Bug
>          Components: python
>            Reporter: R. Tyler Croy
>         Attachments: 0001-Allow-the-defining-of-exceptions-that-will-not-be-br.patch, 0002-Add-a-new-transceiver-class-HTTPRedirectingTransceiv.patch
>
>
> It's important in my environment that the Python client properly support HTTP redirects for purposes of load balancing as well as routing RPC requests properly.
> Attached is a patch that adds support for redirects by way of a new transceiver class "HTTPRedirectingTransceiver"

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