You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ranger.apache.org by "Qiang Zhang (JIRA)" <ji...@apache.org> on 2017/01/05 05:41:58 UTC

[jira] [Created] (RANGER-1293) In the MysqlConf class of security-admin/scripts/dba_script.py, the create_rangerdb_user and grant_xa_db_user function have following problem.

Qiang Zhang created RANGER-1293:
-----------------------------------

             Summary: In the MysqlConf class of security-admin/scripts/dba_script.py, the create_rangerdb_user and grant_xa_db_user function  have following problem.
                 Key: RANGER-1293
                 URL: https://issues.apache.org/jira/browse/RANGER-1293
             Project: Ranger
          Issue Type: Bug
          Components: admin
            Reporter: Qiang Zhang
            Assignee: Qiang Zhang
            Priority: Minor


In the MysqlConf class of security-admin/scripts/dba_script.py, the create_rangerdb_user and grant_xa_db_user function have following problem:
At the beginning the hosts_arr variable was set ["%", "localhost"] as default value. The hosts_arr variable will include two localhost values if self.host equal to localhost. As a result, the back code segment will be executed repeatedly, And the performance of the program will be reduced.



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