[
https://issues.apache.org/jira/browse/YARN-5920?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15686412#comment-15686412
]
Rohith Sharma K S commented on YARN-5920:
-----------------------------------------
thanks Varun analysis and patch. Regarding patch, this can be solved simply by
removing synchronized from overridden method in test i.e
{code}
MemoryRMStateStore memStore = new MemoryRMStateStore() {
@Override
public void updateApplicationState(
ApplicationStateData appState) {
notifyStoreOperationFailed(new StoreFencedException());
}
};
{code}
Basically test want to call method notifyStoreOperationFailed from outside of
writeLock. If you see ZKRMStateStore implementation, notifyStoreOperationFailed
called from thread.
> TestRMHA.testTransitionedToStandbyShouldNotHang is flaky
> --------------------------------------------------------
>
> Key: YARN-5920
> URL: https://issues.apache.org/jira/browse/YARN-5920
> Project: Hadoop YARN
> Issue Type: Bug
> Components: test
> Reporter: Rohith Sharma K S
> Assignee: Varun Saxena
> Attachments: ThreadDump.txt, YARN-5920.01.patch
>
>
> In build
> [linkg|https://builds.apache.org/job/PreCommit-YARN-Build/13986/artifact/patchprocess/patch-unit-hadoop-yarn-project_hadoop-yarn_hadoop-yarn-server_hadoop-yarn-server-resourcemanager.txt]
> test case timed out. This need to be investigated.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]