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 <hadooph...@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