hive-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Vikas Srivastava <vikas.srivast...@one97.net>
Subject Problem in hive
Date Tue, 23 Aug 2011 13:56:19 GMT
HI team,


i m facing this problem.

show tables is running fine but when i run below query.

hive> select * from aircel_obd;
FAILED: Hive Internal Error: java.lang.NullPointerException(null)
java.lang.NullPointerException
        at
org.apache.hadoop.hive.ql.metadata.Table.checkValidity(Table.java:162)
        at org.apache.hadoop.hive.ql.metadata.Hive.getTable(Hive.java:886)
        at org.apache.hadoop.hive.ql.metadata.Hive.getTable(Hive.java:787)
        at
org.apache.hadoop.hive.ql.parse.SemanticAnalyzer.getMetaData(SemanticAnalyzer.java:893)
        at
org.apache.hadoop.hive.ql.parse.SemanticAnalyzer.analyzeInternal(SemanticAnalyzer.java:7203)
        at
org.apache.hadoop.hive.ql.parse.BaseSemanticAnalyzer.analyze(BaseSemanticAnalyzer.java:240)
        at org.apache.hadoop.hive.ql.Driver.compile(Driver.java:428)
        at org.apache.hadoop.hive.ql.Driver.compile(Driver.java:336)
        at org.apache.hadoop.hive.ql.Driver.run(Driver.java:901)
        at
org.apache.hadoop.hive.cli.CliDriver.processLocalCmd(CliDriver.java:253)
        at
org.apache.hadoop.hive.cli.CliDriver.processCmd(CliDriver.java:210)
        at
org.apache.hadoop.hive.cli.CliDriver.processLine(CliDriver.java:401)
        at org.apache.hadoop.hive.cli.CliDriver.main(CliDriver.java:660)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at org.apache.hadoop.util.RunJar.main(RunJar.java:156)


-- 
With Regards
Vikas Srivastava

DWH & Analytics Team
Mob:+91 9560885900
One97 | Let's get talking !

Mime
View raw message