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 58363E1AA for ; Wed, 9 Jan 2013 13:16:50 +0000 (UTC) Received: (qmail 660 invoked by uid 500); 9 Jan 2013 13:16:49 -0000 Delivered-To: apmail-hive-user-archive@hive.apache.org Received: (qmail 496 invoked by uid 500); 9 Jan 2013 13:16:48 -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 484 invoked by uid 99); 9 Jan 2013 13:16:48 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 09 Jan 2013 13:16:48 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of krishnanjrao@gmail.com designates 209.85.215.44 as permitted sender) Received: from [209.85.215.44] (HELO mail-la0-f44.google.com) (209.85.215.44) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 09 Jan 2013 13:16:41 +0000 Received: by mail-la0-f44.google.com with SMTP id fr10so1843768lab.17 for ; Wed, 09 Jan 2013 05:16:20 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:from:date:message-id:subject:to:content-type; bh=lXzpIiqAKM3WjX0r/iP9Hdd50U2+4H/+EE8blc56E5M=; b=QMBj64k6uUGuWK3BgtDzY3cogGig32imSmA+PMNhKuPQYNNnWBaott48XjkBeSs0mz h66xnK1SHLn70AzZp4XiPwHk4FP4V2TNrMg2DAoqoYkLYiL5urIsQ7Dq/J4vdDO+sc3K J8qv113h9BnAUOaLsLADIrdvYLRg3KbH9SJCro+6QqVKxHVZGYwxkCofsvLD392j0Udh 30rX8ihtmicKu/TNngb3uBBZm/fKQ3zd25kxP9v+JSu9g72Z6FYJHQ1Fwag/SsfnU8/t 9Iq6BsmxC97Ac4hqyGqyqPNfEHNwLh9yzIjjVY/BWbcbD5S2bUc+19B/uvKa74cKHPb6 Rm1A== Received: by 10.152.134.243 with SMTP id pn19mr64679705lab.11.1357737380579; Wed, 09 Jan 2013 05:16:20 -0800 (PST) MIME-Version: 1.0 Received: by 10.112.27.227 with HTTP; Wed, 9 Jan 2013 05:15:59 -0800 (PST) From: Krishna Rao Date: Wed, 9 Jan 2013 13:15:59 +0000 Message-ID: Subject: Find out what's causing an InvalidOperationException To: user@hive.apache.org Content-Type: multipart/alternative; boundary=f46d0442724844890104d2dade12 X-Virus-Checked: Checked by ClamAV on apache.org --f46d0442724844890104d2dade12 Content-Type: text/plain; charset=ISO-8859-1 Hi all, On running a statement of the form "INSERT INTO TABLE tbl1 PARTITION(p1) SELECT x1 FROM tbl2", I get the following error: "Failed with exception java.lang.ClassCastException: org.apache.hadoop.hive.metastore.api.InvalidOperationException cannot be cast to java.lang.RuntimeException" How can I find out what is causing this error? I.e. which logs should I look at? Cheers, Krishna --f46d0442724844890104d2dade12 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Hi all,

On running a statement of the form "INSERT = INTO TABLE tbl1 PARTITION(p1) SELECT x1 FROM tbl2", I get the followin= g error:

"Failed with exception java.lang.Cla= ssCastException: org.apache.hadoop.hive.metastore.api.InvalidOperationExcep= tion cannot be cast to java.lang.RuntimeException"

How can I find out what is causing this error? I.e. whi= ch logs should I look at?

Cheers,

Krishna


--f46d0442724844890104d2dade12--