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

Hudson commented on AMBARI-24679:
---------------------------------

SUCCESS: Integrated in Jenkins build Ambari-trunk-Commit #10132 (See 
[https://builds.apache.org/job/Ambari-trunk-Commit/10132/])
[AMBARI-24679] Fix race condition in agent during registration and (github: 
[https://gitbox.apache.org/repos/asf?p=ambari.git&a=commit&h=5a9b6e03bc27493f427043b0ae735b20815cfd1e])
* (edit) ambari-agent/src/main/python/ambari_agent/listeners/__init__.py
* (edit) ambari-agent/src/main/python/ambari_agent/HeartbeatThread.py


> Fix race condition in agent during registration and topology updates.
> ---------------------------------------------------------------------
>
>                 Key: AMBARI-24679
>                 URL: https://issues.apache.org/jira/browse/AMBARI-24679
>             Project: Ambari
>          Issue Type: Bug
>          Components: ambari-agent
>    Affects Versions: 2.8.0
>            Reporter: Aravindan Vijayan
>            Assignee: Aravindan Vijayan
>            Priority: Critical
>              Labels: pull-request-available
>             Fix For: 2.8.0
>
>          Time Spent: 40m
>  Remaining Estimate: 0h
>
> {code}
> ambari_agent - CustomServiceOrchestrator.py - [4840] - root - ERROR - Caught 
> an exception while executing custom service command: <type 
> 'exceptions.KeyError'>: 7; 7#012Traceback (most recent call last):#012 File 
> "/usr/lib/ambari-agent/lib/ambari_agent/CustomServiceOrchestrator.py", line 
> 324, in runCommand#012 command = self.generate_command(command_header)#012 
> File "/usr/lib/ambari-agent/lib/ambari_agent/CustomServiceOrchestrator.py", 
> line 504, in generate_command#012 command_dict = 
> self.configuration_builder.get_configuration(cluster_id, service_name, 
> component_name, required_config_timestamp)#012 File 
> "/usr/lib/ambari-agent/lib/ambari_agent/ConfigurationBuilder.py", line 43, in 
> get_configuration#012 'clusterHostInfo': 
> self.topology_cache.get_cluster_host_info(cluster_id),#012 File 
> "/usr/lib/ambari-agent/lib/ambari_agent/ClusterTopologyCache.py", line 108, 
> in get_cluster_host_info#012 hostnames = 
> [self.hosts_to_id[cluster_id]‌[host_id].hostName for host_id in 
> component_dict.hostIds]#012KeyError: 7
> {code}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to