[ 
https://issues.apache.org/jira/browse/SOLR-13280?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16875120#comment-16875120
 ] 

ASF subversion and git services commented on SOLR-13280:
--------------------------------------------------------

Commit 07cf48816f13444965553a955f69f7be9fc90e41 in lucene-solr's branch 
refs/heads/branch_8x from Christine Poerschke
[ https://gitbox.apache.org/repos/asf?p=lucene-solr.git;h=07cf488 ]

SOLR-13280: Strengthen ScheduledTrigger's preferredOperation parameter 
validation.


> strengthen ScheduledTrigger's preferredOperation parameter validation
> ---------------------------------------------------------------------
>
>                 Key: SOLR-13280
>                 URL: https://issues.apache.org/jira/browse/SOLR-13280
>             Project: Solr
>          Issue Type: Improvement
>          Components: AutoScaling
>            Reporter: Christine Poerschke
>            Assignee: Christine Poerschke
>            Priority: Minor
>         Attachments: SOLR-13280.patch
>
>
> Currently a typo such as (say) {{MOVE_REPLICA}} instead of the correct 
> {{MOVEREPLICA}} results in a "success" response for the "set-trigger" call 
> but in the Solr logs NullPointerException stuff is happening e.g.
> {code}
>   "eventType":"SCHEDULED",
>   "properties":{
>     "actualEventTime":...,
>     "preferredOperation":"MOVE_REPLICA",
>     "_enqueue_time_":...}}
>         at 
> org.apache.solr.cloud.autoscaling.ComputePlanAction.process(ComputePlanAction.java:160)
>  ~[?:?]
>         at 
> org.apache.solr.cloud.autoscaling.ScheduledTriggers.lambda$null$3(ScheduledTriggers.java:324)
>  ~[?:?]
>         ... 6 more
> Caused by: java.lang.NullPointerException
>         at 
> org.apache.solr.client.solrj.cloud.autoscaling.Policy$Session.getSuggester(Policy.java:628)
>  ~[?:?]
>         at 
> org.apache.solr.cloud.autoscaling.ComputePlanAction.getSuggester(ComputePlanAction.java:262)
>  ~[?:?]
>         at 
> org.apache.solr.cloud.autoscaling.ComputePlanAction.process(ComputePlanAction.java:97)
>  ~[?:?]
>         at 
> org.apache.solr.cloud.autoscaling.ScheduledTriggers.lambda$null$3(ScheduledTriggers.java:324)
>  ~[?:?]
>         ... 6 more
> {code}
> Proposed patch to follow.



--
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