You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@thrift.apache.org by "Dan Cromer (JIRA)" <ji...@apache.org> on 2012/07/09 20:45:35 UTC

[jira] [Created] (THRIFT-1647) NodeJS FramedTransport does not work beyond the hello-world example

Dan Cromer created THRIFT-1647:
----------------------------------

             Summary: NodeJS FramedTransport does not work beyond the hello-world example
                 Key: THRIFT-1647
                 URL: https://issues.apache.org/jira/browse/THRIFT-1647
             Project: Thrift
          Issue Type: Bug
          Components: Node.js - Library
    Affects Versions: 0.8
         Environment: Ubuntu 12.04, NodeJS v0.6;v0.8.0
            Reporter: Dan Cromer
            Priority: Minor


During the setup of NodeJS <-> Apache Thrift integration, we found that the use of BufferedTransport did not work beyond the HelloWorld example.  While NodeJS clients were able to connect, no service invocations actually registered with the server (Java, Thrift 0.8.0)

Switching to the use of a BufferedTransport immediately fixed the issue.  I was unable to debug the issue, but wanted to file an issue so that others were aware.

--
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] (THRIFT-1647) NodeJS FramedTransport does not work beyond the hello-world example

Posted by "Henrique Mendonca (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/THRIFT-1647?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13426865#comment-13426865 ] 

Henrique Mendonca commented on THRIFT-1647:
-------------------------------------------

Sorry, but do you mean BufferedTransport doesn't work and FramedTransport does?
Could you please fix the title and description?
Cheers

I'm not very familiar with the transport implementation, tough


                
> NodeJS FramedTransport does not work beyond the hello-world example
> -------------------------------------------------------------------
>
>                 Key: THRIFT-1647
>                 URL: https://issues.apache.org/jira/browse/THRIFT-1647
>             Project: Thrift
>          Issue Type: Bug
>          Components: Node.js - Library
>    Affects Versions: 0.8
>         Environment: Ubuntu 12.04, NodeJS v0.6;v0.8.0
>            Reporter: Dan Cromer
>            Priority: Minor
>
> During the setup of NodeJS <-> Apache Thrift integration, we found that the use of BufferedTransport did not work beyond the HelloWorld example.  While NodeJS clients were able to connect, no service invocations actually registered with the server (Java, Thrift 0.8.0)
> Switching to the use of a BufferedTransport immediately fixed the issue.  I was unable to debug the issue, but wanted to file an issue so that others were aware.

--
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] (THRIFT-1647) NodeJS FramedTransport does not work beyond the hello-world example

Posted by "Dan Cromer (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/THRIFT-1647?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13426936#comment-13426936 ] 

Dan Cromer commented on THRIFT-1647:
------------------------------------

I cannot think of a way to make the title more clear.  If you use the FramedTransport for the hello-world example, it works.  However, if you try to use the FramedTransport for any, more realistic, service, it fails.

This is not a /duplicate/ of THRIFT-1659--I do not know why it is marked as such.  1659 states that the default transport should be the BufferedTransport instead of the FramedTransport.  This issue states that the FramedTransport does not work in most cases.
                
> NodeJS FramedTransport does not work beyond the hello-world example
> -------------------------------------------------------------------
>
>                 Key: THRIFT-1647
>                 URL: https://issues.apache.org/jira/browse/THRIFT-1647
>             Project: Thrift
>          Issue Type: Bug
>          Components: Node.js - Library
>    Affects Versions: 0.8
>         Environment: Ubuntu 12.04, NodeJS v0.6;v0.8.0
>            Reporter: Dan Cromer
>            Priority: Minor
>
> During the setup of NodeJS <-> Apache Thrift integration, we found that the use of BufferedTransport did not work beyond the HelloWorld example.  While NodeJS clients were able to connect, no service invocations actually registered with the server (Java, Thrift 0.8.0)
> Switching to the use of a BufferedTransport immediately fixed the issue.  I was unable to debug the issue, but wanted to file an issue so that others were aware.

