You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@avro.apache.org by "kafka0102 (Created) (JIRA)" <ji...@apache.org> on 2012/01/10 09:36:38 UTC
[jira] [Created] (AVRO-990) ruby impl failed when the
local_protocol not same with remote_protocol
ruby impl failed when the local_protocol not same with remote_protocol
----------------------------------------------------------------------
Key: AVRO-990
URL: https://issues.apache.org/jira/browse/AVRO-990
Project: Avro
Issue Type: Bug
Components: ruby
Affects Versions: 1.6.1
Reporter: kafka0102
Fix For: 1.6.2
For Requestor class,when local_protocol is not same with remote_protocol,Requestor makes REMOTE_HASHES[transport.remote_name] has value, and skips " self.remote_protocol = local_protocol" in the write_handshake_request method, making the next new Requestor object's @remote_protocol always nil.
--
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-990) ruby impl failed when the
local_protocol not same with remote_protocol
Posted by "Doug Cutting (Commented) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/AVRO-990?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13191622#comment-13191622 ]
Doug Cutting commented on AVRO-990:
-----------------------------------
Can someone familiar with Ruby please review this? Thanks!
> ruby impl failed when the local_protocol not same with remote_protocol
> ----------------------------------------------------------------------
>
> Key: AVRO-990
> URL: https://issues.apache.org/jira/browse/AVRO-990
> Project: Avro
> Issue Type: Bug
> Components: ruby
> Affects Versions: 1.6.1
> Reporter: kafka0102
> Fix For: 1.6.2
>
> Attachments: ipc.patch
>
> Original Estimate: 24h
> Remaining Estimate: 24h
>
> For Requestor class,when local_protocol is not same with remote_protocol,Requestor makes REMOTE_HASHES[transport.remote_name] has value, and skips " self.remote_protocol = local_protocol" in the write_handshake_request method, making the next new Requestor object's @remote_protocol always nil.
--
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-990) ruby impl failed when the
local_protocol not same with remote_protocol
Posted by "kafka0102 (Updated) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/AVRO-990?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
kafka0102 updated AVRO-990:
---------------------------
Attachment: ipc.patch
I got the possible patch.
> ruby impl failed when the local_protocol not same with remote_protocol
> ----------------------------------------------------------------------
>
> Key: AVRO-990
> URL: https://issues.apache.org/jira/browse/AVRO-990
> Project: Avro
> Issue Type: Bug
> Components: ruby
> Affects Versions: 1.6.1
> Reporter: kafka0102
> Fix For: 1.6.2
>
> Attachments: ipc.patch
>
> Original Estimate: 24h
> Remaining Estimate: 24h
>
> For Requestor class,when local_protocol is not same with remote_protocol,Requestor makes REMOTE_HASHES[transport.remote_name] has value, and skips " self.remote_protocol = local_protocol" in the write_handshake_request method, making the next new Requestor object's @remote_protocol always nil.
--
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-990) ruby impl failed when the
local_protocol not same with remote_protocol
Posted by "kafka0102 (Commented) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/AVRO-990?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13183149#comment-13183149 ]
kafka0102 commented on AVRO-990:
--------------------------------
for the impl,the golbal varible REMOTE_PROTOCOLS is never be used.It's weird...
> ruby impl failed when the local_protocol not same with remote_protocol
> ----------------------------------------------------------------------
>
> Key: AVRO-990
> URL: https://issues.apache.org/jira/browse/AVRO-990
> Project: Avro
> Issue Type: Bug
> Components: ruby
> Affects Versions: 1.6.1
> Reporter: kafka0102
> Fix For: 1.6.2
>
> Attachments: ipc.patch
>
> Original Estimate: 24h
> Remaining Estimate: 24h
>
> For Requestor class,when local_protocol is not same with remote_protocol,Requestor makes REMOTE_HASHES[transport.remote_name] has value, and skips " self.remote_protocol = local_protocol" in the write_handshake_request method, making the next new Requestor object's @remote_protocol always nil.
--
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-990) ruby impl failed when the
local_protocol not same with remote_protocol
Posted by "Doug Cutting (Updated) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/AVRO-990?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Doug Cutting updated AVRO-990:
------------------------------
Fix Version/s: (was: 1.6.2)
1.7.0
> ruby impl failed when the local_protocol not same with remote_protocol
> ----------------------------------------------------------------------
>
> Key: AVRO-990
> URL: https://issues.apache.org/jira/browse/AVRO-990
> Project: Avro
> Issue Type: Bug
> Components: ruby
> Affects Versions: 1.6.1
> Reporter: kafka0102
> Fix For: 1.7.0
>
> Attachments: ipc.patch
>
> Original Estimate: 24h
> Remaining Estimate: 24h
>
> For Requestor class,when local_protocol is not same with remote_protocol,Requestor makes REMOTE_HASHES[transport.remote_name] has value, and skips " self.remote_protocol = local_protocol" in the write_handshake_request method, making the next new Requestor object's @remote_protocol always nil.
--
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-990) ruby impl failed when the
local_protocol not same with remote_protocol
Posted by "kafka0102 (Updated) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/AVRO-990?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
kafka0102 updated AVRO-990:
---------------------------
Attachment: (was: ipc.patch)
> ruby impl failed when the local_protocol not same with remote_protocol
> ----------------------------------------------------------------------
>
> Key: AVRO-990
> URL: https://issues.apache.org/jira/browse/AVRO-990
> Project: Avro
> Issue Type: Bug
> Components: ruby
> Affects Versions: 1.6.1
> Reporter: kafka0102
> Fix For: 1.6.2
>
> Original Estimate: 24h
> Remaining Estimate: 24h
>
> For Requestor class,when local_protocol is not same with remote_protocol,Requestor makes REMOTE_HASHES[transport.remote_name] has value, and skips " self.remote_protocol = local_protocol" in the write_handshake_request method, making the next new Requestor object's @remote_protocol always nil.
--
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-990) ruby impl failed when the
local_protocol not same with remote_protocol
Posted by "kafka0102 (Updated) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/AVRO-990?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
kafka0102 updated AVRO-990:
---------------------------
Attachment: ipc.patch
> ruby impl failed when the local_protocol not same with remote_protocol
> ----------------------------------------------------------------------
>
> Key: AVRO-990
> URL: https://issues.apache.org/jira/browse/AVRO-990
> Project: Avro
> Issue Type: Bug
> Components: ruby
> Affects Versions: 1.6.1
> Reporter: kafka0102
> Fix For: 1.6.2
>
> Attachments: ipc.patch
>
> Original Estimate: 24h
> Remaining Estimate: 24h
>
> For Requestor class,when local_protocol is not same with remote_protocol,Requestor makes REMOTE_HASHES[transport.remote_name] has value, and skips " self.remote_protocol = local_protocol" in the write_handshake_request method, making the next new Requestor object's @remote_protocol always nil.
--
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-990) ruby impl failed when the
local_protocol not same with remote_protocol
Posted by "Doug Cutting (Commented) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/AVRO-990?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13204914#comment-13204914 ]
Doug Cutting commented on AVRO-990:
-----------------------------------
It would also be good to have a test case included in the patch, if possible.
> ruby impl failed when the local_protocol not same with remote_protocol
> ----------------------------------------------------------------------
>
> Key: AVRO-990
> URL: https://issues.apache.org/jira/browse/AVRO-990
> Project: Avro
> Issue Type: Bug
> Components: ruby
> Affects Versions: 1.6.1
> Reporter: kafka0102
> Fix For: 1.7.0
>
> Attachments: ipc.patch
>
> Original Estimate: 24h
> Remaining Estimate: 24h
>
> For Requestor class,when local_protocol is not same with remote_protocol,Requestor makes REMOTE_HASHES[transport.remote_name] has value, and skips " self.remote_protocol = local_protocol" in the write_handshake_request method, making the next new Requestor object's @remote_protocol always nil.
--
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