You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Kevin Risden (JIRA)" <ji...@apache.org> on 2019/03/26 20:53:00 UTC

[jira] [Comment Edited] (SOLR-9840) Add a unit test for LDAP integration

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

Kevin Risden edited comment on SOLR-9840 at 3/26/19 8:52 PM:
-------------------------------------------------------------

Looks like apacheds depends on commons-lang (removed in SOLR-9079) so the patch attached here doesn't work nicely. 

{code:java}
   [junit4]   2> NOTE: reproduce with: ant test  -Dtestcase=TestSolrCloudWithHadoopAuthPlugin -Dtests.seed=3AA1D930715DDB6F -Dtests.slow=true -Dtests.badapples=true -Dtests.locale=en-IN -Dtests.timezone=Africa/Dar_es_Salaam -Dtests.asserts=true -Dtests.file.encoding=US-ASCII
   [junit4] ERROR   0.00s | TestSolrCloudWithHadoopAuthPlugin (suite) <<<
   [junit4]    > Throwable #1: java.lang.NoClassDefFoundError: org/apache/commons/lang/ArrayUtils
   [junit4]    > 	at org.apache.directory.server.core.api.interceptor.context.FilteringOperationContext.setReturningAttributes(FilteringOperationContext.java:269)
   [junit4]    > 	at org.apache.directory.server.core.api.interceptor.context.FilteringOperationContext.<init>(FilteringOperationContext.java:121)
   [junit4]    > 	at org.apache.directory.server.core.api.interceptor.context.SearchOperationContext.<init>(SearchOperationContext.java:124)
   [junit4]    > 	at org.apache.directory.server.core.shared.ReferralManagerImpl.init(ReferralManagerImpl.java:184)
   [junit4]    > 	at org.apache.directory.server.core.shared.ReferralManagerImpl.<init>(ReferralManagerImpl.java:90)
   [junit4]    > 	at org.apache.directory.server.core.referral.ReferralInterceptor.init(ReferralInterceptor.java:211)
   [junit4]    > 	at org.apache.directory.server.core.DefaultDirectoryService.initInterceptors(DefaultDirectoryService.java:695)
   [junit4]    > 	at org.apache.directory.server.core.DefaultDirectoryService.initialize(DefaultDirectoryService.java:2064)
   [junit4]    > 	at org.apache.directory.server.core.DefaultDirectoryService.startup(DefaultDirectoryService.java:1278)
   [junit4]    > 	at org.apache.directory.server.core.factory.DefaultDirectoryServiceFactory.build(DefaultDirectoryServiceFactory.java:259)
   [junit4]    > 	at org.apache.directory.server.core.factory.DefaultDirectoryServiceFactory.init(DefaultDirectoryServiceFactory.java:125)
   [junit4]    > 	at org.apache.directory.server.core.factory.DSAnnotationProcessor.createDS(DSAnnotationProcessor.java:100)
   [junit4]    > 	at org.apache.directory.server.core.factory.DSAnnotationProcessor.getDirectoryService(DSAnnotationProcessor.java:333)
   [junit4]    > 	at org.apache.directory.server.core.integ.CreateDsRule$2.evaluate(CreateDsRule.java:118)
   [junit4]    > 	at java.lang.Thread.run(Thread.java:748)
   [junit4]    > Caused by: java.lang.ClassNotFoundException: org.apache.commons.lang.ArrayUtils
   [junit4]    > 	at java.net.URLClassLoader.findClass(URLClassLoader.java:382)
   [junit4]    > 	at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
   [junit4]    > 	at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:349)
   [junit4]    > 	at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
{code}



was (Author: risdenk):
Seems like apacheds depends on SOLR-9079 so the patch attached here doesn't work nicely. 

> Add a unit test for LDAP integration
> ------------------------------------
>
>                 Key: SOLR-9840
>                 URL: https://issues.apache.org/jira/browse/SOLR-9840
>             Project: Solr
>          Issue Type: Sub-task
>      Security Level: Public(Default Security Level. Issues are Public) 
>            Reporter: Hrishikesh Gadre
>            Assignee: Kevin Risden
>            Priority: Minor
>             Fix For: 8.1, master (9.0)
>
>         Attachments: SOLR-9840.patch, SOLR-9840.patch, SOLR-9840.patch, SOLR-9840.patch
>
>          Time Spent: 0.5h
>  Remaining Estimate: 0h
>
> SOLR-9513 introduced a generic Hadoop authentication plugin which can be used to configure LDAP authentication functionality in Hadoop. This jira is to track the work required for adding a unit test for LDAP integration.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org