Radeity opened a new pull request, #13512:
URL: https://github.com/apache/dolphinscheduler/pull/13512

   <!--Thanks very much for contributing to Apache DolphinScheduler. Please 
review 
https://dolphinscheduler.apache.org/en-us/community/development/pull-request.html
 before opening a pull request.-->
   
   ## Purpose of the pull request
   
   - A sub-task of https://github.com/apache/dolphinscheduler/issues/13395
   
   ## 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)
   
      - User assigns an existed target tenant `abc`.
      - Run script with: `$DOLPHINSCHEDULER_HOME/tools/bin/migrate-resource.sh 
abc`
      - All resources will migrate to specific target tenant's temporary 
migrate directory `.migrate`, e.g. resource `a/b.sh` will migrate to 
`{TENANT_BASE_DIR}/resources/.migrate/a/b.sh`, udf `x/y.jar` will migrate to 
`{TENANT_BASE_DIR}/udf/.migrate/x/y.jar`.
   
   - Update `resourceName` in `t_ds_udfs` table if there are udfs bind with 
migrated resources.
   
   
   <!--*(for example:)*
   - *Add maven-checkstyle-plugin to root pom.xml*
   -->
   
   ## Verify this pull request
   
   - Manually tested.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to