<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>question Re: Restart App Timeline Server Error (roleParams not in config dictionary) after Druid Service Install HDP 3.0 in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/Restart-App-Timeline-Server-Error-roleParams-not-in-config/m-p/217339#M179248</link>
    <description>&lt;P&gt;Hi &lt;A rel="user" href="https://community.cloudera.com/users/18735/asnaik.html" nodeid="18735"&gt;@Akhil S Naik,&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Thanks again for the help. Here's where I have got to.&lt;/P&gt;&lt;UL&gt;
&lt;LI&gt;Build Fresh 3 node HDP 3.0 cluster, using data science blueprint (spark2, zepplin etc.), Ambari 2.7,&lt;/LI&gt;&lt;LI&gt;Add Druid service to HDP using Amabri wizard, using default settings, installs successfully, Druid starts,&lt;/LI&gt;&lt;LI&gt;Ambari flags that some services require a restart, I try, I get the roleParams error, restart of ambari server resolves this, services still need a restart,&lt;/LI&gt;&lt;LI&gt;Try and restart service again, worker and compute node restart fine, master node does not even try to start restarts,&lt;/LI&gt;&lt;LI&gt;Looking at the ambari-agent log I see errors stating that agent could not register, ambari server log shows it cannot connect to the master node.&lt;/LI&gt;&lt;/UL&gt;&lt;PRE&gt;INFO 2018-08-09 13:27:13,492 __init__.py:49 - Event from server at /user/ (correlation_id=0): {u'status': u'OK', u'exitstatus': 1, u'id': -1}
INFO 2018-08-09 13:27:13,497 HeartbeatThread.py:128 - Registration response received
ERROR 2018-08-09 13:27:13,498 HeartbeatThread.py:104 - Exception in HeartbeatThread. Re-running the registration
Traceback (most recent call last):
  File "/usr/lib/ambari-agent/lib/ambari_agent/HeartbeatThread.py", line 91, in run
    self.register()
  File "/usr/lib/ambari-agent/lib/ambari_agent/HeartbeatThread.py", line 131, in register
    self.handle_registration_response(response)
  File "/usr/lib/ambari-agent/lib/ambari_agent/HeartbeatThread.py", line 189, in handle_registration_response
    raise Exception(error_message)
Exception: Registration failed
INFO 2018-08-09 13:27:13,499 transport.py:358 - Receiver loop ended
&amp;lt;br&amp;gt;&lt;/PRE&gt;&lt;P&gt;There are other errors re cluster id=2 configurations missing but assume that is related to not being able to register. These errors loop endlessly. The master node also showinf status of UNHEALTHY in cloudbreak.&lt;BR /&gt; &lt;/P&gt;</description>
    <pubDate>Thu, 09 Aug 2018 20:29:20 GMT</pubDate>
    <dc:creator>paul_norris</dc:creator>
    <dc:date>2018-08-09T20:29:20Z</dc:date>
    <item>
      <title>Restart App Timeline Server Error (roleParams not in config dictionary) after Druid Service Install HDP 3.0</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Restart-App-Timeline-Server-Error-roleParams-not-in-config/m-p/217335#M179244</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Any idea why I am getting this error when doing the restart after I have installed Druid service via Ambari on fresh HDP 3.0 cluster? The cluster was deployed using Cloudbreak on Azure. Ambari version 2.7.0.0.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;stderr: /var/lib/ambari-agent/data/errors-82.txt&lt;/STRONG&gt;&lt;/P&gt;&lt;PRE&gt;Traceback (most recent call last):
  File "/var/lib/ambari-agent/cache/stacks/HDP/3.0/services/YARN/package/scripts/application_timeline_server.py", line 97, in &amp;lt;module&amp;gt;
    ApplicationTimelineServer().execute()
  File "/usr/lib/ambari-agent/lib/resource_management/libraries/script/script.py", line 353, in execute
    method(env)
  File "/usr/lib/ambari-agent/lib/resource_management/libraries/script/script.py", line 933, in restart
    if componentCategory and componentCategory.strip().lower() == 'CLIENT'.lower():
  File "/usr/lib/ambari-agent/lib/resource_management/libraries/script/config_dictionary.py", line 73, in __getattr__
    raise Fail("Configuration parameter '" + self.name + "' was not found in configurations dictionary!")
