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

Elaine Cario commented on SOLR-4793:
------------------------------------

Absolute paths didn't work either - it seems to turn it into a relaitve path, 
and still uses the ZKSolrResourceLoader to find it.  I may have to either split 
the files, or dig into the FSTSynonymFilterFactory to figure out some other 
workaround.

ERROR - 2014-06-20 10:45:13.522; org.apache.solr.core.CoreContainer; Unable to 
create core: dictindex_uk
org.apache.solr.common.SolrException: Could not load core configuration for 
core dictindex_uk
        at 
org.apache.solr.core.ConfigSetService.getConfig(ConfigSetService.java:66)
        at org.apache.solr.core.CoreContainer.create(CoreContainer.java:554)
        at org.apache.solr.core.CoreContainer$1.call(CoreContainer.java:261)
        at org.apache.solr.core.CoreContainer$1.call(CoreContainer.java:253)
        at java.util.concurrent.FutureTask.run(FutureTask.java:262)
        at 
java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
        at java.util.concurrent.FutureTask.run(FutureTask.java:262)
        at 
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
        at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
        at java.lang.Thread.run(Thread.java:744)
Caused by: java.lang.RuntimeException: java.io.IOException: Error opening 
/configs/dictindex_uk//apps/solr/collections/en_lemmatization.txt
        at org.apache.solr.schema.IndexSchema.<init>(IndexSchema.java:169)
        at 
org.apache.solr.schema.IndexSchemaFactory.create(IndexSchemaFactory.java:55)
        at 
org.apache.solr.schema.IndexSchemaFactory.buildIndexSchema(IndexSchemaFactory.java:69)
        at 
org.apache.solr.core.ConfigSetService.createIndexSchema(ConfigSetService.java:89)
        at 
org.apache.solr.core.ConfigSetService.getConfig(ConfigSetService.java:62)
        ... 9 more
Caused by: java.io.IOException: Error opening 
/configs/dictindex_uk//apps/solr/collections/en_lemmatization.txt
        at 
org.apache.solr.cloud.ZkSolrResourceLoader.openResource(ZkSolrResourceLoader.java:83)
        at 
org.apache.lucene.analysis.synonym.FSTSynonymFilterFactory.loadSynonyms(FSTSynonymFilterFactory.java:137)
        at 
org.apache.lucene.analysis.synonym.FSTSynonymFilterFactory.inform(FSTSynonymFilterFactory.java:112)
        at 
org.apache.lucene.analysis.synonym.SynonymFilterFactory.inform(SynonymFilterFactory.java:90)
        at 
org.apache.solr.core.SolrResourceLoader.inform(SolrResourceLoader.java:675)
        at org.apache.solr.schema.IndexSchema.<init>(IndexSchema.java:167)
        ... 13 more


> Solr Cloud can't upload large config files ( > 1MB)  to Zookeeper
> -----------------------------------------------------------------
>
>                 Key: SOLR-4793
>                 URL: https://issues.apache.org/jira/browse/SOLR-4793
>             Project: Solr
>          Issue Type: Improvement
>            Reporter: Son Nguyen
>
> Zookeeper set znode size limit to 1MB by default. So we can't start Solr 
> Cloud with some large config files, like synonyms.txt.
> Jan Høydahl has a good idea:
> "SolrCloud is designed with an assumption that you should be able to upload 
> your whole disk-based conf folder into ZK, and that you should be able to add 
> an empty Solr node to a cluster and it would download all config from ZK. So 
> immediately a splitting strategy automatically handled by ZkSolresourceLoader 
> for large files could be one way forward, i.e. store synonyms.txt as e.g. 
> __001_synonyms.txt __002_synonyms.txt...."



--
This message was sent by Atlassian JIRA
(v6.2#6252)

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

Reply via email to