Hi, Might be problem in your code.
Generally it happens when there are unnecessary looping. Please check your java code. *Thanks & Regards,* *Srinivas T* On Wed, Feb 25, 2015 at 2:38 PM, Jadhav Shweta <jadhav.shw...@tcs.com> wrote: > Hi > > I have installed apache hive 0.13.0. > I have configured metastore as postgres db. > Query is working fine in beeline command line interface but giving Heap > space error while executing using JDBC java client. > > Thanks > Shweta Jadhav > > -----Srinivas Thunga <srinivas.thu...@gmail.com> wrote: ----- > To: "user@hive.apache.org" <user@hive.apache.org> > From: Srinivas Thunga <srinivas.thu...@gmail.com> > Date: 02/25/2015 02:32PM > Subject: Re: ERROR OutOfMemoryError: Java heap space > > > Hi, > > Let me know how you configured Hive? > > R u using cloudera? > > If you are installed Hive separately then have you configured Metastore? > > > > *Thanks & Regards,* > > *Srinivas T* > > On Wed, Feb 25, 2015 at 2:27 PM, Jadhav Shweta <jadhav.shw...@tcs.com> > wrote: > >> Hi >> >> I am running simple select query >> >> select * from table; >> >> thanks >> Shweta Jadhav >> >> >> >> -----Srinivas Thunga <srinivas.thu...@gmail.com> wrote: ----- >> To: "user@hive.apache.org" <user@hive.apache.org> >> From: Srinivas Thunga <srinivas.thu...@gmail.com> >> Date: 02/25/2015 01:09PM >> Subject: Re: >> >> Hi, >> >> Can you place the query as well which you are trying? >> >> >> >> *Thanks & Regards,* >> >> *Srinivas T* >> >> On Wed, Feb 25, 2015 at 1:02 PM, Jadhav Shweta <jadhav.shw...@tcs.com> >> wrote: >> >>> Hi >>> >>> I am trying to run hive query >>> Its getting executed from beeline interface >>> but its throwing >>> >>> java.lang.OutOfMemoryError: Java heap space >>> >>> >>> error when connecting using jdbc. >>> >>> >>> I am using hive 0.13.0 version and hiveserver2. >>> >>> >>> which parameters i need to configure for the same. >>> >>> thanks >>> >>> Shweta Jadhav >>> >>> =====-----=====-----===== >>> Notice: The information contained in this e-mail >>> message and/or attachments to it may contain >>> confidential or privileged information. If you are >>> not the intended recipient, any dissemination, use, >>> review, distribution, printing or copying of the >>> information contained in this e-mail message >>> and/or attachments to it are strictly prohibited. If >>> you have received this communication in error, >>> please notify us by reply e-mail or telephone and >>> immediately and permanently delete the message >>> and any attachments. Thank you >>> >>> >> >