Commit Graph

1774 Commits

Author SHA1 Message Date
Noble Paul 054f445a27 SOLR-11307: The SHARD hint is deprecated in favor of a COLL_SHARD hint 2017-09-04 22:55:55 +09:30
Shalin Shekhar Mangar b2cf38c191 Merge branch 'master' into feature/autoscaling
# Conflicts:
#	solr/CHANGES.txt
2017-09-02 21:12:07 +05:30
Dennis Gove 4b6f2e5ca7 SOLR-11283: Refactors all Stream Evaluators in solrj.io.eval to simplify them 2017-08-25 22:07:37 -04:00
Andrzej Bialecki ce7db65e6f Revert "SOLR-11285: Initial refactoring."
This reverts commit aee54ff7d1.
2017-08-24 15:10:29 +02:00
Andrzej Bialecki aee54ff7d1 SOLR-11285: Initial refactoring. 2017-08-24 15:09:37 +02:00
Andrzej Bialecki 98c371f85e SOLR-11076 New /autoscaling/history API to return past cluster events and actions. 2017-08-23 14:00:16 +02:00
Andrzej Bialecki f10993d26d SOLR-10769: Allow multiple nodes in nodeAdded / nodeLost events. 2017-08-23 13:58:32 +02:00
Shalin Shekhar Mangar ac98e89d41 Merge branch 'master' into feature/autoscaling 2017-08-21 12:17:04 +05:30
Ishan Chattopadhyaya c8e0e939e4 SOLR-11183: V2 APIs are now available at /api endpoint 2017-08-20 21:00:15 +05:30
Noble Paul 68bfcd78c7 SOLR-11215: use the new metrics syntax in autoscaling metrics and system properties 2017-08-18 00:38:10 +09:30
Noble Paul 91446f7f77 SOLR:10822: Share a Policy.session object between multiple collection admin calls to get the correct computations 2017-08-15 16:06:35 +09:30
Shalin Shekhar Mangar 5e5462e408 Merge branch 'master' into feature/autoscaling
# Conflicts:
#	solr/CHANGES.txt
2017-08-14 12:00:51 +05:30
Shalin Shekhar Mangar 67de1a3f70 SOLR-9735: Replace nocommit with link to ref guide document 2017-08-11 19:49:08 +05:30
Noble Paul 9a157edf5d SOLR-11205: Any metrics value can be directly accessed in autoscaling policies 2017-08-11 23:27:53 +09:30
Joel Bernstein b3127ec582 SOLR-11225: Add cumulativeProbability Stream Evaluator 2017-08-10 21:55:45 -04:00
Christine Poerschke 9b0fccfbda Remove (package) javadocs in solrj UuidEvaluator. 2017-08-10 17:11:52 +01:00
Christine Poerschke 8e2dab7315 SOLR-11090: Add Replica.getProperty accessor. 2017-08-09 09:48:02 +01:00
Joel Bernstein ea85543ace SOLR-11212: Allow the predict StreamEvaluator to work on arrays as well as a single numeric parameter 2017-08-08 14:53:45 -04:00
Shalin Shekhar Mangar 1f6a94551f Merge branch 'master' into feature/autoscaling
# Conflicts:
#	solr/CHANGES.txt
#	solr/core/src/java/org/apache/solr/cloud/autoscaling/AutoScalingHandler.java
#	solr/core/src/test/org/apache/solr/cloud/SharedFSAutoReplicaFailoverTest.java
#	solr/core/src/test/org/apache/solr/cloud/autoscaling/AutoScalingHandlerTest.java
#	solr/solrj/src/java/org/apache/solr/client/solrj/impl/HttpSolrClient.java
2017-08-08 17:15:46 +05:30
Erick Erickson 53db72c598 SOLR-11198: fix test failures 2017-08-07 09:57:38 -07:00
Erick Erickson e053e2298f SOLR-11198: downconfig downloads empty file as folder, test failures possible fix and logging 2017-08-06 18:21:48 -07:00
Joel Bernstein ee69616957 SOLR-11203-Simple regression output should include R-square 2017-08-06 13:51:39 -04:00
Erick Erickson 522367cc4d SOLR-11198: downconfig downloads empty file as folder 2017-08-06 09:48:16 -07:00
Noble Paul c1d28c3ece SOLR-11178: Change error handling in AutoScalingHandler to be consistent w/ other APIs 2017-08-04 23:41:30 +09:30
Noble Paul 1c47a85f23 SOLR-11178: Change error handling in AutoScalingHandler to be consistent w/ other APIs 2017-08-03 23:01:35 +09:30
Noble Paul 82a426c6e7 SOLR-11157: remove-policy must fail if a policy to be deleted is used by a collection 2017-08-03 11:19:48 +09:30
Anshum Gupta 211d106cc2 SOLR-11126: Node-level health check handler, with SolrJ support 2017-08-02 11:54:49 -07:00
Cao Manh Dat 93ed4770ac SOLR-9321: Remove deprecated methods of ClusterState 2017-08-01 14:55:00 +07:00
Joel Bernstein b058818a3e SOLR-11160: Fix precommit 2017-07-31 15:57:30 -04:00
Joel Bernstein 71517bc292 SOLR-11160: Add normalDistribution, uniformDistribution, sample and kolmogorovSmirnov Stream Evaluators 2017-07-31 15:40:21 -04:00
Steve Rowe 68623e975c SOLR-10756: Undeprecate ZkStateReader.updateClusterState(), mark as @lucene.internal, and rename to forciblyRefreshAllClusterStateSlow(). 2017-07-28 13:59:19 -04:00
Steve Rowe 51b6840488 SOLR-11155: /analysis/field and /analysis/document requests should support points fields. 2017-07-28 11:07:44 -04:00
Cao Manh Dat 0f7e3be589 SOLR-10397: Remove old implementation of autoAddReplicas features 2017-07-28 18:00:03 +07:00
Steve Rowe 9e8027d39a SOLR-10760: fix another Solrj test 2017-07-26 18:42:49 -04:00
Steve Rowe f6b0f96568 SOLR-10760: fix Solrj tests that depended on Trie fields 2017-07-26 18:24:34 -04:00
Tomas Fernandez Lobbe a4b7472139 SOLR-11130: Remove unused import 2017-07-26 09:30:49 -07:00
Noble Paul 9f73bcf11d SOLR-11130: V2Request is SolrJ should return the correct collection name 2017-07-26 21:10:21 +09:30
Joel Bernstein 81bc463ce5 SOLR-10944: Get expression fails to return EOF tuple 2017-07-25 13:02:13 -04:00
Cao Manh Dat b53736155a Merge 'master' into feature/autoscaling 2017-07-25 16:05:24 +07:00
Chris Hostetter 6a59253ec3 SOLR-10494: Make default response format JSON (wt=json), and also indent text responses formats (indent=on) by default 2017-07-24 08:42:02 -07:00
Chris Hostetter eae2efcbd9 SOLR-11136: Fix solrj XMLResponseParser when nested docs transformer is used with indented XML 2017-07-21 17:25:57 -07:00
Cassandra Targett cdae11e25a SOLR-10848: Update v2 api specs with new Ref Guide address and anchor links 2017-07-21 15:47:01 -05:00
Andrzej Bialecki e9e9b3c21a SOLR-11031: Implement SystemLogListener for autoscaling. 2017-07-19 17:20:52 +02:00
Erick Erickson dd5be42e6c SOLR-11106: TestLBHttpSolrClient.testReliablity takes 30 seconds because of the wrong server name 2017-07-18 08:31:35 -07:00
Noble Paul 3a6672a40e SOLR-11026: MoveReplicaSuggester must check if the 'target' becomes more 'loaded' than the 'source' if an operation is performed 2017-07-18 19:21:56 +09:30
Cao Manh Dat cafd0714cd Merge 'master' into feature/autoscaling 2017-07-18 12:13:39 +07:00
Christine Poerschke e23ac243ef SOLR-11012: Fix three (JavaBinCodec not being closed) Resource Leak warnings. 2017-07-17 13:22:36 +01:00
Erick b17ec1445d SOLR-11075: Refactor handling of params in CloudSolrStream and FacetStream 2017-07-16 09:05:07 -07:00
Shalin Shekhar Mangar c9cf57fc28 SOLR-11068: MOVEREPLICA and REPLACENODE API parameter names are now 'sourceNode' and 'targetNode'. The old names viz. 'fromNode' for MOVEREPLICA and 'source', 'target' for REPLACENODE have been deprecated 2017-07-15 09:05:33 +05:30
Joel Bernstein ebd130b7e2 SOLR-10802: Fix problem with variable assignment 2017-07-14 11:13:09 -04:00
Noble Paul ee53334608 SOLR-11080: Unused field Row.violations 2017-07-14 17:17:08 +09:30
Erick Erickson 19fd95b46c commit 4241a13beb0a14e8bd81a520bd8e04ab6c7465aa
Author: Erick Erickson <erick@apache.org>
Date:   Thu Jul 13 10:39:33 2017 -0700

    SOLR-10908: CloudSolrStream.toExpression incorrectly handles fq clauses
