Skip to content

Common Exceptions and possible reasons

Adam Ilardi edited this page Oct 15, 2013 · 27 revisions

java.lang.NoClassDefFoundError

This is probably when you are missing a dependency, or have a problem with the binary version of a dependency. Some libraries required at run time, such as Hadoop and many of Hadoop's includes, are expected to be on the classpath and are not bundled by Scalding itself. So check for that.

java.lang.AbstractMethodError

This probably is also a jar version problem.

java.lang.NoSuchMethodError

This probably is also a jar version problem.

java.util.zip.ZipException

: invalid CEN header (bad signature)

This is the jar file exceeding 64k problem. The solution is to use --bundle option of scald.rb.

cascading.flow.planner.PlannerException

Cascading requires all sources to have final sinks on disk. This exception happens when you miss an output for an input.

It also could signify an attempt to write an unserializable datatype.

com.twitter.scalding.InvalidSourceException

This happens when data is missing from the path you provied.

java.lang.RuntimeException: Please only provide a single value for --

Try putting quotes around your input value

Contents

Getting help

Documentation

Matrix API

Third Party Modules

Videos

How-tos

Tutorials

Articles

Other

Clone this wiki locally