java.lang.RuntimeException

MetaException(message:org.apache.hadoop.hive.serde2.SerDeException java.lang.ClassCastE\ xception: class org.apache.hadoop.hive.serde2.proto.test.Complexpb$Complex)

Samebug tips0

There are no available Samebug tips for this exception. If you know how to solve this issue, help other users by writing a short tip.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web9452

  • MetaException(message:org.apache.hadoop.hive.serde2.SerDeException java.lang.ClassCastE\ xception: class org.apache.hadoop.hive.serde2.proto.test.Complexpb$Complex)
  • MetaException(message:org.apache.hadoop.hive.serde2.SerDeException java.lang.ClassCastException: org.apache.hadoop.hive.contrib.serde2.RegexSerDe cannot be cast to org.apache.hadoop.hive.serde2.Deserializer)
  • via nabble.com by Unknown author, 1 year ago
    MetaException(message:org.apache.hadoop.hive.serde2.SerDeException org.apache.hadoop.hive.hbase.HBaseSerDe: columns has 206 elements while hbase.columns.mapping has 163 elements (counting the key if implicit))
  • Stack trace

    • java.lang.RuntimeException: MetaException(message:org.apache.hadoop.hive.serde2.SerDeException java.lang.ClassCastE\ xception: class org.apache.hadoop.hive.serde2.proto.test.Complexpb$Complex) at org.apache.hadoop.hive.ql.metadata.Hive.createTable(Hive.java:603) at org.apache.hadoop.hive.ql.exec.DDLTask.createTable(DDLTask.java:3640) at org.apache.hadoop.hive.ql.exec.DDLTask.execute(DDLTask.java:251) at org.apache.hadoop.hive.ql.exec.Task.executeTask(Task.java:151) at org.apache.hadoop.hive.ql.exec.TaskRunner.runSequential(TaskRunner.java:65) at org.apache.hadoop.hive.ql.Driver.launchTask(Driver.java:1424) at org.apache.hadoop.hive.ql.Driver.execute(Driver.java:1204) at org.apache.hadoop.hive.ql.Driver.runInternal(Driver.java:1009) at org.apache.hadoop.hive.ql.Driver.run(Driver.java:881) at org.apache.hadoop.hive.cli.CliDriver.processLocalCmd(CliDriver.java:259) at org.apache.hadoop.hive.cli.CliDriver.processCmd(CliDriver.java:216) at org.apache.hadoop.hive.cli.CliDriver.processLine(CliDriver.java:413) at org.apache.hadoop.hive.cli.CliDriver.executeDriver(CliDriver.java:782) at org.apache.hadoop.hive.cli.CliDriver.run(CliDriver.java:675) at org.apache.hadoop.hive.cli.CliDriver.main(CliDriver.java:614) 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: java.lang.RuntimeException: MetaException(message:org.apache.hadoop.hive.serde2.SerDeException java.lang.ClassCastException: class org.apache.hadoop.hive.serde2.proto.test.Complexpb$Complex) at org.apache.hadoop.hive.ql.metadata.Table.getDeserializerFromMetaStore(Table.java:275) at org.apache.hadoop.hive.ql.metadata.Table.getDeserializer(Table.java:266) at org.apache.hadoop.hive.ql.metadata.Table.getCols(Table.java:592) at org.apache.hadoop.hive.ql.metadata.Hive.createTable(Hive.java:577) ... 19 more

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    You’re the first here who have seen this exception.