You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@avro.apache.org by "Jeff Hammerbacher (Created) (JIRA)" <ji...@apache.org> on 2011/12/12 13:14:30 UTC

[jira] [Created] (AVRO-975) Support RPC in C#

Support RPC in C#
-----------------

                 Key: AVRO-975
                 URL: https://issues.apache.org/jira/browse/AVRO-975
             Project: Avro
          Issue Type: New Feature
          Components: csharp
            Reporter: Jeff Hammerbacher




--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (AVRO-975) Support RPC in C#

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

Andrew Craft updated AVRO-975:
------------------------------

    Attachment: buildtask.patch
    
> Support RPC in C#
> -----------------
>
>                 Key: AVRO-975
>                 URL: https://issues.apache.org/jira/browse/AVRO-975
>             Project: Avro
>          Issue Type: New Feature
>          Components: csharp
>    Affects Versions: 1.6.1
>            Reporter: Jeff Hammerbacher
>         Attachments: 975.patch, buildtask.patch
>
>


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (AVRO-975) Support RPC in C#

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

Harish Mandala commented on AVRO-975:
-------------------------------------

Thank you for the patch. However, I was not able to compile Avro.ipc in Visual Studio 2010. I get the following error: 
The type or namespace name 'HandshakeResponse' could not be found (are you missing a using directive or an assembly reference?)and a similar error for HandshakeRequest. I could not find the C# definition of this class anywhere. 
Also, I do not understand what is behind the "using org.apache.avro.ipc". It gives me a compile error. Did you compile the java ipc classes into a .dll? 


                
> Support RPC in C#
> -----------------
>
>                 Key: AVRO-975
>                 URL: https://issues.apache.org/jira/browse/AVRO-975
>             Project: Avro
>          Issue Type: New Feature
>          Components: csharp
>    Affects Versions: 1.6.1
>            Reporter: Jeff Hammerbacher
>         Attachments: 975.patch, buildtask.patch
>
>


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (AVRO-975) Support RPC in C#

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

Doug Cutting commented on AVRO-975:
-----------------------------------

Andrew, is this the complete implementation?  If so, can anyone review it?

The patches don't apply cleanly for me on Linux, perhaps due to EOL differences.

Also, it would be great to be able to add this to the tests in share/test/interop/test_rpc_interop.sh.  These use HTTP, though.


                
> Support RPC in C#
> -----------------
>
>                 Key: AVRO-975
>                 URL: https://issues.apache.org/jira/browse/AVRO-975
>             Project: Avro
>          Issue Type: New Feature
>          Components: csharp
>    Affects Versions: 1.6.1
>            Reporter: Jeff Hammerbacher
>         Attachments: 975.patch, buildtask.patch
>
>


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (AVRO-975) Support RPC in C#

Posted by "Andrew Craft (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/AVRO-975?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13205441#comment-13205441 ] 

Andrew Craft commented on AVRO-975:
-----------------------------------

I have tidied it up a bit and will try and build the http client and see if i can get working in the test_rpc_interop.sh and building correctly in mono. Currently was testing with the netty server. Just need to find the time to spend a few hours on it......will try to get another patch in a week.
                
> Support RPC in C#
> -----------------
>
>                 Key: AVRO-975
>                 URL: https://issues.apache.org/jira/browse/AVRO-975
>             Project: Avro
>          Issue Type: New Feature
>          Components: csharp
>    Affects Versions: 1.6.1
>            Reporter: Jeff Hammerbacher
>         Attachments: 975.patch, buildtask.patch
>
>


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (AVRO-975) Support RPC in C#

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

Andrew Craft updated AVRO-975:
------------------------------

    Attachment: 975.patch

main patch 
depends on including castle core in main\lib http://www.castleproject.org/castle/download.html for proxy generation
                
> Support RPC in C#
> -----------------
>
>                 Key: AVRO-975
>                 URL: https://issues.apache.org/jira/browse/AVRO-975
>             Project: Avro
>          Issue Type: New Feature
>          Components: csharp
>    Affects Versions: 1.6.1
>            Reporter: Jeff Hammerbacher
>         Attachments: 975.patch, buildtask.patch
>
>


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (AVRO-975) Support RPC in C#

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

Andrew Craft updated AVRO-975:
------------------------------

    Affects Version/s: 1.6.1
               Status: Patch Available  (was: Open)

Basic working version of ipc transciever, socket version, basic tests work with  a remote server:
TODO:
* create a proper "Stream" wrapper for list of buffers, currently hacked into one array to make work,
* Build on mono (review use of msbuild task), currently use msbuild to create generated dependency for shared schemas
* handle all different schema handshake
* async support

Submitted now in case anyone wants to collaborate, but will continue with complete implementation and resubmit.



                
> Support RPC in C#
> -----------------
>
>                 Key: AVRO-975
>                 URL: https://issues.apache.org/jira/browse/AVRO-975
>             Project: Avro
>          Issue Type: New Feature
>          Components: csharp
>    Affects Versions: 1.6.1
>            Reporter: Jeff Hammerbacher
>


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (AVRO-975) Support RPC in C#

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

David Taylor commented on AVRO-975:
-----------------------------------

Thank you for this patch, I was able to apply it to 1.6.3 with Cygwin without problems.  There are a few issues that I ran into with the patch:
1. The error specification is not handled correctly as it does not include the default "string" schema for unlisted errors.
2. Type.Error is not uniformly supported.
3. Requestor does not resend after a failed handshake.
4. Requestor handshake logic assumes that all transceivers maintain connection state.
5. Generic messages cannot be sent as Requestor uses SpecificWriter for serializing the request.

I was able to patch for items 1-3 with minimal changes.  For items 4 & 5 I was able to patch for my specific use case but would require more work for a general fix.  I can send you my changes if you like. 
                
> Support RPC in C#
> -----------------
>
>                 Key: AVRO-975
>                 URL: https://issues.apache.org/jira/browse/AVRO-975
>             Project: Avro
>          Issue Type: New Feature
>          Components: csharp
>    Affects Versions: 1.6.1
>            Reporter: Jeff Hammerbacher
>         Attachments: 975.patch, buildtask.patch
>
>


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira