Questions tagged [thrift-protocol]

The protocol family used by the cross-platform, crosss-language Apache Thrift RPC and serialization framework

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.

169 questions
0
votes
1 answer

How TThreadedSelectorServer support saml ?

How to using SAML with TThreadedSelectorServer ? i really can not find any articals for it. In my understanding, TThreadedSelectorServer is an advanced server based on NIO, so I want to use SAML together
Wolf
  • 1
0
votes
2 answers

Decoding Thrift Object what are these extra bytes?

I'm working on writing a pure JS thrift decoder that doesn't depend on thrift definitions. I have been following this handy guide which has been my bible for the past few days: https://erikvanoosten.github.io/thrift-missing-specification/ I almost…
Slava Knyazev
  • 5,377
  • 1
  • 22
  • 43
0
votes
0 answers

How can a NodeJS or Browser JS Thrift client consumer introspect Thrift response headers?

We're using Thrift as our IDL/transport layer between a backend service, and a browser JS client, as well as, soon a NodeJS web server. For scaling purposes, we have a requirement that we need to allow our infrastructure to read the response headers…
RavenHursT
  • 2,336
  • 1
  • 25
  • 46
0
votes
1 answer

Quarkus Apache Thrift RPC

I'm trying to build a microservice using quarkus that uses thrift as the communication protocol. I'm still fairly new to Apache Thrift and Quarkus. Is there a way to implement a thrift server without the need to migrate over to gRPC?
0
votes
1 answer

Thrift, Avro and ProtoBuf data governance

We have a use case of data streaming from the main transactional system to other downstream such as data analytics and machine learning team. One of the requirements are to ensure data governance that data source can control who can read which…
RichardKang
  • 497
  • 5
  • 16
0
votes
1 answer

Can you rename an unused thrift field and change its type

Is it safe to rename an unused thrift field and also change its type. The APIs are still under development and not invoked by clients yet.
Kans
  • 382
  • 3
  • 17
0
votes
0 answers

make command fails over ubuntu 16.04 for thrift server

I have downloaded apache thrift. step one move to thrift folder -- and run below commands over terminal 1- ./bootstrap.sh 2- ./configure 3- ./configure --without-java below command fails 4- make all-recursive make[1]: Entering directory…
Abhishek
  • 1,543
  • 3
  • 13
  • 29
0
votes
1 answer

Are communications with a Spark Thrift server in binary mode transmitted securely?

In my organisation, we have a Spark Thrift server setup with HTTP & SSL because there is an underlying assumption that the binary mode is not securely encrypted over the wire and thus may reveal credentials or sensitive query data. I have Googled,…
QA Collective
  • 2,222
  • 21
  • 34
0
votes
0 answers

can TBinary Protocol decode thrifter encoded data?

currently I have many go structs generated by thrift and I want to fill the real data in to them and send to server. Server will use TBinaryProtocol to decode data. thrifter: https://github.com/thrift-iterator/go TBinaryProtocol…
0
votes
2 answers

Connect to Impala with Kerberos auth thrift.transport.TTransport.TTransportException:

I’ve spent a lot of time trying to make a connection with a kereberized impala server through python. It was possible with java jdbc. I don’t think this is a kereberos ticket problem. If I run klist I can see my ticket without problem. Ticket…
almagr
  • 1
  • 1
0
votes
2 answers

Why Thrift raises AssertionError when requested by multiple threads?

i'm building a kind of simulator that uses thrift protocol. But when im executing multiple threads of my virtual equipments sending messages, the program breaks after a short time by receiving them, think the buffer is overloaded or something like…
bruno
  • 365
  • 2
  • 8
0
votes
0 answers

Connection refused for hive

I am trying to access hive from denodo platform, but I get the following error message "Unable to establish connection: Could not open client transport with JDBC Uri: jdbc:hive2://hostname:portnumber: java.net.ConnectException: Connection refused:…
Ranjan Mb
  • 13
  • 2
0
votes
1 answer

async_eb_func v.s. async_tm_func

I am reading some thrift service code and found a lot of names like this: async_eb_function_name(...) or async_tm_function_name(...) What are they? It seems to me the prefix: async_eb_ and async_tm_ are both auto added. What are they and what's…
WhatABeautifulWorld
  • 3,198
  • 3
  • 22
  • 30
0
votes
0 answers

Does Thrift support Diffie Hellman ciphers for TLS?

Looking at this file it seems Thrift doesn't include openssl functions for supporting Diffie Hellman. https://github.com/apache/thrift/blob/master/lib/cpp/src/thrift/transport/TSSLSocket.cpp Is it implemented somewhere else? Is there any special…
rodolk
  • 5,606
  • 3
  • 28
  • 34
0
votes
1 answer

Dynamic Resource allocation in Spark-Yarn Cluster Mode

When i use the below setting to start the spark application (default is yarn-client mode) works fine spark_memory_setting="--master yarn --conf spark.dynamicAllocation.enabled=true --conf spark.shuffle.service.enabled=true --conf…