Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[IOTDB-761]cherry-picked from v0.10: flink-tsfile-connecto and flink-example dependency conflict: "Some Enforcer rules have failed. Look above for specific messages explaining why the rule failed" #1365

Merged
merged 3 commits into from Jun 18, 2020

Conversation

jixuan1989
Copy link
Member

@jixuan1989 jixuan1989 commented Jun 15, 2020

There are two dependency conflicts that cause the maven failure:

Flink 1.10 uses commons-compress 1.18 while hadoop-tsfile (Hadoop 2.7.3) module uses 1.4.1;
Flink 1.10 uses commons-math3 3.1.1 while hadoop-tsfile (Hadoop 2.7.3) module uses 3.5
So, when running mvn release:parepare, exception message will be thrown like:

Some Enforcer rules have failed. Look above for specific messages explaining why the rule failed.

The solution is to exclude the stale version of those dependencies.

this is
 

@sonarcloud
Copy link

sonarcloud bot commented Jun 15, 2020

Kudos, SonarCloud Quality Gate passed!

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities (and Security Hotspot 0 Security Hotspots to review)
Code Smell A 0 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication

warning The version of Java (1.8.0_242) you have used to run this analysis is deprecated and we will stop accepting it from October 2020. Please update to at least Java 11.
Read more here

@jixuan1989 jixuan1989 requested a review from vesense June 16, 2020 09:54
@jixuan1989
Copy link
Member Author

@vesense and @sunjincheng121 , could you have a review?
(By the way, does Flink has plan to upgrade its dependencies?)

@jixuan1989 jixuan1989 merged commit b4e0981 into master Jun 18, 2020
@jixuan1989 jixuan1989 deleted the iotdb-761 branch June 18, 2020 13:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants