You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-user@lucene.apache.org by Jilani Shaik <ji...@gmail.com> on 2015/05/02 06:16:34 UTC
suggest.Suggester - Loading stored lookup data failed
Hi,
When my solr core is loading, I am getting the below error, even though it
is WARN. I just wants to fix this. Please let me know how to fix it.It is
showing file missing, do we have any sample file for this. I did not find
even in Apache Solr SVN.
2015-05-01 11:33:52,475 WARN suggest.Suggester - Loading stored lookup data
failed
java.io.FileNotFoundException:
/solr/Applications/shards/shard1/data/solr/cores/syslog/data/autocomplete/tst.dat
(No such file or directory)
at java.io.FileInputStream.open0(Native Method)
at java.io.FileInputStream.open(FileInputStream.java:195)
at java.io.FileInputStream.<init>(FileInputStream.java:138)
at
org.apache.solr.spelling.suggest.Suggester.init(Suggester.java:117)
at
org.apache.solr.handler.component.SpellCheckComponent.inform(SpellCheckComponent.java:636)
at
org.apache.solr.core.SolrResourceLoader.inform(SolrResourceLoader.java:651)
at org.apache.solr.core.SolrCore.<init>(SolrCore.java:849)
at org.apache.solr.core.SolrCore.<init>(SolrCore.java:641)
at org.apache.solr.core.CoreContainer.create(CoreContainer.java:583)
at org.apache.solr.core.CoreContainer$1.call(CoreContainer.java:264)
at org.apache.solr.core.CoreContainer$1.call(CoreContainer.java:256)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at
java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)
Please suggest me what to do to remove this warning from my logs.
Thanks,
Jilani
Re: suggest.Suggester - Loading stored lookup data failed
Posted by Jilani Shaik <ji...@gmail.com>.
I did not find the file("tst.dat") configured in solrconfig.xml, but core
is trying to read info from this file. so what I tried is just placed empty
file with "touch"command on the specified location, now it is giving
incorrect data in the file.
Thanks,
Jilani
On Sun, May 3, 2015 at 10:56 AM, Erick Erickson <er...@gmail.com>
wrote:
> Looks like you have a suggester configured with an external file
> called: "tst.dat". Check your solrconfig.xml and see if that file is
> ever mentioned. Either remove the configuration or put the file in the
> indicated directory.
>
> Best,
> Erick
>
>
> On Fri, May 1, 2015 at 9:16 PM, Jilani Shaik <ji...@gmail.com>
> wrote:
> > Hi,
> >
> > When my solr core is loading, I am getting the below error, even though
> it
> > is WARN. I just wants to fix this. Please let me know how to fix it.It is
> > showing file missing, do we have any sample file for this. I did not find
> > even in Apache Solr SVN.
> >
> > 2015-05-01 11:33:52,475 WARN suggest.Suggester - Loading stored lookup
> data
> > failed
> > java.io.FileNotFoundException:
> >
> /solr/Applications/shards/shard1/data/solr/cores/syslog/data/autocomplete/tst.dat
> > (No such file or directory)
> > at java.io.FileInputStream.open0(Native Method)
> > at java.io.FileInputStream.open(FileInputStream.java:195)
> > at java.io.FileInputStream.<init>(FileInputStream.java:138)
> > at
> > org.apache.solr.spelling.suggest.Suggester.init(Suggester.java:117)
> > at
> >
> org.apache.solr.handler.component.SpellCheckComponent.inform(SpellCheckComponent.java:636)
> > at
> >
> org.apache.solr.core.SolrResourceLoader.inform(SolrResourceLoader.java:651)
> > at org.apache.solr.core.SolrCore.<init>(SolrCore.java:849)
> > at org.apache.solr.core.SolrCore.<init>(SolrCore.java:641)
> > at
> org.apache.solr.core.CoreContainer.create(CoreContainer.java:583)
> > at
> org.apache.solr.core.CoreContainer$1.call(CoreContainer.java:264)
> > at
> org.apache.solr.core.CoreContainer$1.call(CoreContainer.java:256)
> > at java.util.concurrent.FutureTask.run(FutureTask.java:266)
> > at
> > java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
> > at java.util.concurrent.FutureTask.run(FutureTask.java:266)
> > at
> >
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
> > at
> >
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
> > at java.lang.Thread.run(Thread.java:745)
> >
> >
> > Please suggest me what to do to remove this warning from my logs.
> >
> >
> > Thanks,
> > Jilani
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
> For additional commands, e-mail: dev-help@lucene.apache.org
>
>
Re: suggest.Suggester - Loading stored lookup data failed
Posted by Erick Erickson <er...@gmail.com>.
Looks like you have a suggester configured with an external file
called: "tst.dat". Check your solrconfig.xml and see if that file is
ever mentioned. Either remove the configuration or put the file in the
indicated directory.
Best,
Erick
On Fri, May 1, 2015 at 9:16 PM, Jilani Shaik <ji...@gmail.com> wrote:
> Hi,
>
> When my solr core is loading, I am getting the below error, even though it
> is WARN. I just wants to fix this. Please let me know how to fix it.It is
> showing file missing, do we have any sample file for this. I did not find
> even in Apache Solr SVN.
>
> 2015-05-01 11:33:52,475 WARN suggest.Suggester - Loading stored lookup data
> failed
> java.io.FileNotFoundException:
> /solr/Applications/shards/shard1/data/solr/cores/syslog/data/autocomplete/tst.dat
> (No such file or directory)
> at java.io.FileInputStream.open0(Native Method)
> at java.io.FileInputStream.open(FileInputStream.java:195)
> at java.io.FileInputStream.<init>(FileInputStream.java:138)
> at
> org.apache.solr.spelling.suggest.Suggester.init(Suggester.java:117)
> at
> org.apache.solr.handler.component.SpellCheckComponent.inform(SpellCheckComponent.java:636)
> at
> org.apache.solr.core.SolrResourceLoader.inform(SolrResourceLoader.java:651)
> at org.apache.solr.core.SolrCore.<init>(SolrCore.java:849)
> at org.apache.solr.core.SolrCore.<init>(SolrCore.java:641)
> at org.apache.solr.core.CoreContainer.create(CoreContainer.java:583)
> at org.apache.solr.core.CoreContainer$1.call(CoreContainer.java:264)
> at org.apache.solr.core.CoreContainer$1.call(CoreContainer.java:256)
> at java.util.concurrent.FutureTask.run(FutureTask.java:266)
> at
> java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
> at java.util.concurrent.FutureTask.run(FutureTask.java:266)
> at
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
> at
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
> at java.lang.Thread.run(Thread.java:745)
>
>
> Please suggest me what to do to remove this warning from my logs.
>
>
> Thanks,
> Jilani
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org