flink-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From StephanEwen <...@git.apache.org>
Subject [GitHub] flink pull request: [FLINK-3700] [core] Add 'Preconditions' utilit...
Date Tue, 05 Apr 2016 13:30:10 GMT
GitHub user StephanEwen opened a pull request:


    [FLINK-3700] [core] Add 'Preconditions' utility class.

    The functionality that Flink uses from Guava is super simple and limited.
    We get a big dependency that has caused a lot of pain in the past, simply to get access
to some simple utility methods. This has cause us quite a bit of pain in the past, because
of Guava version conflicts and the necessary dependency shading.
    In order to reduce the dependency on Guava, this adds a simple Flink Preconditions class.
    While referencing well established libraries is a good idea for standalone apps, it is
a problem for frameworks like Flink, if the dependencies are not well-behaved with respect
to version compatibility. Guava is not well behaved in that sense.

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/StephanEwen/incubator-flink flink_preconditions

Alternatively you can review and apply these changes as the patch at:


To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #1853


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 infrastructure@apache.org or file a JIRA ticket
with INFRA.

View raw message