Skip to content

Compatible with flink1.10 or newer#2952

Merged
davidzollo merged 4 commits intoapache:devfrom
lijufeng2016:dev-lijufeng
Jun 12, 2020
Merged

Compatible with flink1.10 or newer#2952
davidzollo merged 4 commits intoapache:devfrom
lijufeng2016:dev-lijufeng

Conversation

@lijufeng2016
Copy link
Copy Markdown
Contributor

Tips

What is the purpose of the pull request

from flink1.10 version,flink removed "-yn" param,when config flink dag on ui,it would make error when Woker execute the flink dag script,I changed the ui code and user can choose flink version,which is <1.10 or >=1.10,when user choose >=1.10, it would remove "-yn" param in Worker

Brief change log

  • changed flink ui dag config page
  • changed flink comand builder in Worker

Verify this pull request

This change added tests and can be verified as follows:

  • *Config a flink dag by ui In the environment of flink1.10 or previously version *
  • Verify the command which Worker build

@codecov-commenter
Copy link
Copy Markdown

codecov-commenter commented Jun 10, 2020

Codecov Report

Merging #2952 into dev will decrease coverage by 0.14%.
The diff coverage is 55.55%.

Impacted file tree graph

@@             Coverage Diff              @@
##                dev    #2952      +/-   ##
============================================
- Coverage     38.14%   37.99%   -0.15%     
+ Complexity     2620     2613       -7     
============================================
  Files           436      436              
  Lines         20079    20084       +5     
  Branches       2443     2444       +1     
============================================
- Hits           7659     7631      -28     
- Misses        11711    11742      +31     
- Partials        709      711       +2     
Impacted Files Coverage Δ Complexity Δ
...inscheduler/common/task/flink/FlinkParameters.java 18.75% <0.00%> (-1.25%) 6.00 <0.00> (ø)
.../dolphinscheduler/server/utils/FlinkArgsUtils.java 87.03% <83.33%> (-1.43%) 10.00 <0.00> (ø)
.../server/worker/processor/TaskExecuteProcessor.java 10.16% <0.00%> (-27.12%) 1.00% <0.00%> (-2.00%)
...he/dolphinscheduler/common/thread/ThreadUtils.java 68.25% <0.00%> (-9.53%) 13.00% <0.00%> (-2.00%)
...he/dolphinscheduler/api/service/LoggerService.java 82.60% <0.00%> (-8.70%) 9.00% <0.00%> (-1.00%)
...nscheduler/server/entity/TaskExecutionContext.java 89.10% <0.00%> (-3.97%) 61.00% <0.00%> (-2.00%)
...inscheduler/common/task/sqoop/SqoopParameters.java 74.00% <0.00%> (-2.00%) 25.00% <0.00%> (ø%)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 87d0379...0f88c38. Read the comment docs.

@break60
Copy link
Copy Markdown
Contributor

break60 commented Jun 11, 2020

front end +1

Copy link
Copy Markdown
Contributor

@davidzollo davidzollo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

+1

@sonarqubecloud
Copy link
Copy Markdown

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

57.1% 57.1% Coverage
0.0% 0.0% Duplication

warning The version of Java (1.8.0_252) 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

@davidzollo davidzollo merged commit 284c50f into apache:dev Jun 12, 2020
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.

4 participants