Hi Gopal,

Thank you very much for your answer.

Cheers,

Takashi



From:   Gopal Vijayaraghavan <gop...@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 <go...@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







Reply via email to