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 2021/01/12 08:46:25 UTC

[GitHub] [incubator-dolphinscheduler] dailidong commented on issue #4386: [Question] How does ds gets task logs and determine whether task failes or successed ?

dailidong commented on issue #4386:
URL: https://github.com/apache/incubator-dolphinscheduler/issues/4386#issuecomment-758502876


   first, if the task self exit code == 0, it means this task runs successfully, at the same time ,if this task is also a yarn task, we will also get the yarn result through the yarn restful api which setting in the common.properties
   ```
   # if resourcemanager HA enable, please type the HA ips ; if resourcemanager is single, make this value empty
   yarn.resourcemanager.ha.rm.ids=192.168.xx.xx,192.168.xx.xx
   
   # if resourcemanager HA enable or not use resourcemanager, please keep the default value; If resourcemanager is single, you only need to replace ds1 to actual resourcemanager hostname.
   yarn.application.status.address=http://ds1:8088/ws/v1/cluster/apps/%s
   # job history status url when application number threshold is reached(default 10000,maybe it was set to 1000)
   yarn.job.history.status.address=http://ds1:19888/ws/v1/history/mapreduce/jobs/%s
   ```
   
   so if the task is yarn task , these two result will determine the final result 


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