haozileung commented on issue #10533:
URL: 
https://github.com/apache/dolphinscheduler/issues/10533#issuecomment-1797829039

   Same issue here.
   
   After debug in worker node, it turns out that
   
   `sudo -u root -i 
/tmp/dolphinscheduler/exec/process/default/11497277068832/11497401001760_3/11/11/11_11.sh`
   
   the sudo command did not perserved the env from original shell's 
configuration.
   
   The workaround would be define an environment manually and specified when 
running the 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]

Reply via email to