2017-07-13 11:29:46 -07:00
Joel Bernstein c40f6d7d79 SOLR-10802: Add plot Stream Expression 2017-07-13 13:05:47 -04:00
Andrzej Bialecki 2590a430f5 SOLR-11000: Changes made via AutoScalingHandler should be atomic. 2017-07-13 17:52:09 +02:00
Noble Paul d2849cd453 Merge remote-tracking branch 'origin/feature/autoscaling' into feature/autoscaling 2017-07-13 16:57:51 +09:30
Noble Paul 9e4d542b04 SOLR-11005: While using policies, convert maxShardsperNode parameter into a policy
SOLR-10994: CREATESHARD ADDREPLICA to use policy framework
2017-07-13 16:57:36 +09:30
Cao Manh Dat 88d9b28492 Merge branch 'master' into feature/autoscaling 2017-07-13 14:16:49 +07:00
Christine Poerschke e730ced5ef Consistently use ZkStateReader.CONSTANT in Replica.java (instead of mix of ZkStateReader.CONSTANT and import ZkStateReader.CONSTANT). 2017-07-12 17:14:24 +01:00
Joel Bernstein d35da77b72 SOLR-11046: Add residuals Stream Evaluator 2017-07-12 10:28:52 -04:00
Cao Manh Dat ad7f2a787d SOLR-11041: MoveReplicaCmd do not specify ulog dir in case of HDFS 2017-07-12 14:07:27 +07:00
Andrzej Bialecki 9c8e829f58 SOLR-10996: Implement TriggerListener API. 2017-07-10 18:29:15 +02:00
Ishan Chattopadhyaya b29951ff2b SOLR-10920: Warning for production use of _default configset's data-driven functionality 2017-07-09 17:05:38 +05:30
Shalin Shekhar Mangar b8c86d24d4 Merge branch 'master' into feature/autoscaling
# Conflicts:
#	solr/CHANGES.txt
2017-07-07 09:53:33 +05:30
Joel Bernstein 7051a7919f SOLR-11024: ParallelStream should set the StreamContext when constructing SolrStreams 2017-07-06 20:54:19 -04:00
Varun Thacker 74b609cf88 SOLR-10826: Fix CloudSolrClient to expand the collection parameter correctly 2017-07-06 13:30:11 -07:00
Joel Bernstein 01d0ce3258 SOLR-11019: Add addAll Stream Evaluator 2017-07-06 15:22:47 -04:00
Anshum Gupta 30e9b51af7 SOLR-11004: Consolidate SolrClient builder code into an abstract base class to reduce duplication. 2017-07-05 11:47:01 -07:00
Shalin Shekhar Mangar 467c692d40 Merge branch 'master' into feature/autoscaling
# Conflicts:
#	solr/core/src/java/org/apache/solr/cloud/MoveReplicaCmd.java
2017-07-05 05:39:44 +05:30
Anshum Gupta 6c163658bb SOLR-10456: Deprecate timeout related setters from SolrClients, and replace with Builder based implementation 2017-07-03 21:44:18 -07:00
Shalin Shekhar Mangar 2e19a94fcb Merge branch 'master' into feature/autoscaling
# Conflicts:
#	solr/CHANGES.txt
#	solr/core/src/java/org/apache/solr/cloud/Assign.java
2017-07-04 06:49:13 +05:30
Cao Manh Dat 8e0247e94a SOLR-10379: Adding testMultipleCollections() to TestPolicy 2017-07-03 15:06:59 +07:00
Noble Paul b21b0dcc22 SOLR-10994: CREATE & CREATESHARD to support replica types when using policy 2017-07-02 17:59:03 +09:30
Cao Manh Dat b18cf30dd3 SOLR-10397: Implement AutoAddReplicasPlanAction 2017-06-29 10:26:48 +07:00
Shalin Shekhar Mangar 39c6fb2e3e SOLR-10931: Move ReplicaCount and ReplicaInfo classes to new package. Fix compile and merge issues. 2017-06-28 12:21:29 +05:30
Shalin Shekhar Mangar 8d668503d8 Merge branch 'master' into feature/autoscaling
# Conflicts:
#	solr/solrj/src/test/org/apache/solr/client/solrj/cloud/autoscaling/TestPolicy.java
2017-06-28 11:54:23 +05:30
Shalin Shekhar Mangar b99ee2b136 SOLR-10931: Move TestPolicy to org.apache.solr.client.solrj.cloud.autoscaling package 2017-06-28 11:53:27 +05:30
Shalin Shekhar Mangar 4239896e6d Merge branch 'master' into feature/autoscaling
# Conflicts:
#	solr/CHANGES.txt
#	solr/core/src/java/org/apache/solr/cloud/OverseerCollectionMessageHandler.java
#	solr/solrj/src/java/org/apache/solr/client/solrj/cloud/autoscaling/AddReplicaSuggester.java
#	solr/solrj/src/java/org/apache/solr/client/solrj/cloud/autoscaling/Cell.java
#	solr/solrj/src/java/org/apache/solr/client/solrj/cloud/autoscaling/Clause.java
#	solr/solrj/src/java/org/apache/solr/client/solrj/cloud/autoscaling/MoveReplicaSuggester.java
#	solr/solrj/src/java/org/apache/solr/client/solrj/cloud/autoscaling/Operand.java
#	solr/solrj/src/java/org/apache/solr/client/solrj/cloud/autoscaling/Row.java
#	solr/solrj/src/java/org/apache/solr/client/solrj/impl/SolrClientDataProvider.java
#	solr/solrj/src/test/org/apache/solr/cloud/autoscaling/TestPolicy.java
2017-06-28 11:09:19 +05:30
Ishan Chattopadhyaya 13a3ae2922 SOLR-10931: Refactoring the package name for autoscaling client classes 2017-06-28 07:55:40 +05:30
Noble Paul 257ba055d8 Refactored to pull out ReplicaInfo as a top level class 2017-06-27 19:29:32 +09:30
Shalin Shekhar Mangar e863d0f548 Merge branch 'master' into feature/autoscaling
# Conflicts:
#	solr/CHANGES.txt
#	solr/core/src/java/org/apache/solr/cloud/ZkController.java
2017-06-27 10:48:05 +05:30
Ishan Chattopadhyaya c66a8d9fda SOLR-10272: Reverting a mistakenly deleted file 2017-06-27 09:14:00 +05:30
Ishan Chattopadhyaya ee572b052a SOLR-10272: Use _default config set if config name is not specified with CREATE collection 2017-06-27 09:07:05 +05:30
Chris Hostetter 14a0b4fa53 SOLR-10946: Randomize the usage of Points based numerics in solrj test schemas
This includes an @SuppressPointFields for SOLR-10960
2017-06-26 15:49:55 -07:00
Shalin Shekhar Mangar 4c47a32950 SOLR-10496: Add a test for multiple operations suggested by three different cluster policies 2017-06-27 00:33:10 +05:30
Noble Paul 72cf7dc2f7 check for AIOOBE 2017-06-26 23:08:41 +09:30
Noble Paul c5684cc85c making the url consistent w/ node name 2017-06-26 20:39:27 +09:30
Ishan Chattopadhyaya e4a7fc59ad SOLR-10574: Adding _default configset, replacing data_driven_schema_configs and basic_configs 2017-06-26 04:58:02 +05:30
Shalin Shekhar Mangar 1dd09fc40d Merge branch 'master' into feature/autoscaling
# Conflicts:
#	solr/CHANGES.txt
2017-06-25 07:35:39 +05:30
Noble Paul e204ab0eef SOLR-10798: Add support for different replica types in the new policy framework 2017-06-23 22:56:01 +09:30
Shalin Shekhar Mangar 767335da19 SOLR-10496: New ComputePlanAction for autoscaling which uses the policy framework to compute cluster operations upon a trigger fire
Squashed commit of the following:

