|
|
-
Find out what's causing an InvalidOperationException
Krishna Rao 2013-01-09, 13:15
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
+
Krishna Rao 2013-01-09, 13:15
-
Re: Find out what's causing an InvalidOperationException
Nitin Pawar 2013-01-09, 13:21
can you give table definition of both the tables?
are both the columns of same type ? On Wed, Jan 9, 2013 at 5:15 AM, Krishna Rao <[EMAIL PROTECTED]> wrote:
> 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 > > > -- Nitin Pawar
+
Nitin Pawar 2013-01-09, 13:21
-
Re: Find out what's causing an InvalidOperationException
Krishna Rao 2013-01-09, 15:28
The data types are the same. In fact, the statement works the first time, but not the second (I change a WHERE constraint to give different data).
I presume it is some invalid data, but is there any way to find a clue in a log file? On 9 January 2013 13:21, Nitin Pawar <[EMAIL PROTECTED]> wrote:
> can you give table definition of both the tables? > > are both the columns of same type ? > > > On Wed, Jan 9, 2013 at 5:15 AM, Krishna Rao <[EMAIL PROTECTED]>wrote: > >> 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 >> >> >> > > > -- > Nitin Pawar >
+
Krishna Rao 2013-01-09, 15:28
|
|
All projects made searchable here are trademarks of the Apache Software Foundation.
Service operated by
Sematext