You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@hive.apache.org by hadoop hive <ha...@gmail.com> on 2012/03/16 09:34:11 UTC

Hive with JDBC

HI folks,

I m facing a problem while when i fired a query through java code, its
returns around half a million records which make the result set in hang
state,

please provide if there is any solution of that.

Regards
Vikas Srivastva

Re: Hive with JDBC

Posted by shashwat shriparv <dw...@gmail.com>.
Try scan.setCaching(500); or set the range in scanner accordingly and keep
on moving the scanner as scaner(1,10000),scaner(10001, 30000) like wise.
scan.setCaching(500);


these are the ways i can think of hope more replies from more experienced
and knowledgeable people.

On Fri, Mar 16, 2012 at 2:04 PM, hadoop hive <ha...@gmail.com> wrote:

> HI folks,
>
> I m facing a problem while when i fired a query through java code, its
> returns around half a million records which make the result set in hang
> state,
>
> please provide if there is any solution of that.
>
> Regards
> Vikas Srivastva
>
>


-- 
Shashwat Shriparv

+91-9663531241
+91-990059620

Fwd: Hive with JDBC

Posted by hadoop hive <ha...@gmail.com>.
---------- Forwarded message ----------
From: hadoop hive <ha...@gmail.com>
Date: Fri, Mar 16, 2012 at 2:04 PM
Subject: Hive with JDBC
To: user@hive.apache.org


HI folks,

I m facing a problem while when i fired a query through java code, its
returns around half a million records which make the result set in hang
state,

please provide if there is any solution of that.

Regards
Vikas Srivastva

Fwd: Hive with JDBC

Posted by hadoop hive <ha...@gmail.com>.
---------- Forwarded message ----------
From: hadoop hive <ha...@gmail.com>
Date: Fri, Mar 16, 2012 at 2:04 PM
Subject: Hive with JDBC
To: user@hive.apache.org


HI folks,

I m facing a problem while when i fired a query through java code, its
returns around half a million records which make the result set in hang
state,

please provide if there is any solution of that.

Regards
Vikas Srivastva