Questions tagged [thrift]

Thrift is a software framework for scalable cross-platform, cross-language services development available from Apache.

Thrift combines a software stack with a code generation engine to build services that work efficiently and seamlessly between C++, C, Java, Python, PHP, Ruby, Erlang, Perl, Haskell, C#, Cocoa, Smalltalk, Delphi, Graphviz, Go and OCaml.

Thrift's primary goal is to enable efficient and reliable communication across platforms and programming languages by abstracting the portions of each language that tend to require the most customization into a common library that is implemented in each language.

Originally developed at Facebook, Thrift was open sourced in April 2007 and entered the Apache Incubator in May, 2008. Thrift graduated from the Incubator in October, 2010.

1894 questions
0
votes
1 answer

Why does the thrift docker image need go

This docker file's goal is to: Goal: provide a thrift-compiler Docker image I was just wondering why does this image need to install golang
user8629
  • 33
  • 3
0
votes
1 answer

Can't add Thrift support on a Java project

So I am trying to build a client server application, using Java for my Client and C# for my server. I made a Gradle project for my Java client, and I can't add Thrift to it no matter what I try. This is how my gradle looks. plugins { id…
Artyomska
  • 1,309
  • 5
  • 26
  • 53
0
votes
1 answer

keep directory structure when generating files

I have those thrift interfaces: ./thrift/a/a1.thrift ./thrift/a/a2.thrift ./thrift/b/b1.thrift ./thrift/b/b2.thrift where a1.thrift includes a2, b1, b2 (with include "thrift/a/a2.thrift") I generate the Go files for all those with thrift -r --gen…
Thomas
  • 8,306
  • 8
  • 53
  • 92
0
votes
2 answers

What if only send without recv in my Thrift client?

I'm implementing a Thrift client in order to make connection to a built-in scribe server. Everything is going OK if I use a standard Log method, like this: public boolean log(List messages) { boolean ret = false; PooledClient…
nghiapht
  • 1
  • 1
0
votes
1 answer

list syntax in Thrift IDL

Is there a Thrift syntax for this declaration TAO IDL? typedef sequence< SomeClass, 31 > SomeSeq; It means that SomeClass should appear maximum 31 times. I am working with Thrift in C++.
didiz
  • 1,069
  • 13
  • 26
0
votes
0 answers

Cannot install thrift on Suse linux(configure Ok but make failure)

I'm trying to install thrift on SUSE, but encounter some problems. Runtime Environment: SUSE Linux Enterprise Server 12 SP1 (x86_64) thrift-0.10.0 using the configuration file # ./configure --with-boost=/usr/local/boost-1.59.0…
Caspar
  • 21
  • 5
0
votes
1 answer

thrift TServerSocket::acceptImpl() THRIFT_POLL() Interrupted system call

i write a thrift server with c++. when the server is running, i get a error: Thrift: Fri Mar 24 11:21:31 2017 TServerSocket::acceptImpl() THRIFT_POLL() Interrupted system call Thrift: Fri Mar 24 11:21:31 2017 TServerTransport died: Unknown:…
0
votes
1 answer

Pattern matching union type from thrift-generated scala

Imagine a union in thrift like: union MyUnion { 1. bool myBool 2. i64 myLong 3. double myDouble }(persisted='true') What I'd like to do is something like this in Scala: case class MyClass( myString: String, myUnionType: ??? ) Then, I'd…
user451151
  • 406
  • 2
  • 10
0
votes
0 answers

Connecting Qt client to Thrift server?

I've looked through the site and haven't found any guidance on connecting my QTcpSocket to my Thrift C++ server. This was the closest match, although the solutions proposed don't work. Client code (Qt Quick Application): QHostAddress addr…
Babra Cunningham
  • 2,949
  • 1
  • 23
  • 50
0
votes
0 answers

Generating PHP server stubs with thrift

So yesterday i wrote my own thrift IDL which went fine and now I'm trying to generate some code from it With that in mind I went to generate code in PHP, Java, C# and Python with my first written IDL So on thrift 0.10.0 I used this command: thrift…
TMJnoob
  • 13
  • 3
0
votes
1 answer

Hbase thrift2 python client API invalid

I am write a python script to load data from hbase. But things seem to goes wrong in thrift generated files. Here is my code: def create_hbase_connection(): thrift_socket = TSocket.TSocket(thrift_server, thrift_port) …
Charles
  • 19
  • 6
0
votes
1 answer

Thrift php lib performance issue

I recently use php thrift client to call some service implemented by java thrift server. But I found that when I transfer a large amount of complex data, php spent a lot of time serialize and deserialize data because of tens of thousands of…
Just_CJ
  • 61
  • 1
  • 8
0
votes
1 answer

org.apache.hadoop.ipc.RemoteException:User: is not allowed to impersonate

I have been successful mostly in running hadoop and hive on Windows natively (without cygwin). For Hive, all I did was that I unzipped the official zip file and set the HIVE_HOME and PATH. Also, I set the hive-site.xml as:
Anurag Kalia
  • 4,668
  • 4
  • 21
  • 28
0
votes
1 answer

Java method implementation for Apache Thrift RPCs in a distributed environment

Brief description of my project: I'm writing a java class named "GreetingsNode", that works in a distributed environment where there is a "managementNode", that is just as service repository and receives and stores info (host port number and service…
Gaspare79
  • 51
  • 1
  • 9
0
votes
0 answers

Cassandra outofMemory

We are having a 5 cluster setup for Cassandra 3.0.9. We are seeing outofMemory exception in Cassandra. It is using thrift library API 0.9.2. These outof memory Exceptions are every 2-3 days on random nodes from Cluster. The Max heap size for each…
Pushpak
  • 1
  • 2
1 2 3
99
100