-
Notifications
You must be signed in to change notification settings - Fork 4.7k
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
[Improvement-15701][flink_task] supported variables of flink tasks #15708
base: dev
Are you sure you want to change the base?
Conversation
@@ -67,7 +68,7 @@ public void before() throws Exception { | |||
// "\",\"type\":\"VARCHAR\",\"value\":\"127.0.0.1:8080\"}]"); | |||
Map<String, String> gloabParams = | |||
Collections.singletonMap(PigeonTask.KEY_POOL_VAR_PIGEON_HOST, "127.0.0.1:8080"); | |||
Mockito.when(taskExecutionContext.getDefinedParams()).thenReturn(gloabParams); | |||
Mockito.when(ParameterUtils.convert(taskExecutionContext.getPrepareParamsMap())).thenReturn(gloabParams); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Modified Complete
@SbloodyS Can this milestone be put in 3.2.2? Although this is an optimization item, it is also a bug. I will deal with it quickly. |
It's more like a feature instead of bug. Minor version updates do not include features. |
received, I want to know when the next version will be released and what are the Law? |
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## dev #15708 +/- ##
============================================
- Coverage 39.11% 39.11% -0.01%
+ Complexity 4887 4886 -1
============================================
Files 1326 1326
Lines 45206 45209 +3
Branches 4818 4818
============================================
Hits 17683 17683
- Misses 25635 25637 +2
- Partials 1888 1889 +1 ☔ View full report in Codecov by Sentry. |
There is currently no release plan for version 3.3.0. For version rules, you can take a look at |
ths |
* definedParams | ||
* // todo: we need to rename definedParams, prepareParamsMap, paramsMap, this is confusing | ||
*/ | ||
private Map<String, String> definedParams; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
hi @bajiaolong definedParams
Is this parameter only used for Flink type tasks?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
hi @bajiaolong
definedParams
Is this parameter only used for Flink type tasks?
In addition to flink
, there are also MapReduce
and Pigeon
tasks in use. But this parameter seems to have no effect, because I didn't see the task place setting it. The Pigeon
task has test cases, so I revised them together.
dolphinscheduler-bom/pom.xml
Outdated
<exclusions> | ||
<exclusion> | ||
<groupId>com.google.guava</groupId> | ||
<artifactId>guava</artifactId> | ||
</exclusion> | ||
</exclusions> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm not quite sure about the scope of this impact. cc @ruanwenjun
Quality Gate failedFailed conditions |
This pull request has been automatically marked as stale because it has not had recent activity for 120 days. It will be closed in 7 days if no further activity occurs. |
1fe4274
to
aabda86
Compare
Quality Gate passedIssues Measures |
close #15701
Exclude guava information from guava-retrying dependencies,Unable to download 'com.google.guava:guava-parent:pom:31.1.0.redhat-00001 'during packaging, this version of this library does not exist at all
Delete TaskExecutionContext definedParams member variable in this class, which has not been set,and modify other calls with this reference to prepareParamsMap
Modify the
getProperties
in theAbstract Yarn
Task subclass toprepareParamsMap
Purpose of the pull request
does not take effect when flink uses parameter variables
Brief change log
1.Exclude guava information from guava-retrying dependencies,Unable to download 'com.google.guava:guava-parent:pom:31.1.0.redhat-00001 'during packaging, this version of this library does not exist at all
getProperties
in theAbstract Yarn
Task subclass toprepareParamsMap
Verify this pull request
This pull request is code cleanup without any test coverage.