resource_management.core.exceptions.Fail: Configuration parameter 'roleParams' was not found in configurations dictionary!&lt;/PRE&gt;&lt;P&gt;&lt;STRONG&gt;stdout: /var/lib/ambari-agent/data/output-82.txt&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;PRE&gt;2018-08-08 11:35:16,639 - Stack Feature Version Info: Cluster Stack=3.0, Command Stack=None, Command Version=3.0.0.0-1334 -&amp;gt; 3.0.0.0-1334
2018-08-08 11:35:16,654 - Using hadoop conf dir: /usr/hdp/3.0.0.0-1334/hadoop/conf
2018-08-08 11:35:16,797 - Stack Feature Version Info: Cluster Stack=3.0, Command Stack=None, Command Version=3.0.0.0-1334 -&amp;gt; 3.0.0.0-1334
2018-08-08 11:35:16,801 - Using hadoop conf dir: /usr/hdp/3.0.0.0-1334/hadoop/conf
2018-08-08 11:35:16,802 - Group['hdfs'] {}
2018-08-08 11:35:16,803 - Group['hadoop'] {}
2018-08-08 11:35:16,803 - Group['users'] {}
2018-08-08 11:35:16,804 - User['hive'] {'gid': 'hadoop', 'fetch_nonlocal_groups': True, 'groups': ['hadoop'], 'uid': None}
2018-08-08 11:35:16,804 - User['yarn-ats'] {'gid': 'hadoop', 'fetch_nonlocal_groups': True, 'groups': ['hadoop'], 'uid': None}
2018-08-08 11:35:16,805 - User['druid'] {'gid': 'hadoop', 'fetch_nonlocal_groups': True, 'groups': ['hadoop'], 'uid': None}
2018-08-08 11:35:16,806 - User['zookeeper'] {'gid': 'hadoop', 'fetch_nonlocal_groups': True, 'groups': ['hadoop'], 'uid': None}
2018-08-08 11:35:16,807 - User['ams'] {'gid': 'hadoop', 'fetch_nonlocal_groups': True, 'groups': ['hadoop'], 'uid': None}
2018-08-08 11:35:16,808 - User['ambari-qa'] {'gid': 'hadoop', 'fetch_nonlocal_groups': True, 'groups': ['hadoop', 'users'], 'uid': None}
2018-08-08 11:35:16,808 - User['tez'] {'gid': 'hadoop', 'fetch_nonlocal_groups': True, 'groups': ['hadoop', 'users'], 'uid': None}
2018-08-08 11:35:16,809 - User['hdfs'] {'gid': 'hadoop', 'fetch_nonlocal_groups': True, 'groups': ['hdfs', 'hadoop'], 'uid': None}
2018-08-08 11:35:16,810 - User['yarn'] {'gid': 'hadoop', 'fetch_nonlocal_groups': True, 'groups': ['hadoop'], 'uid': None}
2018-08-08 11:35:16,811 - User['mapred'] {'gid': 'hadoop', 'fetch_nonlocal_groups': True, 'groups': ['hadoop'], 'uid': None}
2018-08-08 11:35:16,811 - File['/var/lib/ambari-agent/tmp/changeUid.sh'] {'content': StaticFile('changeToSecureUid.sh'), 'mode': 0555}
2018-08-08 11:35:16,813 - Execute['/var/lib/ambari-agent/tmp/changeUid.sh ambari-qa /tmp/hadoop-ambari-qa,/tmp/hsperfdata_ambari-qa,/home/ambari-qa,/tmp/ambari-qa,/tmp/sqoop-ambari-qa 0'] {'not_if': '(test $(id -u ambari-qa) -gt 1000) || (false)'}
2018-08-08 11:35:16,817 - Skipping Execute['/var/lib/ambari-agent/tmp/changeUid.sh ambari-qa /tmp/hadoop-ambari-qa,/tmp/hsperfdata_ambari-qa,/home/ambari-qa,/tmp/ambari-qa,/tmp/sqoop-ambari-qa 0'] due to not_if
2018-08-08 11:35:16,818 - Group['hdfs'] {}
2018-08-08 11:35:16,818 - User['hdfs'] {'fetch_nonlocal_groups': True, 'groups': ['hdfs', 'hadoop', u'hdfs']}
2018-08-08 11:35:16,819 - FS Type: 
2018-08-08 11:35:16,819 - Directory['/etc/hadoop'] {'mode': 0755}
2018-08-08 11:35:16,832 - File['/usr/hdp/3.0.0.0-1334/hadoop/conf/hadoop-env.sh'] {'content': InlineTemplate(...), 'owner': 'hdfs', 'group': 'hadoop'}
2018-08-08 11:35:16,833 - Directory['/var/lib/ambari-agent/tmp/hadoop_java_io_tmpdir'] {'owner': 'hdfs', 'group': 'hadoop', 'mode': 01777}
2018-08-08 11:35:16,846 - Execute[('setenforce', '0')] {'not_if': '(! which getenforce ) || (which getenforce &amp;amp;&amp;amp; getenforce | grep -q Disabled)', 'sudo': True, 'only_if': 'test -f /selinux/enforce'}
2018-08-08 11:35:16,853 - Skipping Execute[('setenforce', '0')] due to not_if
2018-08-08 11:35:16,853 - Directory['/var/log/hadoop'] {'owner': 'root', 'create_parents': True, 'group': 'hadoop', 'mode': 0775, 'cd_access': 'a'}
2018-08-08 11:35:16,855 - Directory['/var/run/hadoop'] {'owner': 'root', 'create_parents': True, 'group': 'root', 'cd_access': 'a'}
2018-08-08 11:35:16,855 - Changing owner for /var/run/hadoop from 1011 to root
2018-08-08 11:35:16,855 - Changing group for /var/run/hadoop from 988 to root
2018-08-08 11:35:16,855 - Directory['/tmp/hadoop-hdfs'] {'owner': 'hdfs', 'create_parents': True, 'cd_access': 'a'}
2018-08-08 11:35:16,859 - File['/usr/hdp/3.0.0.0-1334/hadoop/conf/commons-logging.properties'] {'content': Template('commons-logging.properties.j2'), 'owner': 'hdfs'}
2018-08-08 11:35:16,860 - File['/usr/hdp/3.0.0.0-1334/hadoop/conf/health_check'] {'content': Template('health_check.j2'), 'owner': 'hdfs'}
2018-08-08 11:35:16,866 - File['/usr/hdp/3.0.0.0-1334/hadoop/conf/log4j.properties'] {'content': InlineTemplate(...), 'owner': 'hdfs', 'group': 'hadoop', 'mode': 0644}
2018-08-08 11:35:16,875 - File['/usr/hdp/3.0.0.0-1334/hadoop/conf/hadoop-metrics2.properties'] {'content': InlineTemplate(...), 'owner': 'hdfs', 'group': 'hadoop'}
2018-08-08 11:35:16,875 - File['/usr/hdp/3.0.0.0-1334/hadoop/conf/task-log4j.properties'] {'content': StaticFile('task-log4j.properties'), 'mode': 0755}
2018-08-08 11:35:16,876 - File['/usr/hdp/3.0.0.0-1334/hadoop/conf/configuration.xsl'] {'owner': 'hdfs', 'group': 'hadoop'}
2018-08-08 11:35:16,880 - File['/etc/hadoop/conf/topology_mappings.data'] {'owner': 'hdfs', 'content': Template('topology_mappings.data.j2'), 'only_if': 'test -d /etc/hadoop/conf', 'group': 'hadoop', 'mode': 0644}
2018-08-08 11:35:16,884 - File['/etc/hadoop/conf/topology_script.py'] {'content': StaticFile('topology_script.py'), 'only_if': 'test -d /etc/hadoop/conf', 'mode': 0755}
2018-08-08 11:35:16,887 - Skipping unlimited key JCE policy check and setup since the Java VM is not managed by Ambari

