[ 
https://issues.apache.org/jira/browse/AMBARI-24257?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Siddharth Wagle updated AMBARI-24257:
-------------------------------------
    Resolution: Fixed
        Status: Resolved  (was: Patch Available)

> Tasks fail from time to time due error in file download
> -------------------------------------------------------
>
>                 Key: AMBARI-24257
>                 URL: https://issues.apache.org/jira/browse/AMBARI-24257
>             Project: Ambari
>          Issue Type: Bug
>            Reporter: Andrew Onischuk
>            Assignee: Andrew Onischuk
>            Priority: Major
>              Labels: pull-request-available
>             Fix For: 2.7.0
>
>         Attachments: AMBARI-24257.patch
>
>          Time Spent: 1h
>  Remaining Estimate: 0h
>
>     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'
>     



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

Reply via email to