2024-09-01
Python
00

谁能想到,dolphinscheduler 报这个是因为调用命令写错了呢?

2021-11-11 14:37:15.520 - ShellTask.java:92 - INFO - shell task params {"rawScript":"/home/dolphinscheduler/miniconda3/envs/py37kevin/bin/python /home/dolphinscheduler/miniconda3/envs/py37kevin/bin/python nation_fire_update_forcast.py","localParams":[],"resourceList":[{"res":"nation_fire_update_forcast.py"},{"res":"util_nrisk.py"}]} 2021-11-11 14:37:15.521 - ShellTask.java:151 - INFO - raw script : /home/dolphinscheduler/miniconda3/envs/py37kevin/bin/python /home/dolphinscheduler/miniconda3/envs/py37kevin/bin/python nation_fire_update_forcast.py 2021-11-11 14:37:15.521 - ShellTask.java:152 - INFO - task dir : /home/dolphinscheduler-master/exec/process/1/30/36810/37102 2021-11-11 14:37:15.521 - ShellCommandExecutor.java:99 - INFO - tenantCode user:dolphinscheduler, task dir:30_36810_37102 2021-11-11 14:37:15.521 - ShellCommandExecutor.java:103 - INFO - create command file:/home/dolphinscheduler-master/exec/process/1/30/36810/37102/30_36810_37102.command 2021-11-11 14:37:15.521 - ShellCommandExecutor.java:116 - INFO - command : #!/bin/sh BASEDIR=$(cd `dirname $0`; pwd) cd $BASEDIR source /home/dolphinscheduler/data1_1T/dolphinscheduler/conf/env/dolphinscheduler_env.sh /home/dolphinscheduler-master/exec/process/1/30/36810/37102/30_36810_37102_node.sh 2021-11-11 14:37:15.522 - AbstractCommandExecutor.java:329 - INFO - task run command: sudo -u dolphinscheduler sh /home/dolphinscheduler-master/exec/process/1/30/36810/37102/30_36810_37102.command 2021-11-11 14:37:15.526 - AbstractCommandExecutor.java:158 - INFO - process start, process id is: 1764 2021-11-11 14:37:15.557 - AbstractTask.java:106 - INFO - -> File "/home/dolphinscheduler/miniconda3/envs/py37kevin/bin/python", line 1 SyntaxError: Non-UTF-8 code starting with '\xa1' in file /home/dolphinscheduler/miniconda3/envs/py37kevin/bin/python on line 2, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details 2021-11-11 14:37:15.558 - AbstractCommandExecutor.java:168 - INFO - process has exited, work dir:/home/dolphinscheduler-master/exec/process/1/30/36810/37102, pid:1764 ,exitStatusCode:1
如果对你有用的话,可以打赏哦
打赏
ali pay
wechat pay

本文作者:Dong

本文链接:

版权声明:本博客所有文章除特别声明外,均采用 CC BY-NC。本作品采用《知识共享署名-非商业性使用 4.0 国际许可协议》进行许可。您可以在非商业用途下自由转载和修改,但必须注明出处并提供原作者链接。 许可协议。转载请注明出处!