GitHub user aljoscha opened a pull request:
https://github.com/apache/flink/pull/5120
[FLINK-8186] Exclude flink-avro from flink-dist; fix AvroUtils loading
Before, AvroUtils were loaded when the class was loaded which didn't
take into account the user-code ClassLoader. Now, we try loading avro
utils with the Thread context ClassLoader.
R: @StephanEwen
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/aljoscha/flink jira-8186-fix-avro-loading
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/flink/pull/5120.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #5120
----
commit f4fcd3882e1cda108404325ada685abd38cf210d
Author: Aljoscha Krettek <[email protected]>
Date: 2017-12-04T15:14:56Z
[FLINK-8186] Exclude flink-avro from flink-dist; fix AvroUtils loading
Before, AvroUtils were loaded when the class was loaded which didn't
take into account the user-code ClassLoader. Now, we try loading avro
utils with the Thread context ClassLoader.
----
---