Do you have the libraries that DIH requires in both machines at the
same path? They are defined near the top of solrconfig.xml

Regards,
   Alex.
----
Sign up for my Solr resources newsletter at http://www.solr-start.com/


On 18 December 2014 at 04:37, Axel Burandt
<axel.burandt-van_sch...@cassidian.com> wrote:
> The Problem arises when a solr core is added over network an the core uses
> the DIH (dataimporthandler)
>
> I tried to add two identical cores to Solr via the Web Interface. The first
> is placed on the local machine,
> while the second is placed on a remote machine.
>
> In the first case it works, no matter where (i.e. in which Windows
> directory) on the local machine the core is placed.
>
> In the remote case the log says
>
>
> org.apache.solr.core.RequestHandlers; created /query: solr.SearchHandler
> INFO  - 2014-12-17 12:04:54.719; org.apache.solr.core.SolrCore; [new_core]
> CLOSING SolrCore org.apache.solr.core.SolrCore@7cc3f7
>
>
>
>
> i.e. Solr closes the Core immediately before it should create the dataimport
> request Handler.
>
> In the "local" case it creates the Handler as expected:
>
>
>
> org.apache.solr.core.RequestHandlers; created /query: solr.SearchHandler
> INFO  - 2014-12-17 12:14:46.981; org.apache.solr.core.RequestHandlers;
> created /dataimport: org.apache.solr.handler.dataimport.DataImportHandler
> ...
> INFO  - 2014-12-17 12:14:46
>
>
> see the attached files for exact logs.
>
> localCase.log
> <http://lucene.472066.n3.nabble.com/file/n4174951/localCase.log>
>
> remoteCase.log
> <http://lucene.472066.n3.nabble.com/file/n4174951/remoteCase.log>
>
>
> Does anyone has an idea?
>
> Thanks in advance
> Axel
>
>
>
> --
> View this message in context: 
> http://lucene.472066.n3.nabble.com/Closing-of-a-core-before-creating-DataImporthandler-if-instanceDirectory-is-accessed-over-network-tp4174951.html
> Sent from the Solr - User mailing list archive at Nabble.com.

Reply via email to