GitHub user mxm opened a pull request:
https://github.com/apache/flink/pull/950
Cascading changes for compatibility
@fhueske and me are working on getting Cascading to run on top of Flink.
These two commits introduce changes that were necessary to make the translation
possible.
Up to debate is the second commit, which loads the userclassloader before
calling `configure` on an InputFormat. This is necessary because Cascading has
its own interface that needs to be wrapped inside a Flink `InputFormat`.
Usually, all dependencies are loaded upon instantiation of the class. However,
Cascading loads its own input format while `configure(config)` is called (via
the class name inside the passed config). Without the changes, this leads to a
ClassNotFoundException.
Let me know what you think about it.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/mxm/flink cascading-dev
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/flink/pull/950.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 #950
----
commit 433fec2a90b5e868d0c3b7fa258b85c32345b954
Author: Fabian Hueske <[email protected]>
Date: 2015-07-16T22:31:09Z
[cascading] add getJobConf() to HadoopInputSplit
commit a81582c3cf59952381ce5fb9e15adeb775fcbff7
Author: Maximilian Michels <[email protected]>
Date: 2015-07-29T12:51:14Z
[cascading] load user classloader when configuring InputFormat
----
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---