[
https://issues.apache.org/jira/browse/YARN-10058?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17892661#comment-17892661
]
ASF GitHub Bot commented on YARN-10058:
---------------------------------------
TaoYang526 opened a new pull request, #7129:
URL: https://github.com/apache/hadoop/pull/7129
<!--
Thanks for sending a pull request!
1. If this is your first time, please read our contributor guidelines:
https://cwiki.apache.org/confluence/display/HADOOP/How+To+Contribute
2. Make sure your PR title starts with JIRA issue id, e.g.,
'HADOOP-17799. Your PR title ...'.
-->
### Description of PR
Handle uncaught exception for async-scheduling threads to prevent scheduler
hangs.
### How was this patch tested?
Includes 2 unit tests:
(1) HA-disabled: RM should be shutdown after async-scheduling thread exit.
(2) HA-enabled: RM1 should be transitioned from active to standby after
async-scheduling thread exit, and this RM should work once it is activated
again.
### For code changes:
- [ ] Does the title or this PR starts with the corresponding JIRA issue id
(e.g. 'HADOOP-17799. Your PR title ...')?
- [ ] Object storage: have the integration tests been executed and the
endpoint declared according to the connector-specific documentation?
- [ ] If adding new dependencies to the code, are these dependencies
licensed in a way that is compatible for inclusion under [ASF
2.0](http://www.apache.org/legal/resolved.html#category-a)?
- [ ] If applicable, have you updated the `LICENSE`, `LICENSE-binary`,
`NOTICE-binary` files?
> Capacity Scheduler dispatcher hang when async thread crash
> ----------------------------------------------------------
>
> Key: YARN-10058
> URL: https://issues.apache.org/jira/browse/YARN-10058
> Project: Hadoop YARN
> Issue Type: Bug
> Components: capacity scheduler
> Affects Versions: 3.2.0, 3.2.1
> Reporter: tuyu
> Priority: Major
> Labels: pull-request-available
> Attachments: 0001-global-scheduling-standby-hang.patch
>
>
> when capacity scheduler enable global scheduler, if global scheduler's
> AsyncScheduleThread crash, the capacity scheduler dispatcher will hang for
> long time. This behavior is unreasonable.
> if this situation happen, In HA mode, current RM should change to standby
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]