commit 8a5239d000f0090867f7db00983e335e4bdc931a
Author: Shalin Shekhar Mangar <shalin@apache.org>
Date:   Fri Jun 23 17:52:01 2017 +0530

    SOLR-10496: New ComputePlanAction for autoscaling which uses the policy framework to compute cluster operations upon a trigger fire

commit 70f60a23bc1e706abb41a4900c65305f1763f8f6
Author: Shalin Shekhar Mangar <shalin@apache.org>
Date:   Fri Jun 23 07:07:26 2017 +0530

    SOLR-10496: Remove debugging info from tests. Enable recursive suggestion of operations.

commit b023b011934be9ea411e148538daaa0a0b1d2052
Author: Shalin Shekhar Mangar <shalin@apache.org>
Date:   Fri Jun 23 00:18:51 2017 +0530

    SOLR-10496: Fix test failure on nodeLost event

commit b78e7ff589510315463488cd1ed79244d9d6e6ad
Author: Noble Paul <noble@apache.org>
Date:   Fri Jun 23 00:34:01 2017 +0930

    SOLR-10496: MOVEREPLICA suggester for dead node is not working

commit cb665a1b35cbd1826c58f8d4ff8f20eb37bc5f8f
Author: Shalin Shekhar Mangar <shalin@apache.org>
Date:   Thu Jun 22 18:50:55 2017 +0530

    SOLR-10496: Fix ClassCastException because the SRC_NODE hint is a Set

