[ 
https://issues.apache.org/jira/browse/RANGER-1008?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15308944#comment-15308944
 ] 

rangerqa commented on RANGER-1008:
----------------------------------

{color:green}+1 overall{color}.  Here are the results of testing the latest 
attachment
  
http://issues.apache.org/jira/secure/attachment/12807286/0001-RANGER-1008-Catching-logging-any-exceptions-while-pe.patch
  against master revision bc63484.

    {color:green}+1 @author{color}.  The patch does not contain any @author 
tags.

    {color:green}+1 tests included{color}.  The patch appears to include 1 new 
or modified test files.

    {color:green}+1 javac{color}.  The applied patch does not increase the 
total number of javac compiler warnings.

    {color:green}+1 javadoc{color}.  There were no new javadoc warning messages.

    +1 checkstyle.  The patch generated 0 code style errors.

    {color:green}+1 findbugs{color}.  The patch does not introduce any new 
Findbugs (version 2.0.3) warnings.

    {color:green}+1 release audit{color}.  The applied patch does not increase 
the total number of release audit warnings.

    {color:green}+1 core tests{color}.  The patch passed unit tests in .

Test results: 
https://builds.apache.org/job/PreCommit-RANGER-Build/230//testReport/
Console output: 
https://builds.apache.org/job/PreCommit-RANGER-Build/230//console

This message is automatically generated.

> if one of OU is invalid out of multiple ou configured then no user syncd from 
> any of the OU
> -------------------------------------------------------------------------------------------
>
>                 Key: RANGER-1008
>                 URL: https://issues.apache.org/jira/browse/RANGER-1008
>             Project: Ranger
>          Issue Type: Bug
>          Components: Ranger, usersync
>    Affects Versions: 0.6.0
>            Reporter: Sailaja Polavarapu
>             Fix For: 0.6.0
>
>         Attachments: 
> 0001-RANGER-1008-Catching-logging-any-exceptions-while-pe.patch
>
>
> lets say user search base is : 
> 'ou=OU1,DC=ranger,DC=qe,DC=hortonworks,DC=com;ou=OU2,DC=ranger,DC=qe,DC=hortonworks,DC=com;ou=OU3,DC=ranger,DC=qe,DC=hortonworks,DC=com;ou=OU4,DC=ranger,DC=qe,DC=hortonworks,DC=com'
> so here OU4 does not exist
> but first three ou's are valid
> so here at least users available in first 3 OU's should be syncd
> for last one it should throw exception in usersync log
> so for this usersync log is fine
> ER: atleast users in first 3 ou's should be syncd
> AR: no user in all 3 ou's gets syncd
> usersync logs:
> 3 May 2016 15:11:04  INFO LdapUserGroupBuilder [UnixUserSyncThread] - 
> Updating user count: 1, userName: userou5, groupList: []
> 23 May 2016 15:11:04  INFO LdapUserGroupBuilder [UnixUserSyncThread] - 
> Updating user count: 2, userName: userou6, groupList: []
> 23 May 2016 15:11:04  INFO LdapUserGroupBuilder [UnixUserSyncThread] - 
> LDAPUserGroupBuilder.getUsers() completed with user count: 2
> 23 May 2016 15:11:04  INFO LdapUserGroupBuilder [UnixUserSyncThread] - 
> Updating user count: 1, userName: userou1, groupList: []
> 23 May 2016 15:11:04  INFO LdapUserGroupBuilder [UnixUserSyncThread] - 
> Updating user count: 2, userName: userou2, groupList: []
> 23 May 2016 15:11:04  INFO LdapUserGroupBuilder [UnixUserSyncThread] - 
> LDAPUserGroupBuilder.getUsers() completed with user count: 2
> 23 May 2016 15:11:04  INFO LdapUserGroupBuilder [UnixUserSyncThread] - 
> Updating user count: 1, userName: userou3, groupList: []
> 23 May 2016 15:11:04  INFO LdapUserGroupBuilder [UnixUserSyncThread] - 
> Updating user count: 2, userName: userou4, groupList: []
> 23 May 2016 15:11:04  INFO LdapUserGroupBuilder [UnixUserSyncThread] - 
> LDAPUserGroupBuilder.getUsers() completed with user count: 2
> 23 May 2016 15:11:04 ERROR UserGroupSync [UnixUserSyncThread] - Failed to 
> initialize UserGroup source/sink. Will retry after 3600000 milliseconds. 
> Error details:
> javax.naming.NameNotFoundException: [LDAP: error code 32 - 0000208D: NameErr: 
> DSID-03100238, problem 2001 (NO_OBJECT), data 0, best match of:
>         'DC=ranger,DC=qe,DC=hortonworks,DC=com'
> ^@]; remaining name 'ou=OU4,DC=ranger,DC=qe,DC=hortonworks,DC=com'



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to