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

stefanlee commented on YARN-7695:
---------------------------------

i have a simple fix .in *RMActiveServices.serviceInit*
{code:java}
      // Initialize the scheduler
      if (scheduler == null) {
        scheduler = createScheduler();
      }
{code}
[~yufeigu]  [~templedf]please have a look.

> when active RM transit to standby , this RM will new another 
> FairSchedulerUpdate Thread
> ---------------------------------------------------------------------------------------
>
>                 Key: YARN-7695
>                 URL: https://issues.apache.org/jira/browse/YARN-7695
>             Project: Hadoop YARN
>          Issue Type: Bug
>          Components: fairscheduler, resourcemanager
>    Affects Versions: 2.4.0
>            Reporter: stefanlee
>
> 1. i test haoop-2.4.0 in my cluster.
> 2. RM1 is active and  RM2 is standby
> 3. i delete /yarn-leader-election/Yarn/ActiveStandbyElectorLock from ZK
> 4. RM1 then transit from active to standby success.
> 5. at last ,i print RM1 jstack info and found two "AllocationFileReloader" 
> and two "FairSchedulerUpdateThread" in RM1.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

---------------------------------------------------------------------
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