[ 
https://issues.apache.org/jira/browse/SOLR-13018?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Shawn Heisey resolved SOLR-13018.
---------------------------------
       Resolution: Invalid
    Fix Version/s:     (was: 7.3.2)

For this project, Jira is not a support portal.  When you created this issue, 
there was a note in prominent red letters saying "This project has a user 
mailing list and an IRC channel for support. Please ensure that you have 
discussed your problem using one of those resources BEFORE creating this 
ticket."

Based on everything you've said, this is not sounding like a bug.  I believe 
that there's something you're not doing correctly.

Some things to note when you reach one of those resources:

bq. Caused by: Can't find resource 'solrconfig.xml'

It's saying that it can't find the solrconfig.xml file in the config that's in 
zookeeper.  At a minimum, your configset must include a solrconfig.xml file and 
a file for your schema as well.  Most likely the schema file will need to be 
named "managed-schema" with no extension.

bq. ERROR: Error uploading file 
/opt/solr/server/solr/configsets/xyz/conf/en-pos-maxent.bin to zookeeper path 
/configs/xyz/en-pos-maxent.bin

There will be a LOT more to this error, it could be several dozen lines long.  
If I had to guess, the problem is likely that the file in question is larger 
than the maximum node size enforced by zookeeper, which defaults to slightly 
less than one megabyte.

If after discussion on the mailing list or IRC channel it is determined that 
Solr actually does have a bug, then the problem can be explored in Jira.


> In solr-cloud mode, It throws an error when i create a collection with schema 
> that has fieldType containing openNLP tokenizer and filters
> -----------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: SOLR-13018
>                 URL: https://issues.apache.org/jira/browse/SOLR-13018
>             Project: Solr
>          Issue Type: Bug
>      Security Level: Public(Default Security Level. Issues are Public) 
>          Components: Admin UI, SolrCloud
>    Affects Versions: 7.3.1
>            Reporter: Parmeshwor Thapa
>            Priority: Major
>
> Here is schema for field:
> {code:java}
> <fieldType name="my_stemming" class="solr.TextField">
>   <analyzer>
>     <tokenizer class="solr.OpenNLPTokenizerFactory" 
> tokenizerModel="en-token.bin"                sentenceModel="en-sent.bin"/>
>     <filter class="solr.LowerCaseFilterFactory"/>
>     <filter class="solr.OpenNLPPOSFilterFactory" 
> posTaggerModel="en-pos-maxent.bin"/>
>     <filter class="solr.OpenNLPLemmatizerFilterFactory" 
> dictionary="en-lemmatizer.txt"/>
>     <filter class="solr.KeywordRepeatFilterFactory"/>
>     <filter class="solr.PorterStemFilterFactory"/>
>     <filter class="solr.RemoveDuplicatesTokenFilterFactory"/>
>   </analyzer>
> </fieldType>
> {code}
> I have configset with all the files(en-token.bin, en-sent.bin, ...) in same 
> directory. Using that configset i can successfully create Solr Core in 
> Standalone mode.
> But With Solr cloud (two instances in separate servers orchestrated by  
> zookeeper) i have the same configset in both servers and i try to create  a  
> collection, it is throwing me an error which doesn't make any sense to me.
> {code:java}
>  $ bin/solr create -p 8984 -c  xyz -n xyz_conf -d xyz_conf
> ... ERROR: Failed to create collection 'xyz' due to: 
> {example1.com:8984_solr=org.apache.solr.client.solrj.impl.HttpSolrClient$RemoteSolrException:Error
>  from server at https://example2.com:8984/solr: Error CREATEing SolrCore 
> 'xyz_shard1_replica_n1': Unable to create core [xyz_shard1_replica_n1] Caused 
> by: Can't find resource 'solrconfig.xml' in classpath or '/configs/xyz', 
> cwd=/opt/solr-7.3.1/server}
> {code}
>  
>   
> Note: uploading configset to zookeeper also fails with error
> {code:java}
> $ bin/solr create -c xyz  -n xyz_conf -d xyz_conf
> ...
> —
> ERROR: Error uploading file 
> /opt/solr/server/solr/configsets/xyz/conf/en-pos-maxent.bin to zookeeper path 
> /configs/xyz/en-pos-maxent.bin
> {code}
>  



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

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

Reply via email to