[ https://issues.apache.org/jira/browse/AMBARI-24654?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16619564#comment-16619564 ]
Hudson commented on AMBARI-24654: --------------------------------- SUCCESS: Integrated in Jenkins build Ambari-branch-2.7 #308 (See [https://builds.apache.org/job/Ambari-branch-2.7/308/]) AMBARI-24654. Tasks fail on ambari-agent intermittently under cpu load (aonishuk: [https://gitbox.apache.org/repos/asf?p=ambari.git&a=commit&h=02b237c41dd8f7ee04d884a8b658e3a33567a659]) * (edit) ambari-agent/src/main/python/ambari_agent/ClusterTopologyCache.py * (edit) ambari-agent/src/main/python/ambari_agent/Utils.py > 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.2 > > 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)