Return-Path: X-Original-To: apmail-hive-user-archive@www.apache.org Delivered-To: apmail-hive-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 1CB6517399 for ; Wed, 25 Feb 2015 09:24:43 +0000 (UTC) Received: (qmail 11321 invoked by uid 500); 25 Feb 2015 09:24:32 -0000 Delivered-To: apmail-hive-user-archive@hive.apache.org Received: (qmail 11255 invoked by uid 500); 25 Feb 2015 09:24:31 -0000 Mailing-List: contact user-help@hive.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@hive.apache.org Delivered-To: mailing list user@hive.apache.org Received: (qmail 11244 invoked by uid 99); 25 Feb 2015 09:24:31 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 25 Feb 2015 09:24:31 +0000 X-ASF-Spam-Status: No, hits=-0.1 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_MED,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of prvs=49162f193=jadhav.shweta@tcs.com designates 219.64.33.222 as permitted sender) Received: from [219.64.33.222] (HELO inmumg02.tcs.com) (219.64.33.222) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 25 Feb 2015 09:24:27 +0000 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: A2D3BACdk+1U/2AKEaxbhDC9NYtiAoFiAQEBAQEBfIQPAQEBBIEJBQYNBAMBAi8hLggRCBGICgO6SQEBlF4NhTEBAQEBAQEBAwEBAQEBAQEBARmCSohJgkSCGQwMBoMRgRQFik2DHIk+M4JhEYMIiQCCSYM+hBhngkMBAQE X-IPAS-Result: A2D3BACdk+1U/2AKEaxbhDC9NYtiAoFiAQEBAQEBfIQPAQEBBIEJBQYNBAMBAi8hLggRCBGICgO6SQEBlF4NhTEBAQEBAQEBAwEBAQEBAQEBARmCSohJgkSCGQwMBoMRgRQFik2DHIk+M4JhEYMIiQCCSYM+hBhngkMBAQE X-IronPort-AV: E=Sophos;i="5.09,643,1418063400"; d="scan'208";a="287320514" X-DISCLAIMER: FALSE MIME-Version: 1.0 Importance: Normal X-Priority: 3 (Normal) In-Reply-To: References: , Subject: Re: ERROR OutOfMemoryError: Java heap space From: Jadhav Shweta To: user@hive.apache.org Message-ID: Date: Wed, 25 Feb 2015 14:54:02 +0530 Content-Type: multipart/alternative; boundary="=_alternative 0033A3AC65257DF7_=" X-Virus-Checked: Checked by ClamAV on apache.org --=_alternative 0033A3AC65257DF7_= Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=ISO-8859-1 I am running the query using spring batch framework. Thanks Shweta Jadhav -----Srinivas Thunga wrote: ----- To: "user@hive.apache.org" From: Srinivas Thunga Date: 02/25/2015 02:43PM Subject: Re: ERROR OutOfMemoryError: Java heap space Hi, Might be problem in your code. Generally it happens when there are unnecessary looping. Please check your java code.=A0 Thanks & Regards, Srinivas T On Wed, Feb 25, 2015 at 2:38 PM, Jadhav Shweta wrot= e: 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 spa= ce error while executing using JDBC java client. Thanks Shweta Jadhav -----Srinivas Thunga wrote: ----- To: "user@hive.apache.org" From: Srinivas Thunga 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 wrot= e: Hi I am running simple select query select * from table; thanks Shweta Jadhav -----Srinivas Thunga wrote: ----- To: "user@hive.apache.org" From: Srinivas Thunga Date: 02/25/2015 01:09PM Subject: Re: Hi,=A0 Can =A0you place the query as well which you are trying? Thanks & Regards, Srinivas T On Wed, Feb 25, 2015 at 1:02 PM, Jadhav Shweta wrot= e: 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 =3D=3D=3D=3D=3D-----=3D=3D=3D=3D=3D-----=3D=3D=3D=3D=3D Notice: The information contained in this e-mail message and/or attachments to it may contain=20 confidential or privileged information. If you are=20 not the intended recipient, any dissemination, use,=20 review, distribution, printing or copying of the=20 information contained in this e-mail message=20 and/or attachments to it are strictly prohibited. If=20 you have received this communication in error,=20 please notify us by reply e-mail or telephone and=20 immediately and permanently delete the message=20 and any attachments. Thank you --=_alternative 0033A3AC65257DF7_= Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=ISO-8859-1 Content-ID: <>
I am running the query using spring batch framework.

Tha= nks
Shweta Jadhav

-----Srinivas Thu= nga <srinivas.thunga@gmail.com> wrote: -----
To: "user@hive.apache.org" <u= ser@hive.apache.org>
From: Srinivas Thunga <srinivas.thunga@gmail.= com>
Date: 02/25/2015 02:43PM
Subject: Re: ERROR OutOfMemoryError:= Java heap space

Hi,

Might be pr= oblem in your code.

Generally it happens when ther= e are unnecessary looping.

Please check your java = code. 

=
Thanks & Regards,<= /i>

Srinivas T
=0D<= br>
On Wed, Feb 25, 2015 at 2:38 PM, Jadhav Shw= eta <jadhav.shweta@tcs.com> wrote:
Hi

I have installed apache hive = 0.13.0.
I have configured metastore as postgres db.
Que= ry is working fine in beeline command line interface but giving Heap space = error while executing using JDBC java client.

Thanks
Shweta Jadha= v

-----Srinivas Thung= a <srin= ivas.thunga@gmail.com> wrote: -----
To: "user@hive.apache.org" <user@hive.apache.org>
From:= Srinivas Thunga <srinivas.thunga@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
=0D=
On Wed, Feb 25, 2015 at 2:27 PM, Jadhav Sh= weta <jadhav.shweta@tcs.com> wrote:
Hi=

I am running simple select query

select * from table;

thanks
Shw= eta Jadhav



-----Srinivas Thung= a <srin= ivas.thunga@gmail.com> wrote: -----
To: "u= ser@hive.apache.org" <user@hive.apache.org>
From: Srinivas Thunga <srinivas.thun= ga@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
=0D
On Wed, Feb 25, 2015 at 1= :02 PM, Jadhav Shweta <jadhav.shweta@tcs.com> wrote:
Hi

I am trying t= o run hive query
Its getting executed from beeline interface
but its throwing
    java.lan= g.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 s= ame.
thanks

Shweta Jadhav

= =3D=3D=3D=3D=3D-----=3D=3D=3D=3D=3D-----=3D=3D=3D=3D=3D
=0DNotice: The i= nformation contained in this e-mail
=0Dmessage and/or attachments to it = may contain
=0Dconfidential or privileged information. If you are
= =0Dnot the intended recipient, any dissemination, use,
=0Dreview, distr= ibution, printing or copying of the
=0Dinformation contained in this e-= mail message
=0Dand/or attachments to it are strictly prohibited. If =0Dyou have received this communication in error,
=0Dplease notify us= by reply e-mail or telephone and
=0Dimmediately and permanently delete= the message
=0Dand any attachments. Thank you

=0D=0D


=0D

=0D=

=0D= --=_alternative 0033A3AC65257DF7_=--