ziqiang-wang commented on PR #13622: URL: https://github.com/apache/dolphinscheduler/pull/13622#issuecomment-1447776885
I have a good final tip: Instead of deleting the file and uploading it, users can directly upload the file on the resource page. Then, the background checks the file name. If the file already exists in the same directory, the background prompts the user to decide whether to overwrite the file. The file is then uploaded to the hdfs without any modifications to the file information saved in the underlying table t_ds_task_definition. In this way, the entire background just reuploaded Hdfs files, and the workflow definition of the files used does not need to be offline, and can be directly executed again without error. If this file does not exist, just go back to the previous logic. This scheme works not only for shell-like tasks, but also for other types of tasks. -- 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]
