lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Pratik Thaker <Pratik.Tha...@smartstreamrdu.com>
Subject RE: DistributedUpdateProcessorFactory was explicitly disabled from this updateRequestProcessorChain
Date Wed, 19 Apr 2017 08:08:13 GMT
Hi Ishan,

After making suggested changes to solrconfig.xml, I did upconfig on all 3 SOLR VMs and restarted
SOLR engines.

But still I am facing same issue. Is it something I am missing ?

Regards,
Pratik Thaker

-----Original Message-----
From: Ishan Chattopadhyaya [mailto:ichattopadhyaya@gmail.com]
Sent: 14 April 2017 02:12
To: solr-user@lucene.apache.org
Subject: Re: DistributedUpdateProcessorFactory was explicitly disabled from this updateRequestProcessorChain

Why are you adding these update processors (esp. the
AddSchemaFieldsUpdateProcessor) after DistributedUpdateProcessor? Try adding them before DUP,
and it has a better chance to work.

On Wed, Apr 12, 2017 at 3:44 PM, Pratik Thaker < Pratik.Thaker@smartstreamrdu.com> wrote:

> Hi All,
>
> I am facing this issue since very long, can you please provide your
> suggestion on it ?
>
> Regards,
> Pratik Thaker
>
> -----Original Message-----
> From: Pratik Thaker [mailto:Pratik.Thaker@smartstreamrdu.com]
> Sent: 09 February 2017 21:24
> To: 'solr-user@lucene.apache.org'
> Subject: RE: DistributedUpdateProcessorFactory was explicitly disabled
> from this updateRequestProcessorChain
>
> Hi Friends,
>
> Can you please try to give me some details about below issue ?
>
> Regards,
> Pratik Thaker
>
> From: Pratik Thaker
> Sent: 07 February 2017 17:12
> To: 'solr-user@lucene.apache.org'
> Subject: DistributedUpdateProcessorFactory was explicitly disabled
> from this updateRequestProcessorChain
>
> Hi All,
>
> I am using SOLR Cloud 6.0
>
> I am receiving below exception very frequently in solr logs,
>
> o.a.s.h.RequestHandlerBase org.apache.solr.common.SolrException:
> RunUpdateProcessor has received an AddUpdateCommand containing a
> document that appears to still contain Atomic document update
> operations, most likely because DistributedUpdateProcessorFactory was
> explicitly disabled from this updateRequestProcessorChain
>         at
> org.apache.solr.update.processor.RunUpdateProcessor.processAdd(
> RunUpdateProcessorFactory.java:63)
>         at org.apache.solr.update.processor.UpdateRequestProcessor.
> processAdd(UpdateRequestProcessor.java:48)
>         at
> org.apache.solr.update.processor.AddSchemaFieldsUpdateProcessor
> Factory$AddSchemaFieldsUpdateProcessor.processAdd(
> AddSchemaFieldsUpdateProcessorFactory.java:335)
>         at org.apache.solr.update.processor.UpdateRequestProcessor.
> processAdd(UpdateRequestProcessor.java:48)
>         at org.apache.solr.update.processor.FieldMutatingUpdateProcessor.
> processAdd(FieldMutatingUpdateProcessor.java:117)
>         at org.apache.solr.update.processor.UpdateRequestProcessor.
> processAdd(UpdateRequestProcessor.java:48)
>         at org.apache.solr.update.processor.FieldMutatingUpdateProcessor.
> processAdd(FieldMutatingUpdateProcessor.java:117)
>         at org.apache.solr.update.processor.UpdateRequestProcessor.
> processAdd(UpdateRequestProcessor.java:48)
>         at org.apache.solr.update.processor.FieldMutatingUpdateProcessor.
> processAdd(FieldMutatingUpdateProcessor.java:117)
>         at org.apache.solr.update.processor.UpdateRequestProcessor.
> processAdd(UpdateRequestProcessor.java:48)
>         at org.apache.solr.update.processor.FieldMutatingUpdateProcessor.
> processAdd(FieldMutatingUpdateProcessor.java:117)
>         at org.apache.solr.update.processor.UpdateRequestProcessor.
> processAdd(UpdateRequestProcessor.java:48)
>         at
> org.apache.solr.update.processor.FieldNameMutatingUpdateProcess
> orFactory$1.processAdd(FieldNameMutatingUpdateProcessorFactory.java:74)
>         at org.apache.solr.update.processor.UpdateRequestProcessor.
> processAdd(UpdateRequestProcessor.java:48)
>         at org.apache.solr.update.processor.FieldMutatingUpdateProcessor.
> processAdd(FieldMutatingUpdateProcessor.java:117)
>         at org.apache.solr.update.processor.UpdateRequestProcessor.
> processAdd(UpdateRequestProcessor.java:48)
>         at org.apache.solr.update.processor.DistributedUpdateProcessor.
> doLocalAdd(DistributedUpdateProcessor.java:936)
>         at org.apache.solr.update.processor.DistributedUpdateProcessor.
> versionAdd(DistributedUpdateProcessor.java:1091)
>         at org.apache.solr.update.processor.DistributedUpdateProcessor.
> processAdd(DistributedUpdateProcessor.java:714)
>         at org.apache.solr.update.processor.UpdateRequestProcessor.
> processAdd(UpdateRequestProcessor.java:48)
>         at
> org.apache.solr.update.processor.AbstractDefaultValueUpdateProc
> essorFactory$DefaultValueUpdateProcessor.processAdd(
> AbstractDefaultValueUpdateProcessorFactory.java:93)
>         at org.apache.solr.handler.loader.JavabinLoader$1.update(
> JavabinLoader.java:97)
>
> Can you please help me with the root cause ? Below is the snapshot of
> solrconfig,
>
> <updateRequestProcessorChain name="add-unknown-fields-to-the-schema">
>     <!-- UUIDUpdateProcessorFactory will generate an id if none is
> present in the incoming document -->
>     <processor class="solr.UUIDUpdateProcessorFactory" />
>
>     <processor class="solr.LogUpdateProcessorFactory"/>
>    <processor class="solr.DistributedUpdateProcessorFactory"/>
>     <processor class="solr.RemoveBlankFieldUpdateProcessorFactory"/>
>     <processor class="solr.FieldNameMutatingUpdateProcessorFactory">
>       <str name="pattern">[^\w-\.]</str>
>       <str name="replacement">_</str>
>     </processor>
>     <processor class="solr.ParseBooleanFieldUpdateProcessorFactory"/>
>     <processor class="solr.ParseLongFieldUpdateProcessorFactory"/>
>     <processor class="solr.ParseDoubleFieldUpdateProcessorFactory"/>
>     <processor class="solr.ParseDateFieldUpdateProcessorFactory">
>       <arr name="format">
>         <str>yyyy-MM-dd'T'HH:mm:ss.SSSZ</str>
>         <str>yyyy-MM-dd'T'HH:mm:ss,SSSZ</str>
>         <str>yyyy-MM-dd'T'HH:mm:ss.SSS</str>
>         <str>yyyy-MM-dd'T'HH:mm:ss,SSS</str>
>         <str>yyyy-MM-dd'T'HH:mm:ssZ</str>
>         <str>yyyy-MM-dd'T'HH:mm:ss</str>
>         <str>yyyy-MM-dd'T'HH:mmZ</str>
>         <str>yyyy-MM-dd'T'HH:mm</str>
>         <str>yyyy-MM-dd HH:mm:ss.SSSZ</str>
>         <str>yyyy-MM-dd HH:mm:ss,SSSZ</str>
>         <str>yyyy-MM-dd HH:mm:ss.SSS</str>
>         <str>yyyy-MM-dd HH:mm:ss,SSS</str>
>         <str>yyyy-MM-dd HH:mm:ssZ</str>
>         <str>yyyy-MM-dd HH:mm:ss</str>
>         <str>yyyy-MM-dd HH:mmZ</str>
>         <str>yyyy-MM-dd HH:mm</str>
>         <str>yyyy-MM-dd</str>
>       </arr>
>     </processor>
>     <processor class="solr.AddSchemaFieldsUpdateProcessorFactory">
>       <str name="defaultFieldType">strings</str>
>       <lst name="typeMapping">
>         <str name="valueClass">java.lang.Boolean</str>
>         <str name="fieldType">booleans</str>
>       </lst>
>       <lst name="typeMapping">
>         <str name="valueClass">java.util.Date</str>
>         <str name="fieldType">tdates</str>
>       </lst>
>       <lst name="typeMapping">
>         <str name="valueClass">java.lang.Long</str>
>         <str name="valueClass">java.lang.Integer</str>
>         <str name="fieldType">tlongs</str>
>       </lst>
>       <lst name="typeMapping">
>         <str name="valueClass">java.lang.Number</str>
>         <str name="fieldType">tdoubles</str>
>       </lst>
>     </processor>
>     <processor class="solr.RunUpdateProcessorFactory"/>
>   </updateRequestProcessorChain>
>
> Regards,
> Pratik Thaker
>
> ________________________________
> The information in this email is confidential and may be legally
> privileged. It is intended solely for the addressee. Access to this
> email by anyone else is unauthorised. If you are not the intended
> recipient, any disclosure, copying, distribution or any action taken
> or omitted to be taken in reliance on it, is prohibited and may be unlawful.
> ________________________________
>  The information in this email is confidential and may be legally
> privileged. It is intended solely for the addressee. Access to this
> email by anyone else is unauthorised. If you are not the intended
> recipient, any disclosure, copying, distribution or any action taken
> or omitted to be taken in reliance on it, is prohibited and may be unlawful.
>
________________________________
 The information in this email is confidential and may be legally privileged. It is intended
solely for the addressee. Access to this email by anyone else is unauthorised. If you are
not the intended recipient, any disclosure, copying, distribution or any action taken or omitted
to be taken in reliance on it, is prohibited and may be unlawful.
Mime
View raw message