-
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][Resource Center] One-time migration script for unmanaged resources #13512
Conversation
Codecov Report
@@ Coverage Diff @@
## dev #13512 +/- ##
============================================
- Coverage 39.60% 39.59% -0.02%
+ Complexity 4356 4354 -2
============================================
Files 1097 1097
Lines 41156 41131 -25
Branches 4714 4696 -18
============================================
- Hits 16299 16284 -15
+ Misses 23047 23034 -13
- Partials 1810 1813 +3
📣 We’re building smart automated test selection to slash your CI/CD build times. 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.
Please add some docs.
Done, PTAL. @SbloodyS |
Co-authored-by: kezhenxu94 <[email protected]>
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.
+1
@Radeity Please check the failed CI. |
...r-tools/src/main/java/org/apache/dolphinscheduler/tools/resource/MigrateResourceService.java
Outdated
Show resolved
Hide resolved
…er/tools/resource/MigrateResourceService.java Co-authored-by: kezhenxu94 <[email protected]>
Which one do you mean? |
SonarCloud Quality Gate failed. |
Purpose of the pull request
Brief change log
Provide one-time migration script for managing out-dated resources, after refactoring, they can not be managed by new resource center.
Usage of the script: (example)
abc
.$DOLPHINSCHEDULER_HOME/tools/bin/migrate-resource.sh abc
.migrate
, e.g. resourcea/b.sh
will migrate to{TENANT_BASE_DIR}/resources/.migrate/a/b.sh
, udfx/y.jar
will migrate to{TENANT_BASE_DIR}/udf/.migrate/x/y.jar
.Update
resourceName
int_ds_udfs
table if there are udfs bind with migrated resources.Verify this pull request