[jira] Commented: (THRIFT-395) Python library + compiler does not support unicode strings

2009-04-03 Thread Eric Anderson (JIRA)
[ https://issues.apache.org/jira/browse/THRIFT-395?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12695263#action_12695263 ] Eric Anderson commented on THRIFT-395: -- Is it worth adding a text and binary types

Re: Using thrift as part of a game network protocol

2009-04-03 Thread Ted Dunning
Could this be made less dependent on the world supply of good-will and optimism? That is, could there actually be a fully operational Thrift transport that moves requests both ways on a single socket? You would give it something that implements the server interface and it would give you back

[jira] Commented: (THRIFT-276) Ruby libraries should have one class per file

2009-04-03 Thread Michael Stockton (JIRA)
[ https://issues.apache.org/jira/browse/THRIFT-276?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12695352#action_12695352 ] Michael Stockton commented on THRIFT-276: - I don't feel strong enough to hold this

[jira] Updated: (THRIFT-276) Ruby libraries should have one class per file

2009-04-03 Thread Michael Stockton (JIRA)
[ https://issues.apache.org/jira/browse/THRIFT-276?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Michael Stockton updated THRIFT-276: Attachment: thrift-276-v5.patch Ruby libraries should have one class per file

[jira] Updated: (THRIFT-421) underscore output file names and require file statements

2009-04-03 Thread Michael Stockton (JIRA)
[ https://issues.apache.org/jira/browse/THRIFT-421?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Michael Stockton updated THRIFT-421: Attachment: thrift-421-v2.patch Updated to match changes coming in THRIFT-276.

Re: Avro, a cross-language serialization framework from Doug Cutting, proposed as Hadoop subproject

2009-04-03 Thread Chad Walters
Are there any strong technical reasons why we couldn¹t fold Avro¹s functionality into Thrift? Back when I was trying to get Thrift into a position to replace Hadoop record IO, we talked about doing much of this. I think the main challenges here are: 1. Runtime parsing of schemas 2. Lack of

compact protocol and python

2009-04-03 Thread Alexander Shigin
Wiki [1] says compact protocol for python was planning for 0.1. But THRIFT-335 [2] doesn't tag as Fix/0.1. Do we still plan to release CompactProtocol for Python in 0.1. Can anybody review the patch? [1] http://wiki.apache.org/thrift/LibraryFeatures [2]

Re: Avro, a cross-language serialization framework from Doug Cutting, proposed as Hadoop subproject

2009-04-03 Thread Bryan Duxbury
I agree with Chad here. We should get in touch with Doug and see why he can't use Thrift. -Bryan On Apr 3, 2009, at 5:47 AM, Chad Walters wrote: Are there any strong technical reasons why we couldn¹t fold Avro¹s functionality into Thrift? Back when I was trying to get Thrift into a

[jira] Created: (THRIFT-425) numeric_limits is declared in limits

2009-04-03 Thread Alexander Shigin (JIRA)
numeric_limits is declared in limits -- Key: THRIFT-425 URL: https://issues.apache.org/jira/browse/THRIFT-425 Project: Thrift Issue Type: Bug Environment: ubuntu 8.10 interpid

[jira] Updated: (THRIFT-425) numeric_limits is declared in limits

2009-04-03 Thread Alexander Shigin (JIRA)
[ https://issues.apache.org/jira/browse/THRIFT-425?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Alexander Shigin updated THRIFT-425: Attachment: thrift-limits.patch numeric_limits is declared in limits

[jira] Updated: (THRIFT-333) Compact Protocol for C++

2009-04-03 Thread JIRA
[ https://issues.apache.org/jira/browse/THRIFT-333?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jérémie BORDIER updated THRIFT-333: --- Attachment: THRIFT-333_include_limits.patch Missing include that breaks compilation on

[jira] Commented: (THRIFT-333) Compact Protocol for C++

2009-04-03 Thread Alexander Shigin (JIRA)
[ https://issues.apache.org/jira/browse/THRIFT-333?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12695414#action_12695414 ] Alexander Shigin commented on THRIFT-333: - Oops, I've just created THRIFT-425.

[jira] Closed: (THRIFT-425) numeric_limits is declared in limits

2009-04-03 Thread Bryan Duxbury (JIRA)
[ https://issues.apache.org/jira/browse/THRIFT-425?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Bryan Duxbury closed THRIFT-425. Resolution: Fixed Assignee: Alexander Shigin Committed. Thanks for the patch!

Re: Avro, a cross-language serialization framework from Doug Cutting, proposed as Hadoop subproject

2009-04-03 Thread Chad Walters
I think I have a pretty good understanding of why he can¹t use Thrift as it stands. His primary use case is the same as Hadoop recordio big files with lots of similar records in them. So he wants to be able to put a data description header and then have a big stream of records that conform to

Re: [PROPOSAL] new subproject: Avro

2009-04-03 Thread Bryan Duxbury
It sounds like what you want is the option avoid pre-generated classes. If that's the only thing you need, it seems like we could bolt that on to Thrift with almost no work. I assume you'd have the schema stored in metadata or file header or something, right? (You wouldn't want to store

Re: Avro, a cross-language serialization framework from Doug Cutting, proposed as Hadoop subproject

2009-04-03 Thread Bryan Duxbury
His primary use case is the same as Hadoop recordio big files with lots of similar records in them. So he wants to be able to put a data description header and then have a big stream of records that conform to that header and which don¹t need type fields interspersed. Don't we call this

[jira] Commented: (THRIFT-323) TJSONProtocol

2009-04-03 Thread Michael Greene (JIRA)
[ https://issues.apache.org/jira/browse/THRIFT-323?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12695489#action_12695489 ] Michael Greene commented on THRIFT-323: --- I would have liked to hear from Fredrik that

Re: Avro, a cross-language serialization framework from Doug Cutting, proposed as Hadoop subproject

2009-04-03 Thread Doug Cutting
David Reiss wrote: For those of you who don't have git, forrest, *and* Java 5 (not 6! 5!) installed, I built the docs and put them online: http://www.projectornation.com/avro-doc/spec.html Thanks! - No code generation. The schema is all in JSON files that are parsed at runtime. For

Re: Avro, a cross-language serialization framework from Doug Cutting, proposed as Hadoop subproject

2009-04-03 Thread Doug Cutting
Kevin Clark wrote: Is this a vote of no confidence on Doug's part? Avro's a stab at a different approach from Thrift. I looked into modifying Thrift to have the features I wanted and it looked like there'd be little shared code. One would need to somehow parse the IDL in each language.

[jira] Commented: (THRIFT-421) underscore output file names and require file statements

2009-04-03 Thread Bryan Duxbury (JIRA)
[ https://issues.apache.org/jira/browse/THRIFT-421?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12695502#action_12695502 ] Bryan Duxbury commented on THRIFT-421: -- I'd say this patch looks good. We need to note

[jira] Commented: (THRIFT-323) TJSONProtocol

2009-04-03 Thread Bryan Duxbury (JIRA)
[ https://issues.apache.org/jira/browse/THRIFT-323?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12695504#action_12695504 ] Bryan Duxbury commented on THRIFT-323: -- If there are no reviews and no users, I'm not

[jira] Closed: (THRIFT-423) -strict should turn omitted field ids into compile error

2009-04-03 Thread Bryan Duxbury (JIRA)
[ https://issues.apache.org/jira/browse/THRIFT-423?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Bryan Duxbury closed THRIFT-423. Resolution: Fixed Fix Version/s: (was: 0.2) 0.1 Assignee:

Re: [PROPOSAL] new subproject: Avro

2009-04-03 Thread Doug Cutting
I have responded to this on general at hadoop.apache.org. Let's not cross-post, but rather keep this discussion on a single list. I think general@ is the best list for this discussion. http://mail-archives.apache.org/mod_mbox/hadoop-general/200904.mbox/browser Thanks, Doug

[jira] Commented: (THRIFT-421) underscore output file names and require file statements

2009-04-03 Thread Kevin Clark (JIRA)
[ https://issues.apache.org/jira/browse/THRIFT-421?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12695514#action_12695514 ] Kevin Clark commented on THRIFT-421: Yup, +1 as well. underscore output file names

[jira] Commented: (THRIFT-276) Ruby libraries should have one class per file

2009-04-03 Thread Michael Stockton (JIRA)
[ https://issues.apache.org/jira/browse/THRIFT-276?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12695529#action_12695529 ] Michael Stockton commented on THRIFT-276: - I was cognizant of the bug you fixed in

[jira] Issue Comment Edited: (THRIFT-335) Compact Protocol for Python

2009-04-03 Thread Alexander Shigin (JIRA)
[ https://issues.apache.org/jira/browse/THRIFT-335?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12695550#action_12695550 ] Alexander Shigin edited comment on THRIFT-335 at 4/3/09 12:53 PM:

[jira] Commented: (THRIFT-335) Compact Protocol for Python

2009-04-03 Thread David Reiss (JIRA)
[ https://issues.apache.org/jira/browse/THRIFT-335?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12695572#action_12695572 ] David Reiss commented on THRIFT-335: I tested the Python shift operator a few days ago,

Re: Using thrift as part of a game network protocol

2009-04-03 Thread Terry Jones
Ted == Ted Dunning ted.dunn...@gmail.com writes: Ted That is, could there actually be a fully operational Thrift transport Ted that moves requests both ways on a single socket? You would give it Ted something that implements the server interface and it would give you Ted back something that

[jira] Updated: (THRIFT-421) underscore output file names and require file statements

2009-04-03 Thread Michael Stockton (JIRA)
[ https://issues.apache.org/jira/browse/THRIFT-421?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Michael Stockton updated THRIFT-421: Attachment: thrift-421-v3.patch underscore output file names and require file statements

[jira] Commented: (THRIFT-276) Ruby libraries should have one class per file

2009-04-03 Thread Bryan Duxbury (JIRA)
[ https://issues.apache.org/jira/browse/THRIFT-276?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12695593#action_12695593 ] Bryan Duxbury commented on THRIFT-276: -- With v6, rake spec returns {code}

[jira] Updated: (THRIFT-276) Ruby libraries should have one class per file

2009-04-03 Thread Michael Stockton (JIRA)
[ https://issues.apache.org/jira/browse/THRIFT-276?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Michael Stockton updated THRIFT-276: Attachment: thrift-276-v7.patch Ruby libraries should have one class per file

[jira] Commented: (THRIFT-276) Ruby libraries should have one class per file

2009-04-03 Thread Kevin Clark (JIRA)
[ https://issues.apache.org/jira/browse/THRIFT-276?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12695624#action_12695624 ] Kevin Clark commented on THRIFT-276: +1. We look like a real ruby library. Yay. Ruby

[jira] Updated: (THRIFT-356) Python tests fail

2009-04-03 Thread David Reiss (JIRA)
[ https://issues.apache.org/jira/browse/THRIFT-356?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] David Reiss updated THRIFT-356: --- Attachment: 0002-THRIFT-356.-Improve-CompactProtocolTestStruct.patch Python tests fail

[jira] Updated: (THRIFT-427) print_const_value is broken in the compiler for Java

2009-04-03 Thread David Reiss (JIRA)
[ https://issues.apache.org/jira/browse/THRIFT-427?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] David Reiss updated THRIFT-427: --- Attachment: 0001-THRIFT-427.-java-Fix-print_const_value.patch print_const_value is broken in the

[jira] Commented: (THRIFT-356) Python tests fail

2009-04-03 Thread David Reiss (JIRA)
[ https://issues.apache.org/jira/browse/THRIFT-356?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12695627#action_12695627 ] David Reiss commented on THRIFT-356: This short-term fix (which only depends on the fix

[jira] Commented: (THRIFT-427) print_const_value is broken in the compiler for Java

2009-04-03 Thread David Reiss (JIRA)
[ https://issues.apache.org/jira/browse/THRIFT-427?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12695629#action_12695629 ] David Reiss commented on THRIFT-427: System.out.println removed locally.

Re: Avro, a cross-language serialization framework from Doug Cutting, proposed as Hadoop subproject

2009-04-03 Thread Nicolas Trangez
On 03 Apr 2009, at 17:21, Chad Walters wrote: In addition, he wants to have it all to work dynamically so, for example, a Python script used in Hadoop Streaming can read the header and pull fields out of records in the stream without needing to have the generated bindings. FWIW, in OSIS

[jira] Commented: (THRIFT-427) print_const_value is broken in the compiler for Java

2009-04-03 Thread Bryan Duxbury (JIRA)
[ https://issues.apache.org/jira/browse/THRIFT-427?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12695648#action_12695648 ] Bryan Duxbury commented on THRIFT-427: -- The patch looks good, and everything compiles

[jira] Updated: (THRIFT-276) Ruby libraries should have one class per file

2009-04-03 Thread Michael Stockton (JIRA)
[ https://issues.apache.org/jira/browse/THRIFT-276?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Michael Stockton updated THRIFT-276: Attachment: thrift-276-v8.patch Removed references to require 'thrift/protocol' from the

[jira] Updated: (THRIFT-421) underscore output file names and require file statements

2009-04-03 Thread Michael Stockton (JIRA)
[ https://issues.apache.org/jira/browse/THRIFT-421?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Michael Stockton updated THRIFT-421: Attachment: thrift-421-v4.patch Updated to handle compiler changes made in

[jira] Commented: (THRIFT-427) print_const_value is broken in the compiler for Java

2009-04-03 Thread David Reiss (JIRA)
[ https://issues.apache.org/jira/browse/THRIFT-427?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12695656#action_12695656 ] David Reiss commented on THRIFT-427: See THRIFT-356. print_const_value is broken in

[jira] Closed: (THRIFT-276) Ruby libraries should have one class per file

2009-04-03 Thread Bryan Duxbury (JIRA)
[ https://issues.apache.org/jira/browse/THRIFT-276?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Bryan Duxbury closed THRIFT-276. Resolution: Fixed Man, what a patch. Committed. Thanks for all your hard work through many

[jira] Closed: (THRIFT-419) Comments in Ruby library still reference T* classes (TMemoryBuffer, etc)

2009-04-03 Thread Kevin Clark (JIRA)
[ https://issues.apache.org/jira/browse/THRIFT-419?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Kevin Clark closed THRIFT-419. -- Resolution: Fixed Fixed in THRIFT-276 Comments in Ruby library still reference T* classes

Re: Using thrift as part of a game network protocol

2009-04-03 Thread Doug Daniels
The bi-directional single socket RPC is exactly what I'm looking for! The idea of using async messages is probably the most efficient way to just deliver a message, and then wait on the client's RPC TProcessor receive side for messages from the server. I also think it'd be beneficial to support