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/02/07 13:36:41 UTC
[jira] [Comment Edited] (RANGER-1356) The installer does not filter
out comments lines for the configuration file when installing the Ranger
UserSync Process and tagsync
[ https://issues.apache.org/jira/browse/RANGER-1356?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15855835#comment-15855835 ]
Qiang Zhang edited comment on RANGER-1356 at 2/7/17 1:35 PM:
-------------------------------------------------------------
[~coheigea], I rebuilt the patch, which includes setup.py for the Ranger UserSync and tagsync.
was (Author: zhangqiang2):
The same problem exists in the setup.py for tagsync.
> The installer does not filter out comments lines for the configuration file when installing the Ranger UserSync Process and tagsync
> -----------------------------------------------------------------------------------------------------------------------------------
>
> Key: RANGER-1356
> URL: https://issues.apache.org/jira/browse/RANGER-1356
> Project: Ranger
> Issue Type: Bug
> Components: usersync
> Reporter: Qiang Zhang
> Assignee: Qiang Zhang
> Priority: Minor
> Labels: patch
> Attachments: 0001-RANGER-1356-The-installer-does-not-filter-out-commen.patch
>
>
> The installer does not filter comments lines for the configuration file when installing the Ranger UserSync Process and tagsync.
> Command line starting with ’#‘ have not been filtered out during parsing the configuration file to get configurating value. 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. As a result, there are as follows problems:
> 1. There are invalid attribute values.
> 2. Invalid parsing will degrade the performance of program.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)