You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@dolphinscheduler.apache.org by GitBox <gi...@apache.org> on 2021/11/04 02:54:10 UTC

[GitHub] [dolphinscheduler] cconlyou commented on issue #5213: [Bug][Worker] error:Text file busy

cconlyou commented on issue #5213:
URL: https://github.com/apache/dolphinscheduler/issues/5213#issuecomment-960412950


   We got the same error too,and I guess a possible reason : The function java.nio.file.Files.write(...) no need close. sometimes this script is still being writing by the system when executed.
   
   Code can see in DataxTask.java
   `
   public class DataxTask extends AbstractTaskExecutor {
   ...
   private String buildShellCommandFile(...
   ...
   Files.write(path, dataxCommand.getBytes(), StandardOpenOption.APPEND);
   ...
   }
   `


-- 
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: commits-unsubscribe@dolphinscheduler.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org