[
https://issues.apache.org/jira/browse/RANGER-2811?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17093889#comment-17093889
]
Madhan Neethiraj commented on RANGER-2811:
------------------------------------------
[~dhavalshah9131] - the patch looks good. I suggest to update the default value
of {{ranger.audit.solr.max.retry}} to "-1", to make retry-until-succeed the
default behavior:
{code:java}
public static final int DEFAULT_SOLR_BOOTSTRP_MAX_RETRY = -1; {code}
> Ranger should keep trying to create collection in solr until its successfully
> created
> -------------------------------------------------------------------------------------
>
> Key: RANGER-2811
> URL: https://issues.apache.org/jira/browse/RANGER-2811
> Project: Ranger
> Issue Type: Improvement
> Components: Ranger
> Reporter: Dhaval B. SHAH
> Assignee: Dhaval B. SHAH
> Priority: Major
> Attachments: RANGER-2811.patch
>
>
> At present No. of attemps Ranger will make to upload configs and create
> collection in Solr will be the value set to prop
> _*ranger.audit.solr.max.retry.*_
> By setting the value of above mentioned prop to _*"-1"*_ Ranger will keep
> trying to upload configs and create collection in Solr until its successfully
> done.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)