lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Matt Parker (Created) (JIRA)" <j...@apache.org>
Subject [jira] [Created] (SOLR-3164) SOLR Cloud DIH Import Issue
Date Sat, 25 Feb 2012 19:35:48 GMT
SOLR Cloud DIH Import Issue
---------------------------

                 Key: SOLR-3164
                 URL: https://issues.apache.org/jira/browse/SOLR-3164
             Project: Solr
          Issue Type: Bug
          Components: SolrCloud
    Affects Versions: 4.0
         Environment: Windows 7, SOLR REV-1236154, JDK 1.6.0_23
            Reporter: Matt Parker
             Fix For: 4.0


I configured SOLR Cloud/Zookeeper to use a DIH import handler. SOLR throws an error on startup.
Agnieszka Kukalowicz posted a similar error in the solr-user mailing list on Feb 20, 2012.

<requestHandler name="/dataimport" class="org.apache.solr.handler.dataimport.DataImportHandler">
    <lst name="defaults">
       <str name="config">dih-import-config.xml</str>
    </lst>
</requestHandler>

Stack trace:

org.apache.solr.common.SolrException log
SEVERE: null:org.apache.solr.common.SolrException
        at org.apache.solr.core.SolrCore.<init>(SolrCore.java:606)
        at org.apache.solr.core.SolrCore.<init>(SolrCore.java:490)
        at
org.apache.solr.core.CoreContainer.create(CoreContainer.java:705)
        at org.apache.solr.core.CoreContainer.load(CoreContainer.java:442)
        at org.apache.solr.core.CoreContainer.load(CoreContainer.java:313)
        at
org.apache.solr.core.CoreContainer$Initializer.initialize(CoreContainer.ja
va:262)
        at
org.apache.solr.servlet.SolrDispatchFilter.init(SolrDispatchFilter.java:98
)
        at
org.mortbay.jetty.servlet.FilterHolder.doStart(FilterHolder.java:97)
        at
org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50)
        at
org.mortbay.jetty.servlet.ServletHandler.initialize(ServletHandler.java:71
3)
        at
org.mortbay.jetty.servlet.Context.startContext(Context.java:140)
        at
org.mortbay.jetty.webapp.WebAppContext.startContext(WebAppContext.java:128
2)
        at
org.mortbay.jetty.handler.ContextHandler.doStart(ContextHandler.java:518)
        at
org.mortbay.jetty.webapp.WebAppContext.doStart(WebAppContext.java:499)
        at
org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50)
        at
org.mortbay.jetty.handler.HandlerCollection.doStart(HandlerCollection.java
:152)
        at
org.mortbay.jetty.handler.ContextHandlerCollection.doStart(ContextHandlerC
ollection.java:156)
        at
org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50)
        at
org.mortbay.jetty.handler.HandlerCollection.doStart(HandlerCollection.java
:152)
        at
org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50)
        at
org.mortbay.jetty.handler.HandlerWrapper.doStart(HandlerWrapper.java:130)
        at org.mortbay.jetty.Server.doStart(Server.java:224)
        at
org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50)
        at
org.mortbay.xml.XmlConfiguration.main(XmlConfiguration.java:985)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:
39)
        at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorIm
pl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at org.mortbay.start.Main.invokeMain(Main.java:194)
        at org.mortbay.start.Main.start(Main.java:534)
        at org.mortbay.start.Main.start(Main.java:441)
        at org.mortbay.start.Main.main(Main.java:119)
Caused by: org.apache.solr.common.SolrException: FATAL: Could not create
importer. DataImporter config invalid
        at
org.apache.solr.handler.dataimport.DataImportHandler.inform(DataImportHand
ler.java:120)
        at
org.apache.solr.core.SolrResourceLoader.inform(SolrResourceLoader.java:542
)
        at org.apache.solr.core.SolrCore.<init>(SolrCore.java:601)
        ... 31 more
Caused by: org.apache.solr.common.cloud.ZooKeeperException:
ZkSolrResourceLoader does not support getConfigDir() - likely, w
        at
org.apache.solr.cloud.ZkSolrResourceLoader.getConfigDir(ZkSolrResourceLoad
er.java:99)
        at
org.apache.solr.handler.dataimport.SimplePropertiesWriter.init(SimplePrope
rtiesWriter.java:47)
        at
org.apache.solr.handler.dataimport.DataImporter.<init>(DataImporter.java:1
12)
        at
org.apache.solr.handler.dataimport.DataImportHandler.inform(DataImportHand
ler.java:114)
        ... 33 more


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

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


Mime
View raw message