Li Lu created YARN-4460:
---------------------------

             Summary: [Bug fix] RM fails to start when SMP is enabled
                 Key: YARN-4460
                 URL: https://issues.apache.org/jira/browse/YARN-4460
             Project: Hadoop YARN
          Issue Type: Sub-task
    Affects Versions: YARN-2928
            Reporter: Li Lu
            Assignee: Li Lu


When SMP is enabled, the RM starts with the following fatal message: 
{code}
FATAL event.AsyncDispatcher (AsyncDispatcher.java:dispatch(189)) - Error in 
dispatcher thread true
java.lang.Exception: No handler for registered for class 
org.apache.hadoop.yarn.server.resourcemanager.metrics.AbstractSystemMetricsPubli
sher$SystemMetricsEventType
       at 
org.apache.hadoop.yarn.event.AsyncDispatcher.dispatch(AsyncDispatcher.java:185)
       at 
org.apache.hadoop.yarn.event.AsyncDispatcher$1.run(AsyncDispatcher.java:109)
       at java.lang.Thread.run(Thread.java:745)
{code}

We should register event handlers in service init stage in 
TimelineServiceV2Publisher to fix this problem. 



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to