[
https://issues.apache.org/jira/browse/SOLR-4793?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14038889#comment-14038889
]
Elaine Cario commented on SOLR-4793:
------------------------------------
Here is the SOLR_OPTS for Tomcat:
SOLR_OPTS="-Dhost.port=8080 -Dhost.context=solr -Dsolr.install.dir=${SOLR_DIST}
-Dsolr.solr.home=${SOLR_HOME} -Dsolr.base.data.dir=$SOLR_DATA
-Dbootstrap_conf=true -Dsolr.log=${SOLR_LOGDIR}
-Dcollection.configName=wkcontent -DnumShards=2 -DzkHost=10.208.152.230:2181
-Djute.maxbuffer=50000000
-Dlog4j.configuration=file:///apps/solr/collections/log4j.properties"
Here is zoo.cfg
tickTime=2000
initLimit=10
syncLimit=5
dataDir=/apps/zookeeper/zk_datadir
dataLogDir=/apps/zookeeper/zk_logs
clientPort=2181
server.1=zookeep01:2881:3881
jute.maxbuffer=50000000
> 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: [email protected]
For additional commands, e-mail: [email protected]