hadoop-hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Eric Hwang (JIRA)" <j...@apache.org>
Subject [jira] Created: (HIVE-671) Using select* causes Hive Server getSchema()
Date Wed, 22 Jul 2009 06:14:14 GMT
Using select* causes Hive Server getSchema()
--------------------------------------------

                 Key: HIVE-671
                 URL: https://issues.apache.org/jira/browse/HIVE-671
             Project: Hadoop Hive
          Issue Type: Bug
            Reporter: Eric Hwang


Running a select * query sometimes causes Null Pointer Exceptions  in the Hive Server getSchema()
method:

This is the Hive Server Error:

java.lang.NullPointerException
        at com.facebook.serde2.hive_context.contextSerDe.initialize(contextSerDe.java:35)
        at org.apache.hadoop.hive.ql.plan.tableDesc.getDeserializer(tableDesc.java:64)
        at org.apache.hadoop.hive.ql.Driver.getSchema(Driver.java:119)
        at org.apache.hadoop.hive.service.HiveServer$HiveServerHandler.getSchema(HiveServer.java:124)
        at org.apache.hadoop.hive.service.ThriftHive$Processor$getSchema.process(ThriftHive.java:376)
        at org.apache.hadoop.hive.service.ThriftHive$Processor.process(ThriftHive.java:252)
        at org.apache.thrift.server.TThreadPoolServer$WorkerProcess.run(TThreadPoolServer.java:252)
        at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:885)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:907)
        at java.lang.Thread.run(Thread.java:619)
09/07/21 22:58:53 ERROR service.HiveServer: java.lang.NullPointerException java.lang.NullPointerException
        at com.facebook.serde2.hive_context.contextSerDe.initialize(contextSerDe.java:35)
        at org.apache.hadoop.hive.ql.plan.tableDesc.getDeserializer(tableDesc.java:64)
        at org.apache.hadoop.hive.ql.Driver.getSchema(Driver.java:119)
        at org.apache.hadoop.hive.service.HiveServer$HiveServerHandler.getSchema(HiveServer.java:124)
        at org.apache.hadoop.hive.service.ThriftHive$Processor$getSchema.process(ThriftHive.java:376)
        at org.apache.hadoop.hive.service.ThriftHive$Processor.process(ThriftHive.java:252)
        at org.apache.thrift.server.TThreadPoolServer$WorkerProcess.run(TThreadPoolServer.java:252)
        at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:885)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:907)
        at java.lang.Thread.run(Thread.java:619)


Also, select * queries sometimes cause the Hive Server getSchema() to omit the field used
to partition the table.



-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message