[ 
https://issues.apache.org/jira/browse/YARN-10272?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17111012#comment-17111012
 ] 

shilongfei edited comment on YARN-10272 at 5/19/20, 9:29 AM:
-------------------------------------------------------------

*the third time, version:2.6.0*

This time it happened when the NM restarted, and the container needs to be 
recover after the NM restart. After analysis, it is suspected that it may be 
stuck in the check of isContainerAlive() in 
ContainerExector.reacquireContainer(), where a kill -0 $ pid command was 
executed, I use DefaultContainerExecutor.

!image-2020-05-19-17-27-02-496.png!

!image-2020-05-19-17-27-35-374.png!


was (Author: shilongfei):
the third time, version:2.6.0

This time it happened when the NM restarted, and the container needs to be 
recover after the NM restart. After analysis, it is suspected that it may be 
stuck in the check of isContainerAlive() in 
ContainerExector.reacquireContainer(), where a kill -0 $ pid command was 
executed, I use DefaultContainerExecutor.

!image-2020-05-19-17-27-02-496.png!

!image-2020-05-19-17-27-35-374.png!

> Shell#runCommand() executes a shell script and gets stuck when reading stdout 
> and stderr
> ----------------------------------------------------------------------------------------
>
>                 Key: YARN-10272
>                 URL: https://issues.apache.org/jira/browse/YARN-10272
>             Project: Hadoop YARN
>          Issue Type: Bug
>    Affects Versions: 2.6.0, 3.1.0
>            Reporter: shilongfei
>            Priority: Major
>         Attachments: image-2020-04-02-18-54-13-112.png, 
> image-2020-04-02-18-58-39-977.png, image-2020-04-02-19-00-01-387.png, 
> image-2020-05-11-14-53-09-751.png, image-2020-05-19-17-27-02-496.png, 
> image-2020-05-19-17-27-35-374.png
>
>
> When using Shell to execute a shell script, it occasionally gets stuck at 
> reading input, input and error streams. I have encountered this situation 
> three times, I will write the three situations in the comments.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: yarn-issues-unsubscr...@hadoop.apache.org
For additional commands, e-mail: yarn-issues-h...@hadoop.apache.org

Reply via email to