remove Hadoop task dependency on Java 8