thrift

Bundling jars when submitting map/reduce jobs via Pig?

I'm trying to combine Hadoop, Pig and Cassandra to be able to work on data stored in Cassandra by means of simple Pig queries. Problem is I can't get Pig to create Map/Reduce jobs that actually work with the CassandraStorage. What I did is I copied the storage-conf.xml file from one of my cluster machines on top of the one in contrib/pi...

TNonblockingServer, TThreadedServer and TThreadPoolServer, which one fits best for my case?

Our analytic server is written in c++. It basically queries underlying storage engine and returns a fairly big structured data via thrift. A typical requests will take about 0.05 to 0.6 seconds to finish depends on the request size. I noticed that there are a few options in terms of which Thrift server we can use in the c++ code, speci...

Should I use CORBA, MessagePack RPC or Thrift, or something else entirely?

I'm writing software for a new hardware device which I want any kind of new third-party application to be able to access if they want to. The software will be a native process (C++) that should be pollable by 3rd party games and applications that want to support the hardware device. Those 3rd party apps should also be able to receive ev...

How to put Apache Thrift behind Boost Asio?

As far as I see Thrift documentation/examples/tutorials is very limited. A single example on C++ shows how to attach Thrift handler to a socket. I would like to wrap it into Boost::Asio-based http server. Please, if somebody have links to some already published experience on this matter, please tell me, I found nothing. Or, at least, g...

Thrift framework for iPhone

I'm currently stuck trying to get my objective c generated files to compile in my iPhone project. Basically it keeps telling me there is no such directory for the following four imports: Thrift/TProtocol.h Thrift/TApplicationException.h Thrift/TProtocolUtil.h Thrift/TProcessor.h I'm following all the instructions on the Thrift wiki and...

RPC frameworks available?

I am looking to use a RPC framework for internal use. The framework has to be cross language. I am exploring Apache Thrift right now. Google protocol Buffers does not provide RPC capabilities exactly. What are the choices I have got apart from Thrift. (my servers will be primarily Java and the clients will be Java, Python, PHP). ...

Using "oneway void" in Thrift function definitions

Hi all, I'm using a oneway modifier in one of my Thrift function definitions: ... oneway void secret_function(1: string x, 2: string y), ... When generating the respective Erlang code via Thrift, this is translated into: ... function_info('secret_function', reply_type) -> oneway_void; function_info('secret_function', exceptions) -...

Connecting to Cassandra 0.7 in .NET

I am having a lot of trouble trying to upgrade my existing library from Cassandra 0.6 to 0.7 beta1. I had originally thought it was a order of operations issue, so I decided to break it down to the basics. Here is the basic setup that I will be suing TTransport framedTransport = new TFramedTransport(new TSocket("localhost", 9160)); ...

batch_mutate silently failing in Cassandra

Hello all, I am working with Cassandra 0.6.5 using the thrift interface. I am trying to use the batch_mutate method call, however, when I execute it, I receive no error message. This leads me to believe it worked. When I check using the CLI, there is nothing there. Is there something wrong with my code or format of the mutation_map ...

AssertionError: Thrift API version mismatch. (Client: 12, Server: 13)

I am installing Twissandra - a python example on top of Cassandra. Instructions Here. After successfully compiling and building all dependencies on Lubuntu 10.04 (with Thrift 4.0 and then tried with 2.0)--when I run the last step with the webserver--it crashes and posts this Apache Thrift error: AssertionError: Thrift API version mis...

Thrift Make Error

hi, I can't compile thrift properly, when I use make, this is the output: make all make all-recursive make[1]: Entering directory `/root/thrift' Making all in compiler/cpp make[2]: Entering directory `/root/thrift/compiler/cpp' make all-am make[3]: Entering directory `/root/thrift/compiler/cpp' g++ -DHAVE_CONFIG_H -I. -I../.. -...

Thrift gem and JRuby

I just recently installed JRuby and the Thrift gem after using it in MRI. I'm running into a problem where if I require 'thrift' I get the message "Unable to load thrift_native extension. Defaulting to pure Ruby libraries." If I then try and require the code thrift generated in ruby I'll get this error: "NameError: uninitialized constant...

Using C++ for backend calculations in a web app

I'm running a PHP front end to an application that does a lot of work with data and uses Cassandra as a data store. However I know PHP will not give me the performance I need for some of the calculations (as well as the management for the sheer amount of data that needs to be in memory) I'd like to write the backed stuff in C++ and ac...

Installation problem with Apache Thrift

I am trying to install thrift in solaris, so I can play with it. But unfortunately, I can't get configure working. Here is the command I use to configure. ./configure --prefix=<> CFLAGS='-m64 -O3' CXXFLAGS='-m64 -O3' --with-boost= I get this error as follows. checking for boostlib >= 1.33.1... configure: error: We could not detect the...

Build thrift dll for use in Windows Phone 7 application

Pretty straight forward question: How do I build a thrift dll for use in a Windows Phone 7 application? ...

Insertion into Cassandra via thrift-client doesn't work after removing a row via cassandra-cli

I wrote a simpe test to validate my own understanding of the thrift interface for Cassandra. It just inserts a row into the database (using the keyspace and column familty that come preconfigured with the cassandra installation), then reads it from the database and compares the results. public class CassandraAPITest { @Test publ...

Service development framework solutions for Windows Phone 7

I've been trying to get Thrift to work with WP7, but has put it on hold preliminary. I'm now looking for other solutions to this and would like to get some feedback on which solution to choose, if any. Any suggestions is much appreciated, so don't hesitate :) ...