ranger-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Qiang Zhang (JIRA)" <j...@apache.org>
Subject [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.
Date Thu, 05 Jan 2017 05:41:58 GMT
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)

Mime
View raw message