lslone commented on issue #2445: The shell dispatching hive script failed to 
execute!!
URL: 
https://github.com/apache/incubator-dolphinscheduler/issues/2445#issuecomment-615008485
 
 
   > @qiaozhanwei
   
   详细日志
   
   [INFO] 2020-04-17 10:47:07.675 
org.apache.dolphinscheduler.common.queue.TaskQueueZkImpl:[211] - consume tasks: 
[2_28_1_29_2886865333,2886865330,2886865331],there still have 0 tasks need to 
be executed
   [INFO] 2020-04-17 10:47:07.695 
org.apache.dolphinscheduler.server.worker.runner.FetchTaskThread:[208] - worker 
fetch taskId : 29 from queue
   [INFO] 2020-04-17 10:47:07.696 
org.apache.dolphinscheduler.server.worker.runner.FetchTaskThread:[218] - task 
instance  local execute path : /tmp/dolphinscheduler/exec/process/1/1/28/29
   [INFO] 2020-04-17 10:47:07.697 
org.apache.dolphinscheduler.server.worker.runner.FetchTaskThread:[229] - task : 
29 ready to submit to task scheduler thread
   [INFO] 2020-04-17 10:47:07.697 
org.apache.dolphinscheduler.common.queue.TaskQueueZkImpl:[278] - consume task 
/dolphinscheduler/tasks_queue/2_28_1_29_2886865333,2886865330,2886865331
   [INFO] 2020-04-17 10:47:07.705 
org.apache.dolphinscheduler.server.worker.runner.TaskScheduleThread:[93] - 
script path : /tmp/dolphinscheduler/exec/process/1/1/28/29
   [INFO] 2020-04-17 10:47:07.708 
org.apache.dolphinscheduler.server.worker.runner.TaskScheduleThread:[313] - get 
resource file from hdfs :/dolphinscheduler/root/resources/ods_to_dwd_log.sh
   [INFO] 2020-04-17 10:47:07.722  - [taskAppId=TASK-1-28-29]:[92] - shell task 
params {"rawScript":"sh ods_to_dwd_log.sh $(date 
\"+%Y-%m-%d\")\n","localParams":[],"resourceList":[{"res":"ods_to_dwd_log.sh"}]}
   [INFO] 2020-04-17 10:47:07.722  - [taskAppId=TASK-1-28-29]:[150] - raw 
script : sh ods_to_dwd_log.sh $(date "+%Y-%m-%d")
   
   [INFO] 2020-04-17 10:47:07.723  - [taskAppId=TASK-1-28-29]:[151] - task dir 
: /tmp/dolphinscheduler/exec/process/1/1/28/29
   [INFO] 2020-04-17 10:47:07.723  - [taskAppId=TASK-1-28-29]:[99] - tenantCode 
user:lsl, task dir:1_28_29
   [INFO] 2020-04-17 10:47:07.723  - [taskAppId=TASK-1-28-29]:[103] - create 
command file:/tmp/dolphinscheduler/exec/process/1/1/28/29/1_28_29.command
   [INFO] 2020-04-17 10:47:07.723  - [taskAppId=TASK-1-28-29]:[116] - command : 
#!/bin/sh
   BASEDIR=$(cd `dirname $0`; pwd)
   cd $BASEDIR
   source /opt/dolphinscheduler-backend/conf/env/.dolphinscheduler_env.sh
   
   
   /tmp/dolphinscheduler/exec/process/1/1/28/29/1_28_29_node.sh
   [INFO] 2020-04-17 10:47:07.724  - [taskAppId=TASK-1-28-29]:[329] - task run 
command:
   sudo -u lsl sh /tmp/dolphinscheduler/exec/process/1/1/28/29/1_28_29.command
   [INFO] 2020-04-17 10:47:07.739  - [taskAppId=TASK-1-28-29]:[158] - process 
start, process id is: 22765
   [INFO] 2020-04-17 10:47:29.733  - [taskAppId=TASK-1-28-29]:[168] - process 
has exited, work dir:/tmp/dolphinscheduler/exec/process/1/1/28/29, pid:22765 
,exitStatusCode:0
   [INFO] 2020-04-17 10:47:29.737  - [taskAppId=TASK-1-28-29]:[231] - process 
id is 22765
   [INFO] 2020-04-17 10:47:29.737  - [taskAppId=TASK-1-28-29]:[432] - find app 
id: application_1586920707751_0019
   [INFO] 2020-04-17 10:47:29.737  - [taskAppId=TASK-1-28-29]:[236] - yarn log 
url:application_1586920707751_0019
   [ERROR] 2020-04-17 10:47:29.753 
org.apache.dolphinscheduler.common.utils.HttpUtils:[73] - null: Name or service 
not known
   java.net.UnknownHostException: null: Name or service not known
           at java.net.Inet4AddressImpl.lookupAllHostAddr(Native Method)
           at java.net.InetAddress$2.lookupAllHostAddr(InetAddress.java:928)
           at 
java.net.InetAddress.getAddressesFromNameService(InetAddress.java:1323)
           at java.net.InetAddress.getAllByName0(InetAddress.java:1276)
           at java.net.InetAddress.getAllByName(InetAddress.java:1192)
           at java.net.InetAddress.getAllByName(InetAddress.java:1126)
           at 
org.apache.http.impl.conn.SystemDefaultDnsResolver.resolve(SystemDefaultDnsResolver.java:45)
           at 
org.apache.http.impl.conn.DefaultHttpClientConnectionOperator.connect(DefaultHttpClientConnectionOperator.java:111)
           at 
org.apache.http.impl.conn.PoolingHttpClientConnectionManager.connect(PoolingHttpClientConnectionManager.java:353)
           at 
org.apache.http.impl.execchain.MainClientExec.establishRoute(MainClientExec.java:380)
           at 
org.apache.http.impl.execchain.MainClientExec.execute(MainClientExec.java:236)
           at 
org.apache.http.impl.execchain.ProtocolExec.execute(ProtocolExec.java:184)
   

----------------------------------------------------------------
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:
[email protected]


With regards,
Apache Git Services

Reply via email to