NPE deleting expired docs (SOLR-13281)

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

NPE deleting expired docs (SOLR-13281)

Gerald Bonfiglio
Has anyone else observed NPEs attempting to have expired docs removed?  I'm seeing the following exceptions:

2019-02-28 04:06:34.849 ERROR (autoExpireDocs-30-thread-1) [ ] o.a.s.u.p.DocExpirationUpdateProcessorFactory Runtime error in periodic deletion of expired docs: null
java.lang.NullPointerException: null
at org.apache.solr.update.processor.DistributedUpdateProcessor.handleReplicationFactor(DistributedUpdateProcessor.java:992) ~[solr-core-7.7.0.jar:7.7.0 8c831daf4eb41153c25ddb152501ab5bae3ea3d5 - jimczi - 2019-02-04 23:23:46]
at org.apache.solr.update.processor.DistributedUpdateProcessor.doFinish(DistributedUpdateProcessor.java:960) ~[solr-core-7.7.0.jar:7.7.0 8c831daf4eb41153c25ddb152501ab5bae3ea3d5 - jimczi - 2019-02-04 23:23:46]

Seems all that's required to reproduce it is to include DocExpirationUpdateProcessorFactory in an updateRequestProcessorChain.

More details can be found at: https://issues.apache.org/jira/projects/SOLR/issues/SOLR-13281





[Nastel  Technologies]<http://www.nastel.com/>

The information contained in this e-mail and in any attachment is confidential and
is intended solely for the use of the individual or entity to which it is addressed.
Access, copying, disclosure or use of such information by anyone else is unauthorized.
If you are not the intended recipient, please delete the e-mail and refrain from use of such information.
Reply | Threaded
Open this post in threaded view
|

Re: NPE deleting expired docs (SOLR-13281)

Hendrik Haddorp
We have the same issue on Solr 7.6.

On 12.03.2019 16:05, Gerald Bonfiglio wrote:

> Has anyone else observed NPEs attempting to have expired docs removed?  I'm seeing the following exceptions:
>
> 2019-02-28 04:06:34.849 ERROR (autoExpireDocs-30-thread-1) [ ] o.a.s.u.p.DocExpirationUpdateProcessorFactory Runtime error in periodic deletion of expired docs: null
> java.lang.NullPointerException: null
> at org.apache.solr.update.processor.DistributedUpdateProcessor.handleReplicationFactor(DistributedUpdateProcessor.java:992) ~[solr-core-7.7.0.jar:7.7.0 8c831daf4eb41153c25ddb152501ab5bae3ea3d5 - jimczi - 2019-02-04 23:23:46]
> at org.apache.solr.update.processor.DistributedUpdateProcessor.doFinish(DistributedUpdateProcessor.java:960) ~[solr-core-7.7.0.jar:7.7.0 8c831daf4eb41153c25ddb152501ab5bae3ea3d5 - jimczi - 2019-02-04 23:23:46]
>
> Seems all that's required to reproduce it is to include DocExpirationUpdateProcessorFactory in an updateRequestProcessorChain.
>
> More details can be found at: https://issues.apache.org/jira/projects/SOLR/issues/SOLR-13281
>
>
>
>
>
> [Nastel  Technologies]<http://www.nastel.com/>
>
> The information contained in this e-mail and in any attachment is confidential and
> is intended solely for the use of the individual or entity to which it is addressed.
> Access, copying, disclosure or use of such information by anyone else is unauthorized.
> If you are not the intended recipient, please delete the e-mail and refrain from use of such information.
>

Reply | Threaded
Open this post in threaded view
|

Re: NPE deleting expired docs (SOLR-13281)

Christine Poerschke (BLOOMBERG/ LONDON)
In reply to this post by Gerald Bonfiglio
Thank you for sharing that 7.6 has the same issue.

If anyone is interested in delving into the code to investigate further, I've added short steps on https://issues.apache.org/jira/browse/SOLR-13281 as to how one could potentially make a start on that.

From: [hidden email] At: 03/13/19 08:45:12To:  [hidden email]
Subject: Re: NPE deleting expired docs (SOLR-13281)

We have the same issue on Solr 7.6.

On 12.03.2019 16:05, Gerald Bonfiglio wrote:
> Has anyone else observed NPEs attempting to have expired docs removed?  I'm
seeing the following exceptions:
>
> 2019-02-28 04:06:34.849 ERROR (autoExpireDocs-30-thread-1) [ ]
o.a.s.u.p.DocExpirationUpdateProcessorFactory Runtime error in periodic
deletion of expired docs: null
> java.lang.NullPointerException: null
> at
org.apache.solr.update.processor.DistributedUpdateProcessor.handleReplicationFac
tor(DistributedUpdateProcessor.java:992) ~[solr-core-7.7.0.jar:7.7.0
8c831daf4eb41153c25ddb152501ab5bae3ea3d5 - jimczi - 2019-02-04 23:23:46]
> at
org.apache.solr.update.processor.DistributedUpdateProcessor.doFinish(Distributed
UpdateProcessor.java:960) ~[solr-core-7.7.0.jar:7.7.0
8c831daf4eb41153c25ddb152501ab5bae3ea3d5 - jimczi - 2019-02-04 23:23:46]
>
> Seems all that's required to reproduce it is to include
DocExpirationUpdateProcessorFactory in an updateRequestProcessorChain.
>
> More details can be found at:
https://issues.apache.org/jira/projects/SOLR/issues/SOLR-13281
>
>
>
>
>
> [Nastel  Technologies]<http://www.nastel.com/>
>
> The information contained in this e-mail and in any attachment is
confidential and
> is intended solely for the use of the individual or entity to which it is
addressed.
> Access, copying, disclosure or use of such information by anyone else is
unauthorized.
> If you are not the intended recipient, please delete the e-mail and refrain
from use of such information.
>