[ https://issues.apache.org/jira/browse/AMBARI-24654?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jayush Luniya updated AMBARI-24654: ----------------------------------- Fix Version/s: (was: 2.7.2) 2.7.3 > Tasks fail on ambari-agent intermittently under cpu load due to race > condition in ambari-agent > ---------------------------------------------------------------------------------------------- > > Key: AMBARI-24654 > URL: https://issues.apache.org/jira/browse/AMBARI-24654 > Project: Ambari > Issue Type: Bug > Reporter: Andrew Onischuk > Assignee: Andrew Onischuk > Priority: Major > Labels: pull-request-available > Fix For: 2.7.3 > > Attachments: AMBARI-24654.patch, AMBARI-24654.patch > > Time Spent: 1h 20m > Remaining Estimate: 0h > > INFO 2018-09-13 18:30:15,817 ClusterCache.py:125 - Rewriting cache > ClusterTopologyCache for cluster 2 > ERROR 2018-09-13 18:30:16,386 CustomServiceOrchestrator.py:456 - Caught > an exception while executing custom service command: <type > 'exceptions.TypeError'>: 'NoneType' object has no attribute '__getitem__'; > 'NoneType' object has no attribute '__getitem__' > Traceback (most recent call last): > File > "/usr/lib/ambari-agent/lib/ambari_agent/CustomServiceOrchestrator.py", line > 324, in runCommand > command = self.generate_command(command_header) > File > "/usr/lib/ambari-agent/lib/ambari_agent/CustomServiceOrchestrator.py", line > 504, in generate_command > command_dict = > self.configuration_builder.get_configuration(cluster_id, service_name, > component_name, required_config_timestamp) > File "/usr/lib/ambari-agent/lib/ambari_agent/ConfigurationBuilder.py", > line 46, in get_configuration > 'agentLevelParams': {'hostname': > self.topology_cache.get_current_host_info(cluster_id)['hostName']}, > TypeError: 'NoneType' object has no attribute '__getitem__' > > This was found while perf testing. > However can occur under any circumstances if ambari-agent node if slow enough. -- This message was sent by Atlassian JIRA (v7.6.3#76005)