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 03:54:41 UTC

[jira] [Updated] (RANGER-1356) The installer does not filter out comments lines for the configuration file when installing the Ranger UserSync Process

     [ https://issues.apache.org/jira/browse/RANGER-1356?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Qiang Zhang updated RANGER-1356:
--------------------------------
    Attachment: 0001-RANGER-1356-The-installer-does-not-filter-out-commen.patch

> The installer does not filter out comments lines for the configuration file when installing the Ranger UserSync Process 
> ------------------------------------------------------------------------------------------------------------------------
>
>                 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.
> 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)