-
Notifications
You must be signed in to change notification settings - Fork 4.6k
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
[Feature-10219][EMR] EMR supports use <add-Steps> to add steps to an existing cluster #10657
Conversation
…existing cluster * Add the ProgramType parameter to distinguish task types * EmrAddStepsTask supports Add-Steps * UI supports Add-Steps * EmrTask modify the name of the class to EmrJobFlowTask * add ERM Task abstract base class AbstractEmrTask * add testcase for EmrAddStepsTask * Modifying help Documents
@guodongym Thanks to bring this up, and I personally hope it can merge soon |
...uler-task-emr/src/main/java/org/apache/dolphinscheduler/plugin/task/emr/AbstractEmrTask.java
Outdated
Show resolved
Hide resolved
...uler-task-emr/src/main/java/org/apache/dolphinscheduler/plugin/task/emr/AbstractEmrTask.java
Show resolved
Hide resolved
BTW, doc conflict here |
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.
The front end part LGTM.
# Conflicts: # docs/docs/en/guide/task/emr.md
Codecov Report
@@ Coverage Diff @@
## dev #10657 +/- ##
============================================
+ Coverage 40.64% 40.68% +0.03%
- Complexity 4820 4833 +13
============================================
Files 913 916 +3
Lines 36306 36375 +69
Branches 3993 3997 +4
============================================
+ Hits 14756 14798 +42
- Misses 20078 20106 +28
+ Partials 1472 1471 -1
Continue to review full report at Codecov.
|
...eduler-task-emr/src/main/java/org/apache/dolphinscheduler/plugin/task/emr/EmrParameters.java
Outdated
Show resolved
Hide resolved
| jobFlowDefineJson | JSON corresponding to the [RunJobFlowRequest](https://docs.aws.amazon.com/AWSJavaSDK/latest/javadoc/com/amazonaws/services/elasticmapreduce/model/RunJobFlowRequest.html) object, for details refer to [API_RunJobFlow_Examples](https://docs.aws.amazon.com/emr/latest/APIReference/API_RunJobFlow.html#API_RunJobFlow_Examples). | | ||
| stepsDefineJson | JSON corresponding to the [AddJobFlowStepsRequest](https://docs.aws.amazon.com/AWSJavaSDK/latest/javadoc/com/amazonaws/services/elasticmapreduce/model/AddJobFlowStepsRequest.html) object, for details refer to [API_AddJobFlowSteps_Examples](https://docs.aws.amazon.com/emr/latest/APIReference/API_AddJobFlowSteps.html#API_AddJobFlowSteps_Examples). | |
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.
could you migreate these two type as child or program type
? just like Deployment mode
in https://github.com/apache/dolphinscheduler/blob/dev/docs/docs/en/guide/task/spark.md ?
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.
These two parameters are not two types, but two elements that need to be filled in the form. I think they need to be specified separately
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.
But does we can fill both two element in the single task?
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.
BTW, can you add some screenshots for this task? I find it missing the screenshot in our docs, you can find some example in https://dolphinscheduler.apache.org/en-us/docs/dev/user_doc/guide/task/shell.html
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.
But does we can fill both two element in the single task?
No, must to have a type to tell the difference, because the API that connects to AWS is completely different
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.
BTW, can you add some screenshots for this task? I find it missing the screenshot in our docs, you can find some example in https://dolphinscheduler.apache.org/en-us/docs/dev/user_doc/guide/task/shell.html
yes, i can
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.
Done !
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.
But does we can fill both two element in the single task?
No, must to have a type to tell the difference, because the API that connects to AWS is completely different
If they can not fill the form in the same time, I think they should be in two different way here. but I do not have strong opinion
…existing cluster * Fix document conflicts * Fix code review comments * add some screenshots for this task
Kudos, SonarCloud Quality Gate passed! |
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.
LGTM, thanks
close #10219
Purpose of the pull request
Brief change log
Verify this pull request
This pull request is code cleanup without any test coverage.
(or)
This pull request is already covered by existing tests, such as (please describe tests).
(or)
This change added tests and can be verified as follows: