Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Duplicate
-
2.6.0
-
None
-
None
-
debian 7
Description
In the environment where setsid available, kill command is constructed with single dash, which throws ExitCodeException (improper usage of command)
kill -signal_num -<process_group_id>
Encountered this issue due to YARN-3561
Kill command need to be constructed with double dash (--) which means "end of command options" i.e. it tells ssh command not to try to parse what comes after command line options. It should be constructed as follows :
kill -signal_num -- -<process_group_id>
Attachments
Attachments
Issue Links
- blocks
-
YARN-3561 Non-AM Containers continue to run even after AM is stopped
- Resolved
- is superceded by
-
HADOOP-12317 Applications fail on NM restart on some linux distro because NM container recovery declares AM container as LOST
- Resolved