[jira] [Updated] (SOLR-8728) Splitting a shard of a collection created with a rule fails with NPE
[ https://issues.apache.org/jira/browse/SOLR-8728?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Shai Erera updated SOLR-8728: - Attachment: SOLR-8728.patch If you run this test it fails and you can see this exception in the console: {noformat} 42071 ERROR (OverseerThreadFactory-6-thread-2-processing-n:127.0.0.1:49954_yd_dma%2Fkz) [n:127.0.0.1:49954_yd_dma%2Fkz] o.a.s.c.OverseerCollectionMessageHandler Error executing split operation for collection: shardSplitWithRule parent shard: shard1 java.lang.NullPointerException at org.apache.solr.cloud.rule.Rule.getNumberOfNodesWithSameTagVal(Rule.java:166) at org.apache.solr.cloud.rule.Rule.tryAssignNodeToShard(Rule.java:128) at org.apache.solr.cloud.rule.ReplicaAssigner.tryAPermutationOfRules(ReplicaAssigner.java:249) at org.apache.solr.cloud.rule.ReplicaAssigner.tryAllPermutations(ReplicaAssigner.java:201) at org.apache.solr.cloud.rule.ReplicaAssigner.getNodeMappings0(ReplicaAssigner.java:173) at org.apache.solr.cloud.rule.ReplicaAssigner.getNodeMappings(ReplicaAssigner.java:134) at org.apache.solr.cloud.Assign.getNodesViaRules(Assign.java:215) at org.apache.solr.cloud.Assign.getNodesForNewReplicas(Assign.java:178) at org.apache.solr.cloud.OverseerCollectionMessageHandler.addReplica(OverseerCollectionMessageHandler.java:2164) at org.apache.solr.cloud.OverseerCollectionMessageHandler.splitShard(OverseerCollectionMessageHandler.java:1388) at org.apache.solr.cloud.OverseerCollectionMessageHandler.processMessage(OverseerCollectionMessageHandler.java:236) at org.apache.solr.cloud.OverseerTaskProcessor$Runner.run(OverseerTaskProcessor.java:433) at org.apache.solr.common.util.ExecutorUtil$MDCAwareThreadPoolExecutor$1.run(ExecutorUtil.java:231) 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) {noformat} > Splitting a shard of a collection created with a rule fails with NPE > > > Key: SOLR-8728 > URL: https://issues.apache.org/jira/browse/SOLR-8728 > Project: Solr > Issue Type: Bug >Reporter: Shai Erera > Attachments: SOLR-8728.patch > > > Spinoff from this discussion: http://markmail.org/message/f7liw4hqaagxo7y2 > I wrote a short test which reproduces, will upload shortly. -- This message was sent by Atlassian JIRA (v6.3.4#6332) - To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org
[jira] [Updated] (SOLR-8728) Splitting a shard of a collection created with a rule fails with NPE
[ https://issues.apache.org/jira/browse/SOLR-8728?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Noble Paul updated SOLR-8728: - Attachment: SOLR-8728.patch summary of changes: * {{ReplicaAssigner}} should only lookup tags for nodes participating in selection. This is to avoid the NPE. * {{splitShard()}} preassigns nodes and the assignment is done without using the {{ReplicaAssigner}} .This means , rules don't kick in when nodes are assigned in splitshard. In this patch, the preassigning is done using the rules , if they exist [~shalinmangar] I would like you to take a look at the changes made to {{splitShard()}} > Splitting a shard of a collection created with a rule fails with NPE > > > Key: SOLR-8728 > URL: https://issues.apache.org/jira/browse/SOLR-8728 > Project: Solr > Issue Type: Bug >Reporter: Shai Erera >Assignee: Noble Paul > Attachments: SOLR-8728.patch, SOLR-8728.patch > > > Spinoff from this discussion: http://markmail.org/message/f7liw4hqaagxo7y2 > I wrote a short test which reproduces, will upload shortly. -- This message was sent by Atlassian JIRA (v6.3.4#6332) - To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org
[jira] [Updated] (SOLR-8728) Splitting a shard of a collection created with a rule fails with NPE
[ https://issues.apache.org/jira/browse/SOLR-8728?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Noble Paul updated SOLR-8728: - Fix Version/s: 6.1 master > Splitting a shard of a collection created with a rule fails with NPE > > > Key: SOLR-8728 > URL: https://issues.apache.org/jira/browse/SOLR-8728 > Project: Solr > Issue Type: Bug >Reporter: Shai Erera >Assignee: Noble Paul > Fix For: master, 6.0, 6.1 > > Attachments: SOLR-8728.patch, SOLR-8728.patch > > > Spinoff from this discussion: http://markmail.org/message/f7liw4hqaagxo7y2 > I wrote a short test which reproduces, will upload shortly. -- This message was sent by Atlassian JIRA (v6.3.4#6332) - To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org
[jira] [Updated] (SOLR-8728) Splitting a shard of a collection created with a rule fails with NPE
[ https://issues.apache.org/jira/browse/SOLR-8728?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Noble Paul updated SOLR-8728: - Fix Version/s: 5.5.1 > Splitting a shard of a collection created with a rule fails with NPE > > > Key: SOLR-8728 > URL: https://issues.apache.org/jira/browse/SOLR-8728 > Project: Solr > Issue Type: Bug >Reporter: Shai Erera >Assignee: Noble Paul > Fix For: master, 6.0, 5.5.1, 6.1 > > Attachments: SOLR-8728.patch, SOLR-8728.patch > > > Spinoff from this discussion: http://markmail.org/message/f7liw4hqaagxo7y2 > I wrote a short test which reproduces, will upload shortly. -- This message was sent by Atlassian JIRA (v6.3.4#6332) - To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org
[jira] [Updated] (SOLR-8728) Splitting a shard of a collection created with a rule fails with NPE
[ https://issues.apache.org/jira/browse/SOLR-8728?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Hoss Man updated SOLR-8728: --- Fix Version/s: master (7.0) Manually correcting fixVersion per Step #S5 of LUCENE-7271 > Splitting a shard of a collection created with a rule fails with NPE > > > Key: SOLR-8728 > URL: https://issues.apache.org/jira/browse/SOLR-8728 > Project: Solr > Issue Type: Bug >Reporter: Shai Erera >Assignee: Noble Paul > Fix For: 5.5.1, 6.0, 6.1, master (7.0) > > Attachments: SOLR-8728.patch, SOLR-8728.patch > > > Spinoff from this discussion: http://markmail.org/message/f7liw4hqaagxo7y2 > I wrote a short test which reproduces, will upload shortly. -- This message was sent by Atlassian JIRA (v6.3.4#6332) - To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org