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/09/23 10:19:23 UTC

[GitHub] [incubator-dolphinscheduler] xloya opened a new issue #3796: [Question] A code question about get yarn task state

xloya opened a new issue #3796:
URL: https://github.com/apache/incubator-dolphinscheduler/issues/3796


   Recently, I looked at the code of the job status on YARN after the job was submitted and got the job status on the YARN.When I saw incubator-dolphinscheduler/dolphinscheduler-server/src/main/java/org/apache/dolphinscheduler/server/worker/task/AbstractCommandExecutor.java , I found a method named isSuccessOfYarnState(List<String> appIds).Why here is a list of appid?I think log file is one-to-one with yarn app.I really hope to get the answer, thx!
   
   最近我在看作业提交到yarn之后,获取yarn上作业状态的代码.当我看到incubator-dolphinscheduler/dolphinscheduler-server/src/main/java/org/apache/dolphinscheduler/server/worker/task/AbstractCommandExecutor.java这个类时,有个方法叫isSuccessOfYarnState(List<String> appIds).为什么这里会是一个appid的列表?我理解的log文件应该跟app是一对一的.非常希望得到解答,谢谢!
   ![image](https://user-images.githubusercontent.com/26177232/93999739-c47c7a00-fdc8-11ea-8d54-e06d7fc11ec5.png)
   
   **Which version of DolphinScheduler:**
    -[dev-branch]
   


----------------------------------------------------------------
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] dailidong commented on issue #3796: [Question] A code question about getting yarn task state

Posted by GitBox <gi...@apache.org>.
dailidong commented on issue #3796:
URL: https://github.com/apache/incubator-dolphinscheduler/issues/3796#issuecomment-698774488


   because shell task can submit many yarn task,the task runtime log will return many application ids
   
   ---
   因为 shell 任务类型可以写多个 MR 任务,这样的话,这个shell任务的运行日志里会返回多个 application id
   


----------------------------------------------------------------
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] dailidong closed issue #3796: [Question] A code question about getting yarn task state

Posted by GitBox <gi...@apache.org>.
dailidong closed issue #3796:
URL: https://github.com/apache/incubator-dolphinscheduler/issues/3796


   


----------------------------------------------------------------
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] dailidong commented on issue #3796: [Question] A code question about getting yarn task state

Posted by GitBox <gi...@apache.org>.
dailidong commented on issue #3796:
URL: https://github.com/apache/incubator-dolphinscheduler/issues/3796#issuecomment-698774488


   because shell task can submit many yarn task,the task runtime log will return many application ids
   
   ---
   因为 shell 任务类型可以写多个 MR 任务,这样的话,这个shell任务的运行日志里会返回多个 application id
   


----------------------------------------------------------------
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] dailidong closed issue #3796: [Question] A code question about getting yarn task state

Posted by GitBox <gi...@apache.org>.
dailidong closed issue #3796:
URL: https://github.com/apache/incubator-dolphinscheduler/issues/3796


   


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