wangmingzhiJohn commented on issue #5733:
URL: 
https://github.com/apache/dolphinscheduler/issues/5733#issuecomment-873340118


   ```
   [INFO] 2021-07-03 11:50:35.361  - [taskAppId=TASK-6-32-37]:[115] - create 
dir success /tmp/dolphinscheduler/exec/process/2/6/32/37
   [INFO] 2021-07-03 11:50:35.370  - [taskAppId=TASK-6-32-37]:[85] - shell task 
params {"rawScript":"echo \"here is shell\"","localParams":[],"resourceList":[]}
   [INFO] 2021-07-03 11:50:35.373  - [taskAppId=TASK-6-32-37]:[160] - raw 
script : echo "here is shell"
   [INFO] 2021-07-03 11:50:35.373  - [taskAppId=TASK-6-32-37]:[161] - task 
execute path : /tmp/dolphinscheduler/exec/process/2/6/32/37
   [INFO] 2021-07-03 11:50:35.375  - [taskAppId=TASK-6-32-37]:[87] - tenantCode 
user:root, task dir:6_32_37
   [INFO] 2021-07-03 11:50:35.376  - [taskAppId=TASK-6-32-37]:[92] - create 
command file:/tmp/dolphinscheduler/exec/process/2/6/32/37/6_32_37.command
   [INFO] 2021-07-03 11:50:35.376  - [taskAppId=TASK-6-32-37]:[111] - command : 
#!/bin/sh
   BASEDIR=$(cd `dirname $0`; pwd)
   cd $BASEDIR
   source 
/data1/wangmingzhi/apache-dolphinscheduler-1.3.6-bin/conf/env/dolphinscheduler_env.sh
   /tmp/dolphinscheduler/exec/process/2/6/32/37/6_32_37_node.sh
   [INFO] 2021-07-03 11:50:35.378  - [taskAppId=TASK-6-32-37]:[327] - task run 
command:
   sudo -u root sh /tmp/dolphinscheduler/exec/process/2/6/32/37/6_32_37.command
   [INFO] 2021-07-03 11:50:35.379  - [taskAppId=TASK-6-32-37]:[208] - process 
start, process id is: 28679
   [INFO] 2021-07-03 11:50:35.380  - [taskAppId=TASK-6-32-37]:[217] - process 
has exited, execute path:/tmp/dolphinscheduler/exec/process/2/6/32/37, 
processId:28679 ,exitStatusCode:0
   [INFO] 2021-07-03 11:50:36.380  - [taskAppId=TASK-6-32-37]:[129] -  -> 
/usr/bin/nohup: invalid option -- 'u'
        Try '/usr/bin/nohup --help' for more information.
   ```
   From the log, I supposed that 
`/tmp/dolphinscheduler/exec/process/2/6/32/37/6_32_37.command` is 
   ```
   #!/bin/sh
   BASEDIR=$(cd `dirname $0`; pwd)
   cd $BASEDIR
   source 
/data1/wangmingzhi/apache-dolphinscheduler-1.3.6-bin/conf/env/dolphinscheduler_env.sh
   /tmp/dolphinscheduler/exec/process/2/6/32/37/6_32_37_node.sh
   ```
   And I am curious about what is in 
`/tmp/dolphinscheduler/exec/process/2/6/32/37/6_32_37_node.sh`


-- 
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