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 2020/03/09 14:51:14 UTC

[GitHub] [incubator-dolphinscheduler] Hackeruncle opened a new issue #2130: [BUG] not support the command "source xxx.sh"

Hackeruncle opened a new issue #2130: [BUG]  not support the command "source xxx.sh"
URL: https://github.com/apache/incubator-dolphinscheduler/issues/2130
 
 
   *For better global communication, please give priority to using English description, thx! *
   
   **Describe the bug**
   not support the command "source xxx.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.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

[GitHub] [incubator-dolphinscheduler] dailidong closed issue #2130: [BUG] not support the command "source xxx.sh"

Posted by GitBox <gi...@apache.org>.
dailidong closed issue #2130: [BUG]  not support the command "source xxx.sh"
URL: https://github.com/apache/incubator-dolphinscheduler/issues/2130
 
 
   

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

[GitHub] [incubator-dolphinscheduler] dailidong commented on issue #2130: [BUG] not support the command "source xxx.sh"

Posted by GitBox <gi...@apache.org>.
dailidong commented on issue #2130: [BUG]  not support the command "source xxx.sh"
URL: https://github.com/apache/incubator-dolphinscheduler/issues/2130#issuecomment-597012367
 
 
   I create aa.sh in the /opt/ dir on the server machine
   [root@ds opt]# cat aa.sh
   export a=2222
   
   then I get the result
   ![image](https://user-images.githubusercontent.com/15833811/76303397-9dfb6380-62fc-11ea-97ec-dfad95fe8056.png)
   
   
   
   
   
   

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

[GitHub] [incubator-dolphinscheduler] Hackeruncle commented on issue #2130: [BUG] not support the command "source xxx.sh"

Posted by GitBox <gi...@apache.org>.
Hackeruncle commented on issue #2130: [BUG]  not support the command "source xxx.sh"
URL: https://github.com/apache/incubator-dolphinscheduler/issues/2130#issuecomment-597024312
 
 
   **1.sh**
   ```
   $ cat 1.sh
   #!/bin/bash
   TEST="aaa"
   ```
   
   **upload 1.sh file to dolphinscheduler, and run on process:**
   ```
   source 1.sh
   echo $TEST
   ```
   
   **task log:**
   ```
   /tmp/dolphinscheduler/exec/process/2/20/1388/7216/20_1388_7216_node.sh
   [INFO] 2020-03-10 18:49:09.582  - [taskAppId=TASK-20-1388-7216]:[329] - task run command:
   sudo -u bigdata sh /tmp/dolphinscheduler/exec/process/2/20/1388/7216/20_1388_7216.command
   [INFO] 2020-03-10 18:49:09.588  - [taskAppId=TASK-20-1388-7216]:[158] - process start, process id is: 1907
   [INFO] 2020-03-10 18:49:09.598  - [taskAppId=TASK-20-1388-7216]:[106] -  -> /tmp/dolphinscheduler/exec/process/2/20/1388/7216/20_1388_7216_node.sh: line 1: source: 1.sh: file not found
   [INFO] 2020-03-10 18:49:09.599  - [taskAppId=TASK-20-1388-7216]:[168] - process has exited, work dir:/tmp/dolphinscheduler/exec/process/2/20/1388/7216, pid:1907 ,exitStatusCode:1
   ```

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

[GitHub] [incubator-dolphinscheduler] Hackeruncle commented on issue #2130: [BUG] not support the command "source xxx.sh"

Posted by GitBox <gi...@apache.org>.
Hackeruncle commented on issue #2130: [BUG]  not support the command "source xxx.sh"
URL: https://github.com/apache/incubator-dolphinscheduler/issues/2130#issuecomment-597019851
 
 
   Not use **export** command,you try it.

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

[GitHub] [incubator-dolphinscheduler] Hackeruncle commented on issue #2130: [BUG] not support the command "source xxx.sh"

Posted by GitBox <gi...@apache.org>.
Hackeruncle commented on issue #2130: [BUG]  not support the command "source xxx.sh"
URL: https://github.com/apache/incubator-dolphinscheduler/issues/2130#issuecomment-597396652
 
 
   @dailidong Please try again,thanks.

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services