Increase timeout or let the result of the query be written in a dedicated table.

> On 20 Sep 2016, at 16:57, anup ahire <ahirea...@gmail.com> wrote:
> 
> 
> 
> 
> Hello,
> 
> I am using hive-jdbc-1.2.1 to run a query. Query runs around an hour and 
> eventually completes.
> But my hive session terminats before I can get results from completed query 
> and job fails.
> java.sql.SQLException: org.apache.http.NoHttpResponseException: The target 
> server failed to respond
> 
> at org.apache.hive.jdbc.HiveStatement.execute(HiveStatement.java:296) 
> ~[hive-jdbc-1.2.1.jar!/:1.2.1]
> 
> What is the best way to address this ?
> 
> 
> 
> Thanks ,
> 
> Anup
> 
> 

Reply via email to