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/11/06 13:54:01 UTC

[jira] [Resolved] (RANGER-1870) Modify the logic for buildUnixUserList and parseMembers method in UnixUserGroupBuilder class

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

Qiang Zhang resolved RANGER-1870.
---------------------------------
       Resolution: Fixed
    Fix Version/s: master
                   1.0.0

> Modify the logic for buildUnixUserList and parseMembers  method in UnixUserGroupBuilder class 
> ----------------------------------------------------------------------------------------------
>
>                 Key: RANGER-1870
>                 URL: https://issues.apache.org/jira/browse/RANGER-1870
>             Project: Ranger
>          Issue Type: Bug
>          Components: usersync
>            Reporter: Qiang Zhang
>            Assignee: Qiang Zhang
>            Priority: Minor
>             Fix For: 1.0.0, master
>
>
> Modify the logic for buildUnixUserList and parseMembers  method in UnixUserGroupBuilder class 
> 1.In the  buildUnixUserList method:
> int len = tokens.length;
> if (len = 3) groupId = tokens [3]; case ArrayIndexOutOfBoundsException.
> 2.Another similar error in the  parseMembers method:
> String[] tokens = line.split(":");
> if (tokens.length = 2) String groupId = tokens [2];  case ArrayIndexOutOfBoundsException.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)