Command failed after 1 tries&lt;/PRE&gt;</description>
      <pubDate>Fri, 16 Sep 2022 13:34:24 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Restart-App-Timeline-Server-Error-roleParams-not-in-config/m-p/217335#M179244</guid>
      <dc:creator>paul_norris</dc:creator>
      <dc:date>2022-09-16T13:34:24Z</dc:date>
    </item>
    <item>
      <title>Re: Restart App Timeline Server Error (roleParams not in config dictionary) after Druid Service Install HDP 3.0</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Restart-App-Timeline-Server-Error-roleParams-not-in-config/m-p/217336#M179245</link>
      <description>&lt;P&gt;Hi &lt;A rel="user" href="https://community.cloudera.com/users/89156/paulnorris.html" nodeid="89156"&gt;@Paul Norris&lt;/A&gt; ,&lt;/P&gt;&lt;P&gt;I just checked what should be the value of 'roleParams' once you are restarting the  Appl Timeline server in my local cluster.&lt;/P&gt;&lt;PRE&gt;[root@anaik1 data]# cat command-961.json |grep -i -5 roleParams
        ]
    },
    "clusterName": "asnaik",
    "commandType": "EXECUTION_COMMAND",
    "taskId": 961,
    "roleParams": {
        "component_category": "MASTER"
    },
    "componentVersionMap": {
        "HDFS": {
            "NAMENODE": "3.0.0.0-1634",&lt;/PRE&gt;&lt;P&gt;It should be as above. Can you please verify what the value in your's using command&lt;/P&gt;&lt;PRE&gt;cat /var/lib/ambari-agent/data/command-82.json |grep -i -5 roleParams&lt;/PRE&gt;&lt;P&gt;If its empty.&lt;/P&gt;&lt;P&gt;I would suggest you restart ambari server once and try again.&lt;/P&gt;&lt;P&gt;If that doesnt worked. See in /var/log/ambari-server/ambari-server.log file while restarting the App timeline server. you will get some exceptions which will give clue whats going wrong.&lt;/P&gt;&lt;P&gt;Hope this helps your in troubleshooting.&lt;/P&gt;</description>
      <pubDate>Wed, 08 Aug 2018 19:13:01 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Restart-App-Timeline-Server-Error-roleParams-not-in-config/m-p/217336#M179245</guid>
      <dc:creator>akhilsnaik</dc:creator>
      <dc:date>2018-08-08T19:13:01Z</dc:date>
    </item>
    <item>
      <title>Re: Restart App Timeline Server Error (roleParams not in config dictionary) after Druid Service Install HDP 3.0</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Restart-App-Timeline-Server-Error-roleParams-not-in-config/m-p/217337#M179246</link>
      <description>&lt;P&gt;Hi &lt;A href="https://community.hortonworks.com/questions/211842/restart-app-timeline-server-error-roleparams-not-i.html#"&gt;@Akhil S Naik,&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Thanks for trying to help. I get no value found when I search in command-82.json for roleParams. I restarted Ambari and also nothing found after. After I restarted Ambari server I have tried restarting the services again and watching the ambari-server.log file I now see that it is looping on a NullPointerException. The restart in Ambari has stalled at 8% "Restart App Timeline Server" on the master node. Worker and compute node have completed restarts.&lt;/P&gt;&lt;PRE&gt;2018-08-08 12:29:31,329  INFO [agent-register-processor-5] HeartbeatController:105 -
java.lang.NullPointerException
  at org.apache.ambari.server.state.host.HostImpl.calculateHostStatus(HostImpl.java:1259)
  at org.apache.ambari.server.state.host.HostImpl.restoreComponentsStatuses(HostImpl.java:1230)
  at org.apache.ambari.server.state.host.HostImpl$HostRegistrationReceived.transition(HostImpl.java:365)
  at org.apache.ambari.server.state.host.HostImpl$HostRegistrationReceived.transition(HostImpl.java:333)
  at org.apache.ambari.server.state.fsm.StateMachineFactory$SingleInternalArc.doTransition(StateMachineFactory.java:351)
  at org.apache.ambari.server.state.fsm.StateMachineFactory.doTransition(StateMachineFactory.java:293)
  at org.apache.ambari.server.state.fsm.StateMachineFactory.access$300(StateMachineFactory.java:39)
  at org.apache.ambari.server.state.fsm.StateMachineFactory$InternalStateMachine.doTransition(StateMachineFactory.java:437)
  at org.apache.ambari.server.state.host.HostImpl.handleEvent(HostImpl.java:597)
  at org.apache.ambari.server.agent.HeartBeatHandler.handleRegistration(HeartBeatHandler.java:345)
  at org.apache.ambari.server.agent.stomp.HeartbeatController.lambda$register$0(HeartbeatController.java:100)
  at java.util.concurrent.FutureTask.run(FutureTask.java:266)
  at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
  at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
  at java.lang.Thread.run(Thread.java:748)

&lt;/PRE&gt;</description>
      <pubDate>Wed, 08 Aug 2018 19:33:42 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Restart-App-Timeline-Server-Error-roleParams-not-in-config/m-p/217337#M179246</guid>
      <dc:creator>paul_norris</dc:creator>
      <dc:date>2018-08-08T19:33:42Z</dc:date>
    </item>
    <item>
      <title>Re: Restart App Timeline Server Error (roleParams not in config dictionary) after Druid Service Install HDP 3.0</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Restart-App-Timeline-Server-Error-roleParams-not-in-config/m-p/217338#M179247</link>
      <description>&lt;P&gt;Hi &lt;A rel="user" href="https://community.cloudera.com/users/89156/paulnorris.html" nodeid="89156"&gt;@Paul Norris&lt;/A&gt; ,&lt;/P&gt;&lt;P&gt;This NPE is due to Ambari Agent failed to register with ambari-server(agent-register-processor-5)&lt;/P&gt;&lt;P&gt;I would suggest you Abort the restart operation.&lt;/P&gt;&lt;P&gt;See if there is any heartbeat lost b/w Ambari-agent and ambari-server.&lt;/P&gt;&lt;P&gt;Restart Ambari-agent in the node.&lt;/P&gt;&lt;P&gt;Make sure one service check on the a service on this node works fine.&lt;/P&gt;&lt;P&gt;Then try to perform restart.&lt;/P&gt;&lt;P&gt;without proper logs, I am afraid I cannot sense whats issue &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt; .&lt;/P&gt;&lt;P&gt;It will be suggested you can raise a Case with Hortonworks Support Portal which will help you resolve this issue.&lt;/P&gt;&lt;P&gt;Or you can even analyse&lt;/P&gt;&lt;PRE&gt;/var/log/ambari-agent/ambari-agent.log&amp;lt;br&amp;gt;and &amp;lt;br&amp;gt;/var/log/ambari-server/ambari-server.log &lt;/PRE&gt;&lt;P&gt;And update your findings here . i can try to help&lt;/P&gt;&lt;P&gt;This is one similar BUG in Ambari-2.7.0 which I sense might be a root cause: &lt;A href="https://issues.apache.org/jira/browse/AMBARI-23882" target="_blank"&gt;https://issues.apache.org/jira/browse/AMBARI-23882&lt;/A&gt;&lt;/P&gt;&lt;P&gt;,&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 09 Aug 2018 00:34:31 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Restart-App-Timeline-Server-Error-roleParams-not-in-config/m-p/217338#M179247</guid>
      <dc:creator>akhilsnaik</dc:creator>
      <dc:date>2018-08-09T00:34:31Z</dc:date>
    </item>
    <item>
      <title>Re: Restart App Timeline Server Error (roleParams not in config dictionary) after Druid Service Install HDP 3.0</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Restart-App-Timeline-Server-Error-roleParams-not-in-config/m-p/217339#M179248</link>
      <description>&lt;P&gt;Hi &lt;A rel="user" href="https://community.cloudera.com/users/18735/asnaik.html" nodeid="18735"&gt;@Akhil S Naik,&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Thanks again for the help. Here's where I have got to.&lt;/P&gt;&lt;UL&gt;
&lt;LI&gt;Build Fresh 3 node HDP 3.0 cluster, using data science blueprint (spark2, zepplin etc.), Ambari 2.7,&lt;/LI&gt;&lt;LI&gt;Add Druid service to HDP using Amabri wizard, using default settings, installs successfully, Druid starts,&lt;/LI&gt;&lt;LI&gt;Ambari flags that some services require a restart, I try, I get the roleParams error, restart of ambari server resolves this, services still need a restart,&lt;/LI&gt;&lt;LI&gt;Try and restart service again, worker and compute node restart fine, master node does not even try to start restarts,&lt;/LI&gt;&lt;LI&gt;Looking at the ambari-agent log I see errors stating that agent could not register, ambari server log shows it cannot connect to the master node.&lt;/LI&gt;&lt;/UL&gt;&lt;PRE&gt;INFO 2018-08-09 13:27:13,492 __init__.py:49 - Event from server at /user/ (correlation_id=0): {u'status': u'OK', u'exitstatus': 1, u'id': -1}
INFO 2018-08-09 13:27:13,497 HeartbeatThread.py:128 - Registration response received
ERROR 2018-08-09 13:27:13,498 HeartbeatThread.py:104 - Exception in HeartbeatThread. Re-running the registration
Traceback (most recent call last):
  File "/usr/lib/ambari-agent/lib/ambari_agent/HeartbeatThread.py", line 91, in run
    self.register()
  File "/usr/lib/ambari-agent/lib/ambari_agent/HeartbeatThread.py", line 131, in register
    self.handle_registration_response(response)
  File "/usr/lib/ambari-agent/lib/ambari_agent/HeartbeatThread.py", line 189, in handle_registration_response
    raise Exception(error_message)
Exception: Registration failed
INFO 2018-08-09 13:27:13,499 transport.py:358 - Receiver loop ended
&amp;lt;br&amp;gt;&lt;/PRE&gt;&lt;P&gt;There are other errors re cluster id=2 configurations missing but assume that is related to not being able to register. These errors loop endlessly. The master node also showinf status of UNHEALTHY in cloudbreak.&lt;BR /&gt; &lt;/P&gt;</description>
      <pubDate>Thu, 09 Aug 2018 20:29:20 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Restart-App-Timeline-Server-Error-roleParams-not-in-config/m-p/217339#M179248</guid>
      <dc:creator>paul_norris</dc:creator>
      <dc:date>2018-08-09T20:29:20Z</dc:date>
    </item>
    <item>
      <title>Re: Restart App Timeline Server Error (roleParams not in config dictionary) after Druid Service Install HDP 3.0</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Restart-App-Timeline-Server-Error-roleParams-not-in-config/m-p/217340#M179249</link>
      <description>&lt;P&gt;Hi &lt;A rel="user" href="https://community.cloudera.com/users/89156/paulnorris.html" nodeid="89156"&gt;@Paul Norris&lt;/A&gt; ,&lt;/P&gt;&lt;P&gt;As suggested can you please perform the command&lt;/P&gt;&lt;PRE&gt;ambari-agent restart&lt;/PRE&gt;&lt;P&gt;in your master node and See the logs if Agent registration is successful or not?&lt;/P&gt;&lt;P&gt;I hope after restart of Agent node , It will be able to register, then you can restart your services as required.&lt;/P&gt;&lt;P&gt;If it fails to register. please analyse the logs as mentioned in previous comment or attach the log snippet here.&lt;/P&gt;&lt;P&gt;Hope this helps you.&lt;/P&gt;</description>
      <pubDate>Thu, 09 Aug 2018 20:34:11 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Restart-App-Timeline-Server-Error-roleParams-not-in-config/m-p/217340#M179249</guid>
      <dc:creator>akhilsnaik</dc:creator>
      <dc:date>2018-08-09T20:34:11Z</dc:date>
    </item>
    <item>
      <title>Re: Restart App Timeline Server Error (roleParams not in config dictionary) after Druid Service Install HDP 3.0</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Restart-App-Timeline-Server-Error-roleParams-not-in-config/m-p/217341#M179250</link>
      <description>&lt;P&gt;Hi &lt;A rel="user" href="https://community.cloudera.com/users/18735/asnaik.html" nodeid="18735"&gt;@Akhil S Naik&lt;/A&gt; ,&lt;/P&gt;&lt;P&gt;Thanks, I have run ambari-agent restart multiple times. Here is what happens:&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;I run the command,&lt;/LI&gt;&lt;LI&gt;The ambari-agent logs show a problem listening on ping port 8670 saying that another process is using the port, I am assuming the process is another instance of ambari-agent, the PID returns process name of python,&lt;/LI&gt;&lt;LI&gt;I try killing this process using the PID, almost straight away another process starts and takes it's place,&lt;/LI&gt;&lt;LI&gt;The agent then goes on and returns the heartbeatthread exception I mentioned in previous post.&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;It would appear ambari-agent is un-killable/stopable. There must be a supervisor forcing a restart on failure and this is causing multiple instances to run at once and causing the ping port 8670 problem. I think I can fix that by killing the 2nd process but any idea what's causing the heartbeatthread excepion?&lt;/P&gt;&lt;P&gt;Here's one loop of the log after I've cleared up the ping port issue: ambari-agent.log.&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.cloudera.com/legacyfs/online/attachments/86427-ambariagent.txt"&gt;ambariagent.txt&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Update: Looking at the ambari-server and agent logs it appears that the agent is registering with the server as the logs there showing it is but then there is a heartbeatexception on the agent and a nullpointerexception on the server and both then seem to loop without completing what they started. Here's the repeating error on ambari-server again.&lt;/P&gt;&lt;PRE&gt;2018-08-09 15:07:11,984  INFO [agent-register-processor-2] HeartBeatHandler:312 - agentOsType = centos7
2018-08-09 15:07:11,991  INFO [agent-register-processor-2] HostImpl:345 - Received host registration, host=[hostname=cs-eu-dhp-3-0-0-cluster-m2,fqdn=cs-eu-dhp-3-0-0-cluster-m2.XXX-NODE-FQDN-XXX,domain=XXX-NODE-FQDN-XXX,architecture=x86_64,processorcount=4,physicalprocessorcount=4,osname=centos,osversion=7.5.1804,osfamily=redhat,memory=28801164,uptime_hours=3,mounts=(available=22377356,mountpoint=/,used=8551792,percent=28%,size=30929148,device=/dev/sda2,type=xfs)(available=195727412,mountpoint=/mnt/resource,used=61468,percent=1%,size=206290920,device=/dev/sdb1,type=ext4)(available=97673124,mountpoint=/hadoopfs/fs1,used=148500,percent=1%,size=103080888,device=/dev/sdc,type=ext4)]
, registrationTime=1533827231984, agentVersion=2.7.0.0
2018-08-09 15:07:11,991  INFO [agent-register-processor-2] TopologyManager:643 - TopologyManager.onHostRegistered: Entering
2018-08-09 15:07:11,991  INFO [agent-register-processor-2] TopologyManager:697 - Host cs-eu-dhp-3-0-0-cluster-m2.XXX-NODE-FQDN-XXX re-registered, will not be added to the available hosts list
2018-08-09 15:07:11,991  INFO [agent-register-processor-2] HeartbeatController:105 -
java.lang.NullPointerException
        at org.apache.ambari.server.state.host.HostImpl.calculateHostStatus(HostImpl.java:1259)
        at org.apache.ambari.server.state.host.HostImpl.restoreComponentsStatuses(HostImpl.java:1230)
        at org.apache.ambari.server.state.host.HostImpl$HostRegistrationReceived.transition(HostImpl.java:365)
        at org.apache.ambari.server.state.host.HostImpl$HostRegistrationReceived.transition(HostImpl.java:333)
        at org.apache.ambari.server.state.fsm.StateMachineFactory$SingleInternalArc.doTransition(StateMachineFactory.java:351)
        at org.apache.ambari.server.state.fsm.StateMachineFactory.doTransition(StateMachineFactory.java:293)
        at org.apache.ambari.server.state.fsm.StateMachineFactory.access$300(StateMachineFactory.java:39)
        at org.apache.ambari.server.state.fsm.StateMachineFactory$InternalStateMachine.doTransition(StateMachineFactory.java:437)
        at org.apache.ambari.server.state.host.HostImpl.handleEvent(HostImpl.java:597)
        at org.apache.ambari.server.agent.HeartBeatHandler.handleRegistration(HeartBeatHandler.java:345)
        at org.apache.ambari.server.agent.stomp.HeartbeatController.lambda$register$0(HeartbeatController.java:100)
        at java.util.concurrent.FutureTask.run(FutureTask.java:266)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
        at java.lang.Thread.run(Thread.java:748)

&lt;/PRE&gt;</description>
      <pubDate>Thu, 09 Aug 2018 20:48:00 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Restart-App-Timeline-Server-Error-roleParams-not-in-config/m-p/217341#M179250</guid>
      <dc:creator>paul_norris</dc:creator>
      <dc:date>2018-08-09T20:48:00Z</dc:date>
    </item>
    <item>
      <title>Re: Restart App Timeline Server Error (roleParams not in config dictionary) after Druid Service Install HDP 3.0</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Restart-App-Timeline-Server-Error-roleParams-not-in-config/m-p/217342#M179251</link>
      <description>&lt;P&gt;Hi &lt;A rel="user" href="https://community.cloudera.com/users/89156/paulnorris.html" nodeid="89156"&gt;@Paul Norris&lt;/A&gt;,&lt;/P&gt;&lt;P&gt;I suspect you are hitting : &lt;A href="https://issues.apache.org/jira/browse/AMBARI-23838" target="_blank"&gt;https://issues.apache.org/jira/browse/AMBARI-23838&lt;/A&gt; ,&lt;/P&gt;&lt;P&gt;Can you confirm you ambari version using command&lt;/P&gt;&lt;PRE&gt;ambari-server --version&lt;/PRE&gt;</description>
      <pubDate>Thu, 09 Aug 2018 22:38:10 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Restart-App-Timeline-Server-Error-roleParams-not-in-config/m-p/217342#M179251</guid>
      <dc:creator>akhilsnaik</dc:creator>
      <dc:date>2018-08-09T22:38:10Z</dc:date>
    </item>
    <item>
      <title>Re: Restart App Timeline Server Error (roleParams not in config dictionary) after Druid Service Install HDP 3.0</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Restart-App-Timeline-Server-Error-roleParams-not-in-config/m-p/217343#M179252</link>
      <description>&lt;P&gt;Hi &lt;A rel="user" href="https://community.cloudera.com/users/18735/asnaik.html" nodeid="18735"&gt;@Akhil S Naik,&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Yes, that looks to be the problem I am seeing. &lt;/P&gt;&lt;P&gt;My version no.'s are:&lt;/P&gt;&lt;P&gt;Ambari Server: 2.7.0.0-508&lt;/P&gt;&lt;P&gt;Ambari Agent: 2.7.0.0.&lt;/P&gt;&lt;P&gt;Paul&lt;BR /&gt; &lt;/P&gt;</description>
      <pubDate>Thu, 09 Aug 2018 22:49:33 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Restart-App-Timeline-Server-Error-roleParams-not-in-config/m-p/217343#M179252</guid>
      <dc:creator>paul_norris</dc:creator>
      <dc:date>2018-08-09T22:49:33Z</dc:date>
    </item>
    <item>
      <title>Re: Restart App Timeline Server Error (roleParams not in config dictionary) after Druid Service Install HDP 3.0</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Restart-App-Timeline-Server-Error-roleParams-not-in-config/m-p/217344#M179253</link>
      <description>&lt;P&gt;Hi &lt;A rel="user" href="https://community.cloudera.com/users/89156/paulnorris.html" nodeid="89156"&gt;@Paul Norris&lt;/A&gt; ,&lt;/P&gt;&lt;P&gt;I just checked my ambari version (shipped with HDP-3.0)&lt;/P&gt;&lt;PRE&gt;[root@anaik1 ~]# ambari-server --version
2.7.0.0-897&lt;/PRE&gt;&lt;P&gt;You might need to upgrade your ambari to this version refer to : &lt;A href="https://docs.hortonworks.com/HDPDocuments/Ambari-2.7.0.0/bk_ambari-upgrade/content/ambari_upgrade_guide.html" target="_blank"&gt;https://docs.hortonworks.com/HDPDocuments/Ambari-2.7.0.0/bk_ambari-upgrade/content/ambari_upgrade_guide.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Verified it ships with 2.7.0.0-897 which has the fix.&lt;/P&gt;&lt;P&gt;you will get repo info from there I see the issue is fixed there as per code info.&lt;/P&gt;&lt;P&gt;Work around : reading the code i understand uninstall DRUID will help&lt;/P&gt;&lt;P&gt;code reference : &lt;A href="https://github.com/kasakrisz/ambari/blob/f55e7277fb2f78e02f6df8a68c063206862ef3a6/ambari-server/src/main/java/org/apache/ambari/server/state/host/HostImpl.java#L1259" target="_blank"&gt;https://github.com/kasakrisz/ambari/blob/f55e7277fb2f78e02f6df8a68c063206862ef3a6/ambari-server/src/main/java/org/apache/ambari/server/state/host/HostImpl.java#L1259&lt;/A&gt;&lt;/P&gt;&lt;P&gt;(might be druid doesnt belongs to any catageory)&lt;/P&gt;&lt;P&gt;Please accept answer as helpful if this helps you &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 09 Aug 2018 22:59:50 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Restart-App-Timeline-Server-Error-roleParams-not-in-config/m-p/217344#M179253</guid>
      <dc:creator>akhilsnaik</dc:creator>
      <dc:date>2018-08-09T22:59:50Z</dc:date>
    </item>
    <item>
      <title>Re: Restart App Timeline Server Error (roleParams not in config dictionary) after Druid Service Install HDP 3.0</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Restart-App-Timeline-Server-Error-roleParams-not-in-config/m-p/217345#M179254</link>
      <description>&lt;P&gt;Hi &lt;A rel="user" href="https://community.cloudera.com/users/18735/asnaik.html" nodeid="18735" target="_blank"&gt;@Akhil S Naik&lt;/A&gt; ,&lt;/P&gt;&lt;P&gt;I started again with a fresh cluster, upgraded ambari server and agent to the latest version. After the upgrade when I go back into ambari and try and restart ambari metrics service I now get this error: (I've restarted the ambari-server etc.)&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="86437-capture.png" style="width: 701px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/16156i88DBA0C9C2977C46/image-size/medium?v=v2&amp;amp;px=400" role="button" title="86437-capture.png" alt="86437-capture.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;With this in the ambari-server.log:&lt;/P&gt;&lt;PRE&gt;2018-08-10 09:51:57,394  INFO [agent-register-processor-6] HeartBeatHandler:317 - agentOsType = centos7
2018-08-10 09:51:57,404  INFO [agent-register-processor-6] HostImpl:346 - Received host registration, host=[hostname=cs-eu-hdp-3-0-cluster-w1,fqdn=XXX$
, registrationTime=1533894717394, agentVersion=2.7.0.0
2018-08-10 09:51:57,404  INFO [agent-register-processor-6] TopologyManager:643 - TopologyManager.onHostRegistered: Entering
2018-08-10 09:51:57,404  INFO [agent-register-processor-6] TopologyManager:697 - Host XXX.ax.internal.cloudapp.net re-registered, will not b$
2018-08-10 09:51:57,451 ERROR [clientInboundChannel-7] WebSocketAnnotationMethodMessageHandler:548 - Error while processing handler method exception
org.springframework.messaging.converter.MessageConversionException: Could not write JSON: (was java.lang.ClassCastException) (through reference chain: org.springframework.messaging.support$
        at org.springframework.messaging.converter.MappingJackson2MessageConverter.convertToInternal(MappingJackson2MessageConverter.java:342)
        at org.springframework.messaging.converter.AbstractMessageConverter.toMessage(AbstractMessageConverter.java:194)
        at org.springframework.messaging.converter.CompositeMessageConverter.toMessage(CompositeMessageConverter.java:91)
        at org.springframework.messaging.core.AbstractMessageSendingTemplate.doConvert(AbstractMessageSendingTemplate.java:171)
        at org.springframework.messaging.core.AbstractMessageSendingTemplate.convertAndSend(AbstractMessageSendingTemplate.java:142)
        at org.springframework.messaging.simp.SimpMessagingTemplate.convertAndSendToUser(SimpMessagingTemplate.java:225)
        at org.springframework.messaging.simp.SimpMessagingTemplate.convertAndSendToUser(SimpMessagingTemplate.java:208)
        at org.apache.ambari.server.api.AmbariSendToMethodReturnValueHandler.handleReturnValue(AmbariSendToMethodReturnValueHandler.java:84)
        at org.springframework.messaging.handler.invocation.HandlerMethodReturnValueHandlerComposite.handleReturnValue(HandlerMethodReturnValueHandlerComposite.java:103)
        at org.springframework.messaging.handler.invocation.AbstractMethodMessageHandler.processHandlerMethodException(AbstractMethodMessageHandler.java:545)
        at org.springframework.messaging.handler.invocation.AbstractMethodMessageHandler.handleMatch(AbstractMethodMessageHandler.java:520)
        at org.springframework.messaging.simp.annotation.support.SimpAnnotationMethodMessageHandler.handleMatch(SimpAnnotationMethodMessageHandler.java:495)
        at org.springframework.messaging.simp.annotation.support.SimpAnnotationMethodMessageHandler.handleMatch(SimpAnnotationMethodMessageHandler.java:87)
        at org.springframework.messaging.handler.invocation.AbstractMethodMessageHandler.handleMessageInternal(AbstractMethodMessageHandler.java:463)
        at org.springframework.messaging.handler.invocation.AbstractMethodMessageHandler.handleMessage(AbstractMethodMessageHandler.java:401)
        at org.springframework.messaging.support.ExecutorSubscribableChannel$SendTask.run(ExecutorSubscribableChannel.java:135)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
        at java.lang.Thread.run(Thread.java:748)
Caused by: com.fasterxml.jackson.databind.JsonMappingException: (was java.lang.ClassCastException) (through reference chain: org.springframework.messaging.support.ErrorMessage["payload"]-&amp;gt;$
        at com.fasterxml.jackson.databind.JsonMappingException.wrapWithPath(JsonMappingException.java:391)
        at com.fasterxml.jackson.databind.JsonMappingException.wrapWithPath(JsonMappingException.java:351)
        at com.fasterxml.jackson.databind.ser.std.StdSerializer.wrapAndThrow(StdSerializer.java:316)
        at com.fasterxml.jackson.databind.ser.std.MapSerializer.serializeFieldsUsing(MapSerializer.java:818)
        at com.fasterxml.jackson.databind.ser.std.MapSerializer.serialize(MapSerializer.java:637)
        at com.fasterxml.jackson.databind.ser.std.MapSerializer.serialize(MapSerializer.java:33)
        at com.fasterxml.jackson.databind.ser.BeanPropertyWriter.serializeAsField(BeanPropertyWriter.java:727)
        at com.fasterxml.jackson.databind.ser.std.BeanSerializerBase.serializeFields(BeanSerializerBase.java:719)
        at com.fasterxml.jackson.databind.ser.BeanSerializer.serialize(BeanSerializer.java:155)
        at com.fasterxml.jackson.databind.ser.BeanPropertyWriter.serializeAsField(BeanPropertyWriter.java:727)
        at com.fasterxml.jackson.databind.ser.std.BeanSerializerBase.serializeFields(BeanSerializerBase.java:719)
        at com.fasterxml.jackson.databind.ser.BeanSerializer.serialize(BeanSerializer.java:155)
        at com.fasterxml.jackson.databind.ser.BeanPropertyWriter.serializeAsField(BeanPropertyWriter.java:727)
        at com.fasterxml.jackson.databind.ser.std.BeanSerializerBase.serializeFields(BeanSerializerBase.java:719)
        at com.fasterxml.jackson.databind.ser.BeanSerializer.serialize(BeanSerializer.java:155)
        at com.fasterxml.jackson.databind.ser.BeanPropertyWriter.serializeAsField(BeanPropertyWriter.java:727)
        at com.fasterxml.jackson.databind.ser.std.BeanSerializerBase.serializeFields(BeanSerializerBase.java:719)
        at com.fasterxml.jackson.databind.ser.BeanSerializer.serialize(BeanSerializer.java:155)
        at com.fasterxml.jackson.databind.ser.BeanPropertyWriter.serializeAsField(BeanPropertyWriter.java:727)
        at com.fasterxml.jackson.databind.ser.std.BeanSerializerBase.serializeFields(BeanSerializerBase.java:719)
        at com.fasterxml.jackson.databind.ser.BeanSerializer.serialize(BeanSerializer.java:155)
        at com.fasterxml.jackson.databind.ser.BeanPropertyWriter.serializeAsField(BeanPropertyWriter.java:727)
        at com.fasterxml.jackson.databind.ser.std.BeanSerializerBase.serializeFields(BeanSerializerBase.java:719)
        at com.fasterxml.jackson.databind.ser.BeanSerializer.serialize(BeanSerializer.java:155)
        at com.fasterxml.jackson.databind.ser.DefaultSerializerProvider._serialize(DefaultSerializerProvider.java:480)
        at com.fasterxml.jackson.databind.ser.DefaultSerializerProvider.serializeValue(DefaultSerializerProvider.java:319)
        at com.fasterxml.jackson.databind.ObjectMapper.writeValue(ObjectMapper.java:2643)
        at org.springframework.messaging.converter.MappingJackson2MessageConverter.convertToInternal(MappingJackson2MessageConverter.java:326)
        ... 18 more
Caused by: java.lang.ClassCastException

&lt;/PRE&gt;</description>
      <pubDate>Sun, 18 Aug 2019 02:59:40 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Restart-App-Timeline-Server-Error-roleParams-not-in-config/m-p/217345#M179254</guid>
      <dc:creator>paul_norris</dc:creator>
      <dc:date>2019-08-18T02:59:40Z</dc:date>
    </item>
    <item>
      <title>Re: Restart App Timeline Server Error (roleParams not in config dictionary) after Druid Service Install HDP 3.0</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Restart-App-Timeline-Server-Error-roleParams-not-in-config/m-p/217346#M179255</link>
      <description>&lt;P&gt;Hi &lt;A rel="user" href="https://community.cloudera.com/users/89156/paulnorris.html" nodeid="89156"&gt;@Paul Norris&lt;/A&gt;,&lt;/P&gt;&lt;P&gt;This seems to be new issue, i suggest you resolve this issue by marking the best answer . and start a new thread.&lt;/P&gt;&lt;P&gt;There you post the Exception in code format&lt;/P&gt;&lt;PRE&gt;i am code format&lt;/PRE&gt;&lt;P&gt;additionally my initial understanding says this is becuase you have not done post upgrade tasks( which is upgrading AMS) . correct me if i am wrong .&lt;/P&gt;</description>
      <pubDate>Fri, 10 Aug 2018 17:08:19 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Restart-App-Timeline-Server-Error-roleParams-not-in-config/m-p/217346#M179255</guid>
      <dc:creator>akhilsnaik</dc:creator>
      <dc:date>2018-08-10T17:08:19Z</dc:date>
    </item>
    <item>
      <title>Re: Restart App Timeline Server Error (roleParams not in config dictionary) after Druid Service Install HDP 3.0</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Restart-App-Timeline-Server-Error-roleParams-not-in-config/m-p/217347#M179256</link>
      <description>&lt;P&gt;Hi &lt;A rel="user" href="https://community.cloudera.com/users/18735/asnaik.html" nodeid="18735"&gt;@Akhil S Naik,&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Ok, I will close this and re-open. The code formatting is not working for me, works when I edit not after posting.&lt;/P&gt;&lt;P&gt;I have run the post-upgrade ambari-server task.&lt;/P&gt;&lt;P&gt;Thanks again.&lt;/P&gt;&lt;P&gt;Paul&lt;BR /&gt; &lt;/P&gt;</description>
      <pubDate>Fri, 10 Aug 2018 17:11:53 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Restart-App-Timeline-Server-Error-roleParams-not-in-config/m-p/217347#M179256</guid>
      <dc:creator>paul_norris</dc:creator>
      <dc:date>2018-08-10T17:11:53Z</dc:date>
    </item>
  </channel>
</rss>

