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 Mark Miller <ma...@gmail.com> on 2012/11/03 14:21:04 UTC

Re: No lockType configured for NRTCachingDirectory

I think I've seen it on 4.X as well yesterday. Let's file a JIRA to track looking into it.

- Mark

On Oct 31, 2012, at 11:30 AM, Markus Jelsma <ma...@openindex.io> wrote:

> That's 5, the actual trunk/
> 
> -----Original message-----
>> From:Mark Miller <ma...@gmail.com>
>> Sent: Wed 31-Oct-2012 16:29
>> To: solr-user@lucene.apache.org
>> Subject: Re: No lockType configured for NRTCachingDirectory
>> 
>> By trunk do you mean 4X or 5X?
>> 
>> On Wed, Oct 31, 2012 at 7:47 AM, Markus Jelsma
>> <ma...@openindex.io> wrote:
>>> Hi,
>>> 
>>> Besides replication issues (see other thread) we're also seeing these warnings in the logs on all 10 nodes and for all cores using today's or yesterday's trunk.
>>> 
>>> 2012-10-31 11:01:03,328 WARN [solr.core.CachingDirectoryFactory] - [main] - : No lockType configured for NRTCachingDirectory(org.apache.lucene.store.MMapDirectory@/opt/solr/cores/shard_h/data lockFactory=org.apache.lucene.store.NativeFSLockFactory@5dd183b7; maxCacheMB=48.0 maxMergeSizeMB=4.0) assuming 'simple'
>>> 
>>> The factory is configured like:
>>> 
>>> <config>
>>>  <luceneMatchVersion>LUCENE_50</luceneMatchVersion>
>>>  <directoryFactory name="DirectoryFactory"
>>>                    class="${solr.directoryFactory:solr.NRTCachingDirectoryFactory}"/>
>>> 
>>> ..
>>> </config>
>>> 
>>> And the locking mechanisch is configured like:
>>> 
>>> <indexConfig>
>>> ..
>>> <lockType>native</lockType>
>>> ..
>>> </indexConfig>
>>> 
>>> Any ideas to why it doesn't seem to see my lockType?
>>> 
>>> Thanks
>>> Markus
>> 
>> 
>> 
>> -- 
>> - Mark
>> 


RE: No lockType configured for NRTCachingDirectory

Posted by Markus Jelsma <ma...@openindex.io>.
https://issues.apache.org/jira/browse/SOLR-4033 
 
-----Original message-----
> From:Mark Miller <ma...@gmail.com>
> Sent: Sat 03-Nov-2012 14:26
> To: solr-user@lucene.apache.org
> Subject: Re: No lockType configured for NRTCachingDirectory
> 
> I think I've seen it on 4.X as well yesterday. Let's file a JIRA to track looking into it.
> 
> - Mark
> 
> On Oct 31, 2012, at 11:30 AM, Markus Jelsma <ma...@openindex.io> wrote:
> 
> > That's 5, the actual trunk/
> > 
> > -----Original message-----
> >> From:Mark Miller <ma...@gmail.com>
> >> Sent: Wed 31-Oct-2012 16:29
> >> To: solr-user@lucene.apache.org
> >> Subject: Re: No lockType configured for NRTCachingDirectory
> >> 
> >> By trunk do you mean 4X or 5X?
> >> 
> >> On Wed, Oct 31, 2012 at 7:47 AM, Markus Jelsma
> >> <ma...@openindex.io> wrote:
> >>> Hi,
> >>> 
> >>> Besides replication issues (see other thread) we're also seeing these warnings in the logs on all 10 nodes and for all cores using today's or yesterday's trunk.
> >>> 
> >>> 2012-10-31 11:01:03,328 WARN [solr.core.CachingDirectoryFactory] - [main] - : No lockType configured for NRTCachingDirectory(org.apache.lucene.store.MMapDirectory@/opt/solr/cores/shard_h/data lockFactory=org.apache.lucene.store.NativeFSLockFactory@5dd183b7; maxCacheMB=48.0 maxMergeSizeMB=4.0) assuming 'simple'
> >>> 
> >>> The factory is configured like:
> >>> 
> >>> <config>
> >>>  <luceneMatchVersion>LUCENE_50</luceneMatchVersion>
> >>>  <directoryFactory name="DirectoryFactory"
> >>>                    class="${solr.directoryFactory:solr.NRTCachingDirectoryFactory}"/>
> >>> 
> >>> ..
> >>> </config>
> >>> 
> >>> And the locking mechanisch is configured like:
> >>> 
> >>> <indexConfig>
> >>> ..
> >>> <lockType>native</lockType>
> >>> ..
> >>> </indexConfig>
> >>> 
> >>> Any ideas to why it doesn't seem to see my lockType?
> >>> 
> >>> Thanks
> >>> Markus
> >> 
> >> 
> >> 
> >> -- 
> >> - Mark
> >> 
> 
>