--
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] (THRIFT-1647) NodeJS FramedTransport does not work beyond the hello-world example

Posted by "Eldon Stegall (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/THRIFT-1647?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13428148#comment-13428148 ] 

Eldon Stegall commented on THRIFT-1647:
---------------------------------------

Dan Cromer: I have removed the link between the issues, I linked them because on initial reading is sounded very similar to my own problem (nodejs -> java server, no service invocations register). I agree with Wade, can you please attach perhaps just the simplest possible thrift file and code that fails for you? Thanks!
                
> NodeJS FramedTransport does not work beyond the hello-world example
> -------------------------------------------------------------------
>
>                 Key: THRIFT-1647
>                 URL: https://issues.apache.org/jira/browse/THRIFT-1647
>             Project: Thrift
>          Issue Type: Bug
>          Components: Node.js - Library
>    Affects Versions: 0.8
>         Environment: Ubuntu 12.04, NodeJS v0.6;v0.8.0
>            Reporter: Dan Cromer
>            Priority: Minor
>
> During the setup of NodeJS <-> Apache Thrift integration, we found that the use of BufferedTransport did not work beyond the HelloWorld example.  While NodeJS clients were able to connect, no service invocations actually registered with the server (Java, Thrift 0.8.0)
> Switching to the use of a BufferedTransport immediately fixed the issue.  I was unable to debug the issue, but wanted to file an issue so that others were aware.

--
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] (THRIFT-1647) NodeJS FramedTransport does not work beyond the hello-world example

Posted by "Wade Simmons (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/THRIFT-1647?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13426982#comment-13426982 ] 

Wade Simmons commented on THRIFT-1647:
--------------------------------------

Dan Cromer: Can you post an example server/client that fails? Just saying it fails for "anything more complicated than hello-world" is untrue as people are using Node.js FramedTransport in production. (look at the various Node.js Cassandra clients).
                
> NodeJS FramedTransport does not work beyond the hello-world example
> -------------------------------------------------------------------
>
>                 Key: THRIFT-1647
>                 URL: https://issues.apache.org/jira/browse/THRIFT-1647
>             Project: Thrift
>          Issue Type: Bug
>          Components: Node.js - Library
>    Affects Versions: 0.8
>         Environment: Ubuntu 12.04, NodeJS v0.6;v0.8.0
>            Reporter: Dan Cromer
>            Priority: Minor
>
> During the setup of NodeJS <-> Apache Thrift integration, we found that the use of BufferedTransport did not work beyond the HelloWorld example.  While NodeJS clients were able to connect, no service invocations actually registered with the server (Java, Thrift 0.8.0)
> Switching to the use of a BufferedTransport immediately fixed the issue.  I was unable to debug the issue, but wanted to file an issue so that others were aware.

--
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] (THRIFT-1647) NodeJS FramedTransport does not work beyond the hello-world example

Posted by "Dan Cromer (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/THRIFT-1647?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13428213#comment-13428213 ] 

Dan Cromer commented on THRIFT-1647:
------------------------------------

Sure, I can do that.  The issue requires a running client and service to reproduce, so that might take a day or two for me to get to.
                
> NodeJS FramedTransport does not work beyond the hello-world example
> -------------------------------------------------------------------
>
>                 Key: THRIFT-1647
>                 URL: https://issues.apache.org/jira/browse/THRIFT-1647
>             Project: Thrift
>          Issue Type: Bug
>          Components: Node.js - Library
>    Affects Versions: 0.8
>         Environment: Ubuntu 12.04, NodeJS v0.6;v0.8.0
>            Reporter: Dan Cromer
>            Priority: Minor
>
> During the setup of NodeJS <-> Apache Thrift integration, we found that the use of BufferedTransport did not work beyond the HelloWorld example.  While NodeJS clients were able to connect, no service invocations actually registered with the server (Java, Thrift 0.8.0)
> Switching to the use of a BufferedTransport immediately fixed the issue.  I was unable to debug the issue, but wanted to file an issue so that others were aware.

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