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/02/10 13:58:57 UTC
[GitHub] [incubator-dolphinscheduler] jamee-wang opened a new issue #1927:
[BUG] datax task execute failed
jamee-wang opened a new issue #1927: [BUG] datax task execute failed
URL: https://github.com/apache/incubator-dolphinscheduler/issues/1927
**Describe the bug**
datax node task execute failed, error:
[INFO] 2020-02-10 18:54:04.298 - [taskAppId=TASK-4-16-20]:[99] - tenantCode user:tester, task dir:4_16_20
[INFO] 2020-02-10 18:54:04.300 - [taskAppId=TASK-4-16-20]:[103] - create command file:/tmp/dolphinscheduler/exec/process/3/4/16/20/4_16_20.command
[INFO] 2020-02-10 18:54:04.301 - [taskAppId=TASK-4-16-20]:[116] - command : #!/bin/sh
BASEDIR=$(cd `dirname $0`; pwd)
cd $BASEDIR
source /work/dolphinscheduler/conf/env/dolphinscheduler_env.sh
/tmp/dolphinscheduler/exec/process/3/4/16/20/4_16_20_node.sh
[INFO] 2020-02-10 18:54:04.303 - [taskAppId=TASK-4-16-20]:[333] - task run command:
sudo -u tester sh /tmp/dolphinscheduler/exec/process/3/4/16/20/4_16_20.command
[INFO] 2020-02-10 18:54:04.313 - [taskAppId=TASK-4-16-20]:[155] - process start, process id is: 14777
[INFO] 2020-02-10 18:54:04.343 - [taskAppId=TASK-4-16-20]:[107] - -> /usr/bin/python2.7: can't find '__main__' module in '/work/datax'
[INFO] 2020-02-10 18:54:04.343 - [taskAppId=TASK-4-16-20]:[165] - process has exited, work dir:/tmp/dolphinscheduler/exec/process/3/4/16/20, pid:14777 ,exitStatusCode:1
**To Reproduce**
1. install dolphinscheduler from dev branch package;
2. install datax on worker node;
3. create process with datax task
4. run the process
**Expected behavior**
datax task execute successfully, and data import to target table
**Which version of Dolphin Scheduler:**
-[dev]
**Additional context**
set DATAX_HOME to full path of datax.py, the task can be executed successfully.
**Requirement or improvement
- DATAX_HOME should only be the datax root path
----------------------------------------------------------------
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] wenhemin commented on issue #1927:
[BUG] datax task execute failed
Posted by GitBox <gi...@apache.org>.
wenhemin commented on issue #1927: [BUG] datax task execute failed
URL: https://github.com/apache/incubator-dolphinscheduler/issues/1927#issuecomment-584467660
Please look at the .dolphinscheduler_env.sh file
Can refer to this configuration:
export DATAX_HOME=/opt/datax/bin/datax.py
----------------------------------------------------------------
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] wenhemin edited a comment on issue
#1927: [BUG] datax task execute failed
Posted by GitBox <gi...@apache.org>.
wenhemin edited a comment on issue #1927: [BUG] datax task execute failed
URL: https://github.com/apache/incubator-dolphinscheduler/issues/1927#issuecomment-584467660
@jamee-wang
Please look at the .dolphinscheduler_env.sh file
Can refer to this configuration:
export DATAX_HOME=/opt/datax/bin/datax.py
----------------------------------------------------------------
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 #1927:
[BUG] datax task execute failed
Posted by GitBox <gi...@apache.org>.
dailidong commented on issue #1927: [BUG] datax task execute failed
URL: https://github.com/apache/incubator-dolphinscheduler/issues/1927#issuecomment-584464912
@wenhemin , could you help to solve this issue?
----------------------------------------------------------------
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] wenhemin commented on issue #1927:
[BUG] datax task execute failed
Posted by GitBox <gi...@apache.org>.
wenhemin commented on issue #1927: [BUG] datax task execute failed
URL: https://github.com/apache/incubator-dolphinscheduler/issues/1927#issuecomment-593231859
> is this issue been solved?
>
> BTW,
> @wenhemin I think write instructions about datax on the official website will be better?how do you think?
OK, I add.
----------------------------------------------------------------
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 #1927:
[BUG] datax task execute failed
Posted by GitBox <gi...@apache.org>.
dailidong commented on issue #1927: [BUG] datax task execute failed
URL: https://github.com/apache/incubator-dolphinscheduler/issues/1927#issuecomment-585274102
is this issue been solved?
BTW,
@wenhemin I think write instructions about datax on the official website will be better?how do you think?
----------------------------------------------------------------
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] xingchun-chen closed issue #1927: [BUG] datax task execute failed
Posted by GitBox <gi...@apache.org>.
xingchun-chen closed issue #1927:
URL: https://github.com/apache/incubator-dolphinscheduler/issues/1927
----------------------------------------------------------------
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
[GitHub] [incubator-dolphinscheduler] xingchun-chen commented on issue #1927: [BUG] datax task execute failed
Posted by GitBox <gi...@apache.org>.
xingchun-chen commented on issue #1927:
URL: https://github.com/apache/incubator-dolphinscheduler/issues/1927#issuecomment-722118937
Whether your problem has been resolved?
----------------------------------------------------------------
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