hive-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Takashi Sakairi" <SAKA...@jp.ibm.com>
Subject Re: Can Beeline handle HTTP redirect?
Date Mon, 02 Jan 2017 07:00:48 GMT
Hi Gopal,

Thank you very much for your answer.

Cheers,

Takashi



From:   Gopal Vijayaraghavan <gopalv@apache.org>
To:     "user@hive.apache.org" <user@hive.apache.org>
Date:   2016/12/22 18:27
Subject:        Re: Can Beeline handle HTTP redirect?
Sent by:        Gopal Vijayaraghavan <gopal@hortonworks.com>



> I want to know whether Beeline can handle HTTP redirect or not. I was 
wondering if some of Beeline experts can answer my question?

Beeline uses the hive-jdbc driver, which is the one actually handling 
network connections.

That driver in turn, uses a standard 
org.apache.http.impl.client.HttpClients to talk to the servers.

You can probably dig through the code usage and find out if it is allowing 
302 or not (POST + 100 Continue is another question to answer by 
experimenting).

https://github.com/apache/hive/blob/master/jdbc/src/java/org/apache/hive/jdbc/HiveConnection.java#L348


Cheers,
Gopal








Mime
View raw message