Github user aljoscha commented on the issue:
https://github.com/apache/flink/pull/4636
Thanks for reviewing @EronWright and @zentol. I pushed some more commits
that address your comments.
I did check the approach of first using `Class.forName()` and then using
the class normally by building a Hadoop-free Flink and running a cluster and
some examples. I think the class loader only loads classes if they appear in
method signatures or fields, not when classes only appear in code.
@EronWright Yes, your hunch is correct and I did check this on GCE
(dataproc)and AWS(EMR). This is actually quite nice because you can now build a
Hadoop-free Flink and only use the Hadoop dependencies provided by your distro.
---