hive-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Bhupesh Sharma <>
Subject Hive Client hangs on recv_execute
Date Wed, 08 Oct 2014 07:11:54 GMT
I am creating a thrift hive client in C# and the server is a hadoop hive
server2... I am able to connect to the server and perform SASL

But when i call client.send_execute("show tables;") and then
*client.recv_execute()*, it doesn't send the list of tables...

basically code hangs on *recv_execute()* waiting on incoming connection and
data never comes in....

*Is some thing wrong here (code below)*

I am using hive-sharp-lib....

var socket = new TSocket("", 10000, 60000);
        socket.Timeout = 9999999;
        TStreamTransport sTransport = (TStreamTransport)socket;
        var transport =  new TSaslClientTransport(new

        var proto = new TBinaryProtocol(transport);

        var client = new ThriftHive.Client(proto);


        client.send_execute("show tables;");


Bhupesh Sharma

View raw message