Uploaded image for project: 'Ambari'
  1. Ambari
  2. AMBARI-24679

Fix race condition in agent during registration and topology updates.

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    Description

      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
      

      Attachments

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            avijayan Aravindan Vijayan
            avijayan Aravindan Vijayan
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0h
                0h
                Logged:
                Time Spent - 40m
                40m

                Slack

                  Issue deployment