1,893
questions
0
votes
0
answers
34
views
Why do C++ Thrift TLS socket operations throw exception with multiple openssl error codes?
We use Thrift C++ TLS socket for data exchanging. The openssl is built with the no-err option. We wrap every code snippet calling thrift RPC by try-catch and log the exception message. In the ...
0
votes
1
answer
25
views
spark-3.5.0-bin-without-hadoop :: Unable to start thriftserver.sh
On RHEL-8 linux server, with
Hadoop 3.3.6
jdk 1.8 and
spark-3.5.0-bin-without-hadoop,
When trying to start ./sbin/start-thriftserver.sh from spark-3.5.0-bin-without-hadoop dir then its throwing ...
0
votes
0
answers
32
views
Does enabling compression in thrift helps memory bandwidth bottleneck if you have low cpu util and network util?
If you compressed your thrift request, does it help lower memory bandwidth
For example my understanding of the data flow is this
client send ztsd compressed request
server get compressed request
...
0
votes
0
answers
31
views
Detecting that Thrift Server thread is stuck using application watchdog
I'm using Thrift for RPC in my application.
I have an internal application watchdog that I want to use also for monitoring Thrift Server thread health.
(for example to restart the thrift server in ...
0
votes
0
answers
59
views
Is there a way to access HBase with Thrift and Kerberos in Rust?
I successfully implemented a Rust sample app that accesses an HBase server without authentication using the hbase-thrift crate. Now, I need to access HBase with Kerberos authentication. Since the ...
1
vote
0
answers
68
views
how to serialize a thrift object properly in C (glib)?
I need to serialize a thrift struct in C (glib) such that I can deserialize it in python. Note that I am using my own transport here.
Suppose I have a structed defined in thrift such as the following:
...
0
votes
0
answers
19
views
presto-thrift-spec: Dependency problems found
My build is failing and here is the full description
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-dependency-plugin:3.1.1:analyze-only (default) on project presto-thrift-spec: ...
0
votes
0
answers
64
views
happybase connection.tables() returning TTransportException.END_OF_FILE in python
I am trying to save data in hbase with python using hapybase. Even if connection to thrift2 seems ok, I am getting this error when trying to get hbase tables list.
... raise TTransportException(type=...
0
votes
1
answer
201
views
How to deserialize a Thrift object string in Java
I have a string representation of my Thrift object as follows:
objStr = "MyObject(id:1, name:abc xyz, flag:true)"
I want to convert it back into the thrift object itself. How can I do this?
...
0
votes
2
answers
61
views
DDIA Thrift CompactProtocol encoding
When I read DDIA page 119, I see that in Trift CompactProtocol when encode int64 with variable length.
Example taken from DDIA
Number in Base 10 to be encoded: 1337
It is encoded to 1|111001|0 0|...
0
votes
1
answer
47
views
TException:MISSING_RESULT thrift exception on T_COMPACT_PROTOCOL asynchrounsly thrift client call
I'm using C++ asynchronously thrift for IPC inside my application.
One client of my thrift is connected to the server using T_PROTOCOL_COMPACT protocol using TCompactProtocolFactory (and of course the ...
0
votes
0
answers
51
views
How to check if the Thrift is working on HBase version 2.5 and How to indicate if Thrift 1 or Thrift 2 is installed?
I am totaly new for Big Data world, would you please provide the command to indicate the version of Thrift on ubuntu.
I am using HappyBase to interact with a remote HBase tables using python
import ...
0
votes
1
answer
77
views
Is Linux Socket send timeout means peer did not recv one byte data or did not finish recv all data in timeout duration?
If I set send timeout for a socket is 10ms, when timeout is happen, I don`t know the reason is peer did not recv at least one byte data or peer did not finish receive all of the data?
0
votes
0
answers
151
views
C++ thrift server: build error "undefined reference to `vtable for MessageProcessorFactory'"
I get an errors with thrift TThreadedServer server building.
Build log:
[main] Building folder: Thrift_client_server
[build] Starting build
[proc] Executing command: /usr/bin/cmake --build "/...
0
votes
1
answer
137
views
How should multiple value thrift of Java enumeration class be defined?
# java
public class B extends Enum implements TEnum {
B a = new B("a", 1, 1);
B b = new B("b", 2, 5);
int val;
public B(String s, int i, int val) {
super(...