[
https://issues.apache.org/jira/browse/RANGER-1284?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Qiang Zhang updated RANGER-1284:
--------------------------------
Description: Comment lines have not been filtered out when the
populate_global_dict function parsed install.properties in
security-admin/scripts/db_setup.py. So if we use '#' to comment a line and it
includes '=', the comment will not work. On the left of the '=', it will be
parsed as a key and the right will be parsed as a value. And invalid parsing
will degrade the performance. (was: Comment lines have not been filtered out
when the populate_global_dict function parsed install.properties in
security-admin/scripts/db_setup.py. So if we use '#' to comment a line and it
includes '=', the comment will not work. On the right of the '=', it will be
parsed as a key and the left will be parsed as a value. Invalid parsing will
degrade the performance.)
> Comment lines have not been filtered out when the populate_global_dict
> function parsed install.properties in security-admin/scripts/db_setup.py.
> -------------------------------------------------------------------------------------------------------------------------------------------------
>
> Key: RANGER-1284
> URL: https://issues.apache.org/jira/browse/RANGER-1284
> Project: Ranger
> Issue Type: Bug
> Components: admin
> Reporter: Qiang Zhang
> Assignee: Qiang Zhang
> Labels: patch
> Attachments:
> 0001-RANGER-1284-Comment-lines-have-not-been-filtered-out.patch
>
>
> Comment lines have not been filtered out when the populate_global_dict
> function parsed install.properties in security-admin/scripts/db_setup.py. So
> if we use '#' to comment a line and it includes '=', the comment will not
> work. On the left of the '=', it will be parsed as a key and the right will
> be parsed as a value. And invalid parsing will degrade the performance.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)