hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Prabhat Kumar <PKu...@actiance.com>
Subject ClassCastException captured
Date Wed, 04 Jul 2012 10:40:53 GMT
Hi,


While executing Hive SQL some time I see ClassCastException. Sending the stack trace

org.apache.hadoop.hive.ql.parse.SemanticException: Unable to fetch table sample
                at org.apache.hadoop.hive.ql.parse.SemanticAnalyzer.getMetaData(SemanticAnalyzer.java:1080)
                at org.apache.hadoop.hive.ql.parse.SemanticAnalyzer.analyzeInternal(SemanticAnalyzer.java:7275)
                at org.apache.hadoop.hive.ql.parse.BaseSemanticAnalyzer.analyze(BaseSemanticAnalyzer.java:243)
                at org.apache.hadoop.hive.ql.Driver.compile(Driver.java:430)
                at org.apache.hadoop.hive.ql.Driver.compile(Driver.java:337)
                at org.apache.hadoop.hive.ql.Driver.run(Driver.java:889)
                at org.apache.hadoop.hive.cli.CliDriver.processLocalCmd(CliDriver.java:255)
                at org.apache.hadoop.hive.cli.CliDriver.processCmd(CliDriver.java:212)
                at org.apache.hadoop.hive.cli.CliDriver.processLine(CliDriver.java:403)
                at org.apache.hadoop.hive.cli.CliDriver.run(CliDriver.java:671)
                at org.apache.hadoop.hive.cli.CliDriver.main(CliDriver.java:554)
                at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
                at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
                at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
                at java.lang.reflect.Method.invoke(Method.java:616)
                at org.apache.hadoop.util.RunJar.main(RunJar.java:156)
Caused by: org.apache.hadoop.hive.ql.metadata.HiveException: Unable to fetch table sample
                at org.apache.hadoop.hive.ql.metadata.Hive.getTable(Hive.java:909)
                at org.apache.hadoop.hive.ql.metadata.Hive.getTable(Hive.java:843)
                at org.apache.hadoop.hive.ql.parse.SemanticAnalyzer.getMetaData(SemanticAnalyzer.java:908)
                ... 15 more
Caused by: java.lang.ClassCastException: java.lang.InterruptedException cannot be cast to
java.lang.RuntimeException
                at org.apache.hadoop.hive.metastore.HiveMetaStore$HMSHandler.get_table(HiveMetaStore.java:1234)
                at org.apache.hadoop.hive.metastore.HiveMetaStoreClient.getTable(HiveMetaStoreClient.java:734)
                at org.apache.hadoop.hive.ql.metadata.Hive.getTable(Hive.java:901)
                ... 17 more

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message