hadoop-yarn-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rohith Sharma K S (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (YARN-5920) TestRMHA.testTransitionedToStandbyShouldNotHang is flaky
Date Tue, 22 Nov 2016 11:06:58 GMT

    [ 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: yarn-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: yarn-issues-help@hadoop.apache.org


Mime
View raw message