Uploaded image for project: 'Solr'
  1. Solr
  2. SOLR-16805

org.apache.solr.common.SolrException: Error loading class 'solr.KerberosPlugin'

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 9.2.1
    • None
    • Authentication
    • OS: Debian 11

      Solr Version : 9.2.1

      Java Version: 11

    Description

      I am facing the same "Error loading class 'solr.KerberosPlugin'" even in Solr 9.2.1

       

      I have copied hadoop-auth classes to WEB_INF/lib and also tried setting SOLR_MODULES=hadoop-auth,hdfs too. But still I am seeing this issue both in 9.2.0 and 9.2.1

       

      It will be helpful if you add more insight to resolve this issue

       

      Below is the Error stack trace:

      {{

      2023-05-17 11:02:38.998 INFO  (zkCallback-13-thread-1) [] o.a.s.c.c.ZkStateReader Updated live nodes from ZooKeeper... (0) -> (1)
      2023-05-17 11:02:39.037 INFO  (main) [] o.a.s.c.CoreContainer Initializing authentication plugin: org.apache.solr.security.KerberosPlugin
      2023-05-17 11:02:39.044 ERROR (main) [] o.a.s.s.CoreContainerProvider Could not start Solr. Check solr/home property and the logs
      2023-05-17 11:02:39.064 ERROR (main) [] o.a.s.c.SolrCore null => org.apache.solr.common.SolrException:  Error loading class 'org.apache.solr.security.KerberosPlugin'
              at org.apache.solr.core.SolrResourceLoader.findClass(SolrResourceLoader.java:550)
      org.apache.solr.common.SolrException:  Error loading class 'org.apache.solr.security.KerberosPlugin'
              at org.apache.solr.core.SolrResourceLoader.findClass(SolrResourceLoader.java:550) ~[solr-core-9.2.1.jar:9.2.1 a4c64ab6a2a270ca69c28c706dabb2927ed8a7c2 - jsweeney - 2023-04-24 11:35:31]
              at org.apache.solr.core.SolrResourceLoader.newInstance(SolrResourceLoader.java:612) ~[solr-core-9.2.1.jar:9.2.1 a4c64ab6a2a270ca69c28c706dabb2927ed8a7c2 - jsweeney - 2023-04-24 11:35:31]
              at org.apache.solr.core.CoreContainer.initializeAuthenticationPlugin(CoreContainer.java:558) ~[solr-core-9.2.1.jar:9.2.1 a4c64ab6a2a270ca69c28c706dabb2927ed8a7c2 - jsweeney - 2023-04-24 11:35:31]
              at org.apache.solr.core.CoreContainer.reloadSecurityProperties(CoreContainer.java:1159) ~[solr-core-9.2.1.jar:9.2.1 a4c64ab6a2a270ca69c28c706dabb2927ed8a7c2 - jsweeney - 2023-04-24 11:35:31]
              at org.apache.solr.core.CoreContainer.load(CoreContainer.java:823) ~[solr-core-9.2.1.jar:9.2.1 a4c64ab6a2a270ca69c28c706dabb2927ed8a7c2 - jsweeney - 2023-04-24 11:35:31]
              at org.apache.solr.servlet.CoreContainerProvider.createCoreContainer(CoreContainerProvider.java:412) ~[solr-core-9.2.1.jar:9.2.1 a4c64ab6a2a270ca69c28c706dabb2927ed8a7c2 - jsweeney - 2023-04-24 11:35:31]
              at org.apache.solr.servlet.CoreContainerProvider.init(CoreContainerProvider.java:230) ~[solr-core-9.2.1.jar:9.2.1 a4c64ab6a2a270ca69c28c706dabb2927ed8a7c2 - jsweeney - 2023-04-24 11:35:31]
              at org.apache.solr.servlet.CoreContainerProvider.contextInitialized(CoreContainerProvider.java:114) ~[solr-core-9.2.1.jar:9.2.1 a4c64ab6a2a270ca69c28c706dabb2927ed8a7c2 - jsweeney - 2023-04-24 11:35:31]
              at org.eclipse.jetty.server.handler.ContextHandler.callContextInitialized(ContextHandler.java:1048) ~[jetty-server-10.0.13.jar:10.0.13]
              at org.eclipse.jetty.servlet.ServletContextHandler.callContextInitialized(ServletContextHandler.java:624) ~[jetty-servlet-10.0.13.jar:10.0.13]
              at org.eclipse.jetty.server.handler.ContextHandler.contextInitialized(ContextHandler.java:983) ~[jetty-server-10.0.13.jar:10.0.13]
              at org.eclipse.jetty.servlet.ServletHandler.initialize(ServletHandler.java:740) ~[jetty-servlet-10.0.13.jar:10.0.13]
              at org.eclipse.jetty.servlet.ServletContextHandler.startContext(ServletContextHandler.java:392) ~[jetty-servlet-10.0.13.jar:10.0.13]
              at org.eclipse.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1304) ~[jetty-webapp-10.0.13.jar:10.0.13]
              at org.eclipse.jetty.server.handler.ContextHandler.doStart(ContextHandler.java:900) ~[jetty-server-10.0.13.jar:10.0.13]
              at org.eclipse.jetty.servlet.ServletContextHandler.doStart(ServletContextHandler.java:306) ~[jetty-servlet-10.0.13.jar:10.0.13]
              at org.eclipse.jetty.webapp.WebAppContext.doStart(WebAppContext.java:532) ~[jetty-webapp-10.0.13.jar:10.0.13]
              at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:93) ~[jetty-util-10.0.13.jar:10.0.13]
              at org.eclipse.jetty.util.component.ContainerLifeCycle.start(ContainerLifeCycle.java:171) ~[jetty-util-10.0.13.jar:10.0.13]

      }}

      Attachments

        Issue Links

          Activity

            People

              houston Houston Putman
              senthh Senthil Kumar
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated: