[
https://issues.apache.org/jira/browse/RANGER-2388?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16810243#comment-16810243
]
Bolke de Bruin commented on RANGER-2388:
----------------------------------------
if the schema is *not* created (due to an error) the *isSchemaCreate* will not
be set and the script will enter an endless loop. Besides it will always try 2
times to create the schema as countTries starts at 0.
> db_setup is not using counTries properly
> -----------------------------------------
>
> Key: RANGER-2388
> URL: https://issues.apache.org/jira/browse/RANGER-2388
> Project: Ranger
> Issue Type: Bug
> Components: admin
> Affects Versions: master
> Reporter: Bolke de Bruin
> Priority: Major
>
> line 300:
>
> {code:java}
> while(isSchemaCreated==False or countTries<2):
>
> {code}
>
> should read
>
> {code:java}
> while(isSchemaCreated==False and countTries<2):{code}
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)