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

Tasks fail from time to time due error in file download

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 2.7.0
    • None

    Description

      ERROR 2018-06-27 11:29:49,955 CustomServiceOrchestrator.py:448 - Caught an exception while executing custom service command: <type 'exceptions.KeyError'>: u'/var/lib/ambari-agent/cache/stack-hooks'; u'/var/lib/ambari-agent/cache/stack-hooks'
      Traceback (most recent call last):
      File "/usr/lib/ambari-agent/lib/ambari_agent/CustomServiceOrchestrator.py", line 351, in runCommand
      hook_dir = self.file_cache.get_hook_base_dir(command, server_url_prefix)
      File "/usr/lib/ambari-agent/lib/ambari_agent/FileCache.py", line 100, in get_hook_base_dir
      server_url_prefix)
      File "/usr/lib/ambari-agent/lib/ambari_agent/FileCache.py", line 163, in provide_directory
      wait_for_another_execution_event = self.currently_providing[full_path]
      KeyError: u'/var/lib/ambari-agent/cache/stack-hooks'

      Attachments

        1. AMBARI-24257.patch
          0.7 kB
          Andrew Onischuk

        Activity

          People

            aonishuk Andrew Onischuk
            aonishuk Andrew Onischuk
            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 - 1h
                1h