You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@hive.apache.org by Takashi Sakairi <SA...@jp.ibm.com> on 2017/01/02 07:00:48 UTC
Re: Can Beeline handle HTTP redirect?
Hi Gopal,
Thank you very much for your answer.
Cheers,
Takashi
From: Gopal Vijayaraghavan <go...@apache.org>
To: "user@hive.apache.org" <us...@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