You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hive.apache.org by "Zoltan Haindrich (JIRA)" <ji...@apache.org> on 2018/05/02 15:28:00 UTC

[jira] [Resolved] (HIVE-19238) ClassCastException: StandardStructObjectInspector cannot be cast to PrimitiveObjectInspector

     [ https://issues.apache.org/jira/browse/HIVE-19238?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Zoltan Haindrich resolved HIVE-19238.
-------------------------------------
    Resolution: Cannot Reproduce

This might get fixed along the way; I currently use a more recent version - and this problem doesn't happen anymore.

> ClassCastException: StandardStructObjectInspector cannot be cast to PrimitiveObjectInspector
> --------------------------------------------------------------------------------------------
>
>                 Key: HIVE-19238
>                 URL: https://issues.apache.org/jira/browse/HIVE-19238
>             Project: Hive
>          Issue Type: Bug
>            Reporter: Zoltan Haindrich
>            Priority: Major
>
> while running tpcds#28 ; on a ~2 week old master:
> {code}
> org.apache.hive.service.cli.HiveSQLException: Error while compiling statement: FAILED: ClassCastException org.apache.hadoop.hive.serde2.objectinspector.StandardStructObjectInspector cannot be cast to org.apache.hadoop.hive.serde2.objectinspector.PrimitiveObjectInspector
>         at org.apache.hive.service.cli.operation.Operation.toSQLException(Operation.java:308) ~[hive-service-3.0.0.3.0.0.0-1075.jar:3.0.0.3.0.0.0-1075]
>         at org.apache.hive.service.cli.operation.SQLOperation.prepare(SQLOperation.java:196) ~[hive-service-3.0.0.3.0.0.0-1075.jar:3.0.0.3.0.0.0-1075]
>         at org.apache.hive.service.cli.operation.SQLOperation.runInternal(SQLOperation.java:257) ~[hive-service-3.0.0.3.0.0.0-1075.jar:3.0.0.3.0.0.0-1075]
>         at org.apache.hive.service.cli.operation.Operation.run(Operation.java:243) ~[hive-service-3.0.0.3.0.0.0-1075.jar:3.0.0.3.0.0.0-1075]
>         at org.apache.hive.service.cli.session.HiveSessionImpl.executeStatementInternal(HiveSessionImpl.java:541) ~[hive-service-3.0.0.3.0.0.0-1075.jar:3.0.0.3.0.0.0-1075]
>         at org.apache.hive.service.cli.session.HiveSessionImpl.executeStatementAsync(HiveSessionImpl.java:527) ~[hive-service-3.0.0.3.0.0.0-1075.jar:3.0.0.3.0.0.0-1075]
>         at org.apache.hive.service.cli.CLIService.executeStatementAsync(CLIService.java:311) ~[hive-service-3.0.0.3.0.0.0-1075.jar:3.0.0.3.0.0.0-1075]
>         at org.apache.hive.service.cli.thrift.ThriftCLIService.ExecuteStatement(ThriftCLIService.java:564) [hive-service-3.0.0.3.0.0.0-1075.jar:3.0.0.3.0.0.0-1075]
>         at org.apache.hive.service.rpc.thrift.TCLIService$Processor$ExecuteStatement.getResult(TCLIService.java:1557) [hive-exec-3.0.0.3.0.0.0-1075.jar:3.0.0.3.0.0.0-1075]
>         at org.apache.hive.service.rpc.thrift.TCLIService$Processor$ExecuteStatement.getResult(TCLIService.java:1542) [hive-exec-3.0.0.3.0.0.0-1075.jar:3.0.0.3.0.0.0-1075]
>         at org.apache.thrift.ProcessFunction.process(ProcessFunction.java:39) [hive-exec-3.0.0.3.0.0.0-1075.jar:3.0.0.3.0.0.0-1075]
>         at org.apache.thrift.TBaseProcessor.process(TBaseProcessor.java:39) [hive-exec-3.0.0.3.0.0.0-1075.jar:3.0.0.3.0.0.0-1075]
>         at org.apache.hive.service.auth.TSetIpAddressProcessor.process(TSetIpAddressProcessor.java:56) [hive-service-3.0.0.3.0.0.0-1075.jar:3.0.0.3.0.0.0-1075]
>         at org.apache.thrift.server.TThreadPoolServer$WorkerProcess.run(TThreadPoolServer.java:286) [hive-exec-3.0.0.3.0.0.0-1075.jar:3.0.0.3.0.0.0-1075]
>         at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) [?:1.8.0_112]
>         at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) [?:1.8.0_112]
>         at java.lang.Thread.run(Thread.java:745) [?:1.8.0_112]
> {code}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)