java.lang.ClassCastException: org.apache.crunch.types.avro.AvroType cannot be cast to org.apache.crunch.types.PGroupedTableType

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via crunch-user by David Ortiz, 1 year ago
org.apache.crunch.types.avro.AvroType cannot be cast to org.apache.crunch.types.PGroupedTableType
via crunch-user by David Ortiz, 1 year ago
org.apache.crunch.types.avro.AvroType cannot be cast to org.apache.crunch.types.PGroupedTableType
via crunch-user by David Ortiz, 1 year ago
org.apache.crunch.types.avro.AvroType cannot be cast to org.apache.crunch.types.PGroupedTableType
via crunch-user by Josh Wills, 4 months ago
org.apache.crunch.types.avro.AvroType cannot be cast to org.apache.crunch.types.PGroupedTableType
via crunch-user by Josh Wills, 4 months ago
org.apache.crunch.types.avro.AvroType cannot be cast to org.apache.crunch.types.PGroupedTableType
java.lang.ClassCastException: org.apache.crunch.types.avro.AvroType cannot be cast to org.apache.crunch.types.PGroupedTableType
at org.apache.crunch.impl.mr.plan.DoNode.toRTNode(DoNode.java:144)
at org.apache.crunch.impl.mr.plan.JobPrototype.serialize(JobPrototype.java:243)
at org.apache.crunch.impl.mr.plan.JobPrototype.build(JobPrototype.java:188)
at org.apache.crunch.impl.mr.plan.JobPrototype.getCrunchJob(JobPrototype.java:134)
at org.apache.crunch.impl.mr.plan.MSCRPlanner.plan(MSCRPlanner.java:200)
at org.apache.crunch.impl.mr.MRPipeline.plan(MRPipeline.java:111)
at org.apache.crunch.impl.mr.MRPipeline.runAsync(MRPipeline.java:132)
at org.apache.crunch.impl.mr.MRPipeline.run(MRPipeline.java:120)
at org.apache.crunch.impl.dist.DistributedPipeline.done(DistributedPipeline.java:119)
at com.videologygroup.crunch.FteWarehouse.run(FteWarehouse.java:212)
at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:70)
at com.videologygroup.crunch.FteWarehouse.main(FteWarehouse.java:339)
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:606)

Users with the same issue

You are the first who have seen this exception. Write a tip to help other users and build your expert profile.

Know the solutions? Share your knowledge to help other developers to debug faster.