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

Gautam Borad updated AMBARI-14710:
----------------------------------
    Attachment: AMBARI-14710.2.patch

> Add retry logic for REST calls between Ambari and Ranger
> --------------------------------------------------------
>
>                 Key: AMBARI-14710
>                 URL: https://issues.apache.org/jira/browse/AMBARI-14710
>             Project: Ambari
>          Issue Type: Bug
>          Components: ambari-agent
>    Affects Versions: 2.2.0
>            Reporter: Gautam Borad
>            Assignee: Gautam Borad
>             Fix For: trunk, 2.2.1
>
>         Attachments: AMBARI-14710.1.patch, AMBARI-14710.2.patch, 
> AMBARI-14710.trunk.patch
>
>
> Current implementation of {{check_ranger_login_urllib2}} in 
> ranger_functions.py and ranger_functions_v2.py triggers the retry logic under 
> the safe_retry decorator only for the Timeout error.
> This logic should be triggered for the exceptions also, to ensure that Ranger 
> Admin is given enough time to start up before giving up.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to