Uploaded image for project: 'Hive'
  1. Hive
  2. HIVE-19238

ClassCastException: StandardStructObjectInspector cannot be cast to PrimitiveObjectInspector

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Cannot Reproduce
    • None
    • None
    • None
    • None

    Description

      while running tpcds#28 ; on a ~2 week old master:

      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]
      

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              kgyrtkirk Zoltan Haindrich
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: