FLINK-1276

Fixes FLINK-1276
I actually added this check on purpose to avoid a confusing error message in local execution (out of the IDE), where Hadoop is frequently not in the classpath.