java.lang.IllegalArgumentException: Key type must be of class WritableType

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 Micah Whitacre, 4 months ago
Key type must be of class WritableType
via crunch-user by David Ortiz, 4 months ago
Key type must be of class WritableType
via crunch-user by Kristoffer Sjögren, 4 months ago
Key type must be of class WritableType
via crunch-user by David Ortiz, 4 months ago
Key type must be of class WritableType
via crunch-user by Kristoffer Sjögren, 1 year ago
Key type must be of class WritableType
via crunch-user by Kristoffer Sjögren, 4 months ago
Key type must be of class WritableType
java.lang.IllegalArgumentException: Key type must be of class WritableType
at org.apache.crunch.types.writable.Writables.tableOf(Writables.java:351)
at org.apache.crunch.types.writable.WritableTypeFamily.tableOf(WritableTypeFamily.java:95)
at org.apache.crunch.lib.Aggregate.count(Aggregate.java:65)
at org.apache.crunch.lib.Aggregate.count(Aggregate.java:56)
at org.apache.crunch.impl.mem.collect.MemCollection.count(MemCollection.java:230)
at mapred.functions.FunctionsTest.testGroupActionCount(FunctionsTest.java:79)

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.