commit ebf298329360240014253daf58ab4699f3685033
Author: Shalin Shekhar Mangar <shalin@apache.org>
Date:   Thu Jun 22 18:46:28 2017 +0530

    SOLR-10496: Initial patch for ComputePlanAction
2017-06-23 18:01:06 +05:30
Shalin Shekhar Mangar b499f5aac2 Fixed merge problems to make the branch as close to master as possible 2017-06-21 13:04:01 +05:30
Shalin Shekhar Mangar fb7803d9a0 Merge branch 'master' into feature/autoscaling
# Conflicts:
#	solr/CHANGES.txt
2017-06-21 12:35:48 +05:30
Noble Paul 2e56e7eb28 SOLR-10954: this was supposed to be in the solrj package 2017-07-01 11:44:22 +09:30
Karl Wright cabb1fa366 Fix solrj test compilation error. 2017-06-29 05:13:51 -04:00
Karl Wright b4fa0e785b Merge branch 'master' of https://git-wip-us.apache.org/repos/asf/lucene-solr 2017-06-29 05:00:17 -04:00
Karl Wright 224f349857 SOLR-10973: Use the correct constructor for InputStreamBody. 2017-06-29 04:58:51 -04:00
David Smiley 82a44beb3c SOLR-6807: requestDispatcher/@handleSelect now defaults to false; stop using it.
Deprecated StandardRequestHandler; stop using it.
2017-06-28 17:22:44 -04:00
Jan Høydahl 4746ff0ec8 SOLR-9623: Disable remote streaming in example configs by default. Adjust Upload Limit defaults 2017-06-20 11:00:08 +02:00
Cao Manh Dat b1b566f57b SOLR-10406: v2 API error messages list the URL request path as /solr/____v2/... when the original path was /v2/... 2017-06-20 12:46:33 +07:00
Joel Bernstein 3ff8c87024 SOLR-10882: Comment out broken test case 2017-06-19 09:16:23 -04:00