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

Steve Rowe commented on SOLR-10783:
-----------------------------------

Jenkins is getting NPE's in a bunch of tests, e.g. from 
[https://jenkins.thetaphi.de/job/Lucene-Solr-master-Linux/20430/]:

{noformat}
Checking out Revision 5324c7436c8ba578fa38d8e7fc8219abac154558 
(refs/remotes/origin/master)
[...]
   [junit4]   2> NOTE: reproduce with: ant test  
-Dtestcase=TestSolrCloudWithHadoopAuthPlugin -Dtests.seed=76478651A88BAF52 
-Dtests.multiplier=3 -Dtests.slow=true -Dtests.locale=sr-Latn-RS 
-Dtests.timezone=Australia/Eucla -Dtests.asserts=true 
-Dtests.file.encoding=ISO-8859-1
   [junit4] ERROR   0.00s J1 | TestSolrCloudWithHadoopAuthPlugin (suite) <<<
   [junit4]    > Throwable #1: java.lang.Exception: Error starting up 
MiniSolrCloudCluster
   [junit4]    >        at 
__randomizedtesting.SeedInfo.seed([76478651A88BAF52]:0)
   [junit4]    >        at 
org.apache.solr.cloud.MiniSolrCloudCluster.checkForExceptions(MiniSolrCloudCluster.java:507)
   [junit4]    >        at 
org.apache.solr.cloud.MiniSolrCloudCluster.<init>(MiniSolrCloudCluster.java:251)
   [junit4]    >        at 
org.apache.solr.cloud.SolrCloudTestCase$Builder.configure(SolrCloudTestCase.java:190)
   [junit4]    >        at 
org.apache.solr.security.hadoop.TestSolrCloudWithHadoopAuthPlugin.setupClass(TestSolrCloudWithHadoopAuthPlugin.java:52)
   [junit4]    >        at java.lang.Thread.run(Thread.java:748)
   [junit4]    >        Suppressed: java.lang.RuntimeException: 
java.lang.NullPointerException
   [junit4]    >                at 
org.eclipse.jetty.servlet.ServletHandler.updateMappings(ServletHandler.java:1600)
   [junit4]    >                at 
org.eclipse.jetty.servlet.ServletHandler.setFilterMappings(ServletHandler.java:1659)
   [junit4]    >                at 
org.eclipse.jetty.servlet.ServletHandler.addFilterMapping(ServletHandler.java:1316)
   [junit4]    >                at 
org.eclipse.jetty.servlet.ServletHandler.addFilterWithMapping(ServletHandler.java:1145)
   [junit4]    >                at 
org.eclipse.jetty.servlet.ServletContextHandler.addFilter(ServletContextHandler.java:448)
   [junit4]    >                at 
org.apache.solr.client.solrj.embedded.JettySolrRunner$1.lifeCycleStarted(JettySolrRunner.java:306)
   [junit4]    >                at 
org.eclipse.jetty.util.component.AbstractLifeCycle.setStarted(AbstractLifeCycle.java:179)
   [junit4]    >                at 
org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:69)
   [junit4]    >                at 
org.apache.solr.client.solrj.embedded.JettySolrRunner.start(JettySolrRunner.java:394)
   [junit4]    >                at 
org.apache.solr.client.solrj.embedded.JettySolrRunner.start(JettySolrRunner.java:367)
   [junit4]    >                at 
org.apache.solr.cloud.MiniSolrCloudCluster.startJettySolrRunner(MiniSolrCloudCluster.java:384)
   [junit4]    >                at 
org.apache.solr.cloud.MiniSolrCloudCluster.lambda$new$0(MiniSolrCloudCluster.java:247)
   [junit4]    >                at 
java.util.concurrent.FutureTask.run(FutureTask.java:266)
   [junit4]    >                at 
org.apache.solr.common.util.ExecutorUtil$MDCAwareThreadPoolExecutor.lambda$execute$0(ExecutorUtil.java:188)
   [junit4]    >                at 
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
   [junit4]    >                at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
   [junit4]    >                ... 1 more
   [junit4]    >        Caused by: java.lang.NullPointerException
   [junit4]    >                at 
org.apache.solr.util.configuration.providers.EnvSSLCredentialProvider.getCredential(EnvSSLCredentialProvider.java:57)
   [junit4]    >                at 
org.apache.solr.util.configuration.providers.AbstractSSLCredentialProvider.getCredential(AbstractSSLCredentialProvider.java:53)
   [junit4]    >                at 
org.apache.solr.util.configuration.SSLConfigurations.getPassword(SSLConfigurations.java:123)
   [junit4]    >                at 
org.apache.solr.util.configuration.SSLConfigurations.getClientKeyStorePassword(SSLConfigurations.java:109)
   [junit4]    >                at 
org.apache.solr.util.configuration.SSLConfigurations.init(SSLConfigurations.java:62)
   [junit4]    >                at 
org.apache.solr.servlet.SolrDispatchFilter.init(SolrDispatchFilter.java:148)
   [junit4]    >                at 
org.eclipse.jetty.servlet.FilterHolder.initialize(FilterHolder.java:139)
   [junit4]    >                at 
org.eclipse.jetty.servlet.ServletHandler.initialize(ServletHandler.java:873)
   [junit4]    >                at 
org.eclipse.jetty.servlet.ServletHandler.updateMappings(ServletHandler.java:1596)
{noformat}

> Using Hadoop Credential Provider as SSL/TLS store password source
> -----------------------------------------------------------------
>
>                 Key: SOLR-10783
>                 URL: https://issues.apache.org/jira/browse/SOLR-10783
>             Project: Solr
>          Issue Type: Improvement
>      Security Level: Public(Default Security Level. Issues are Public) 
>          Components: security
>            Reporter: Mano Kovacs
>            Assignee: Mark Miller
>         Attachments: SOLR-10783.patch, SOLR-10783.patch, SOLR-10783.patch, 
> SOLR-10783.patch
>
>
> As a second iteration of SOLR-10307, I propose support of hadoop credential 
> providers as source of SSL store passwords. 
> Motivation: When SOLR is used in hadoop environment, support of  HCP gives 
> better integration and unified method to pass sensitive credentials to SOLR.



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

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to