yonik
d49edabf89
SOLR-10114: test cleanup
2017-02-16 12:45:32 -05:00
yonik
99188ae00c
SOLR-10114: add _version_ field to child documents, fix reordered-dbq to not drop child docs
2017-02-15 22:51:21 -05:00
Ishan Chattopadhyaya
9a1702a8f5
SOLR-8029: Reverting the previous commit and the merge
2017-02-15 07:13:28 +05:30
Noble Paul
325cbf0018
Revert "Merge remote-tracking branch 'origin/master'"
...
This reverts commit 26298f35df
, reversing
changes made to 65c6c576b7
.
undoing the merge commit
2017-02-14 17:32:14 -08:00
markrmiller
a1f114f70f
SOLR-10104: BlockDirectoryCache release hooks do not work with multiple directories.
...
# Conflicts:
# solr/CHANGES.txt
2017-02-14 12:06:44 -05:00
Christine Poerschke
738da0998a
LUCENE-7693: Replace "org.apache." logic in GetMavenDependenciesTask. (Daniel Collins, Christine Poerschke)
2017-02-14 14:27:44 +00:00
Tomas Fernandez Lobbe
7dcf9de41f
SOLR-9987: Implement support for multi-valued DocValues in PointFields
...
CC SOLR-8396
2017-02-13 09:47:49 -08:00
markrmiller
2196663156
SOLR-10120: A SolrCore reload can remove the index from the previous SolrCore during replication index rollover.
...
SOLR-10124: Replication can skip removing a temporary index directory in some cases when it should not.
SOLR-10119: Harden TestReplicationHandler.
2017-02-11 17:08:42 -05:00
markrmiller
52b1ae33a1
SOLR-10064: The Nightly test HdfsCollectionsAPIDistributedZkTest appears to be too fragile.
2017-02-02 15:12:07 -05:00
Christine Poerschke
c1d9b87d7d
In SolrTestCaseJ4 javadocs replace reference to initTestHarness.
2017-02-01 19:06:32 +00:00
markrmiller
98a5a81378
SOLR-10024: If you use ExternalPaths#determineSourceHome with a custom tests.workDir, tests may not find the path.
2017-01-31 12:08:47 -05:00
Noble Paul
71abe13069
SOLR-8029: Added new style APIs and a framework for creating new APIs and mapping old APIs to new
2017-01-31 16:27:33 +10:30
Tomas Fernandez Lobbe
57934ba448
SOLR-8396: Add support for PointFields in Solr
2017-01-18 17:27:21 -08:00
Alan Woodward
efc7ee0f0c
SOLR-9906: Fix dodgy test check
2017-01-16 15:24:02 +00:00
Shalin Shekhar Mangar
d2664b1004
SOLR-9948: Add a way to configure granularity of metrics for http connections
2017-01-12 13:00:00 +05:30
Chris Hostetter
1d7379b680
SOLR-9934: SolrTestCase.clearIndex has been improved to take advantage of low level test specific logic that clears the index metadata more completely then a normal *:* DBQ can due to update versioning
2017-01-09 09:54:56 -07:00
yonik
7ef6a81846
SOLR-9917: fix NPE in distrib percentiles when no values for field in bucket
2017-01-04 23:53:07 -05:00
Noble Paul
d565238567
SOLR-9906: unused import
2017-01-03 20:38:28 +10:30
Noble Paul
3988532d26
SOLR-9906-Use better check to validate if node recovered via PeerSync or Replication
2017-01-03 17:52:08 +10:30
Christine Poerschke
6565a5cb2c
Remove unusedPrivateMember in ChaosMonkey.
2016-12-21 20:48:25 +00:00
Christine Poerschke
de0a046b21
SOLR-9758: refactor preferLocalShards implementation
2016-12-21 20:48:25 +00:00
Andrzej Bialecki
8bbdb6248c
Squashed commit of branch 'feature/metrics', containing:
...
SOLR-4735: Improve Solr metrics reporting
SOLR-9812: Implement /admin/metrics API
SOLR-9805: Use metrics-jvm library to instrument jvm internals
SOLR-9788: Use instrumented jetty classes
2016-12-20 09:31:24 +01:00
Ishan Chattopadhyaya
a1a8b2864e
SOLR-9513: Generic Hadoop authentication plugins, GenericHadoopAuthPlugin and ConfigurableInternodeAuthHadoopPlugin
2016-12-19 20:45:04 +05:30
yonik
dcf202a958
SOLR-9873: tests - fix SolrTestCaseJ4.compareSolrDocument num fields comparison
2016-12-16 18:41:02 -05:00
yonik
c9522a3936
SOLR-9712: block when maxWarmingSearchers is exceeded instead of throwing exception, default to 1, remove from most configs
2016-12-16 11:46:48 -05:00
Noble Paul
2ec9716520
SOLR-9784: deprecated uploadconfig
2016-11-26 12:53:32 +05:30
Tommaso Teofili
5ad741eef8
SOLR-8871 - various improvements to ClassificationURP
2016-11-24 23:43:57 +01:00
Noble Paul
ef074a61f8
SOLR-9717: Refactor '/export' to not hardcode the JSON output and to use an API
2016-11-08 16:37:08 +05:30
David Smiley
2e21511cd3
SOLR-9621: Remove several Guava & Apache Commons calls in favor of java 8 alternatives.
2016-10-28 17:18:58 -04:00
Alan Woodward
f56d111adf
SOLR-9132: Cut over some collections API and recovery tests
2016-10-28 10:33:21 +01:00
yonik
53507b4e79
SOLR-9654: tests: fix overrequest test by fixing doc->shard mapping
2016-10-26 18:35:09 -04:00
Noble Paul
184b0f2215
SOLR-9506: cache IndexFingerprint for each segment
2016-10-24 16:45:42 +05:30
Noble Paul
ffa5c4ba2c
SOLR-9506: reverting the previous commit
2016-10-19 00:50:30 +05:30
Noble Paul
bb907a2983
* SOLR-9506: cache IndexFingerprint for each segment
2016-10-18 19:43:32 +05:30
Alan Woodward
b2188f4958
SOLR-9634: Remove deprecated methods
2016-10-18 12:34:18 +01:00
Alan Woodward
67f3f433e2
SOLR-9634: Deprecate create/deleteCollection methods on MiniSolrCloudCluster
2016-10-18 12:34:13 +01:00
Alan Woodward
20ea5355c9
SOLR-9632: Add deleteAllCollections method to MiniSolrCloudCluster
2016-10-18 12:33:52 +01:00
Alan Woodward
f22b1da261
SOLR-9604,SOLR-9608: Ensure SSL connections are re-used
...
Fix ConnectionReuseTest. Add coverage for all SolrClients.
Remove explicit cacheKey for HttpRequestContext, make it singleton.
2016-10-09 08:06:09 +03:00
Alan Woodward
36b3b0884a
Revert "SOLR-9604: Ensure SSL connections are re-used"
...
This reverts commit 0eb6b1c823
, which was
causing test failures in ConnectionReuseTest - see SOLR-9608
2016-10-05 20:49:14 +01:00
Alan Woodward
0eb6b1c823
SOLR-9604: Ensure SSL connections are re-used
2016-10-05 15:36:16 +01:00
Alan Woodward
a9dab0f25a
SOLR-9132: Migrate some more tests
2016-10-04 10:32:47 +01:00
Mikhail Khludnev
67a9d3a44f
SOLR-9554: adding a test for concurrent schema upgrade in cloud.
2016-10-02 18:24:33 +03:00
Alan Woodward
be4233cb56
SOLR-9132: Cut over DeleteReplica tests
...
Also fixes some bugs in CollectionAdminRequest.DeleteReplica from SOLR-9319
2016-09-26 13:15:14 +01:00
Alan Woodward
c809cd4f0a
SOLR-9500: Add LogLevel annotation for test-specific logging changes
2016-09-26 09:14:49 +01:00
Shalin Shekhar Mangar
3eb0f7c792
SOLR-6090: Remove unreachable printLayout usage in cloud tests
2016-09-23 18:07:33 +05:30
Alan Woodward
c55a14e198
SOLR-9544: Give ObjectReleaseTracker more time for async closing objects
2016-09-22 14:02:06 +01:00
Alan Woodward
bd3fc7f43f
Revert "SOLR-9512: CloudSolrClient tries other replicas if a cached leader is down"
...
This reverts commit 3d130097b7
.
2016-09-20 14:35:53 +01:00
Alan Woodward
3d130097b7
SOLR-9512: CloudSolrClient tries other replicas if a cached leader is down
2016-09-19 15:29:43 +01:00
Alan Woodward
d0d893e104
SOLR-9344: Move BasicAuthIntegrationTest to SolrCloudTestCase
2016-09-07 08:31:08 +01:00
Alan Woodward
89a91ec99d
SOLR-9474: MiniSolrCloudCluster restarts jetties using different ports by default
2016-09-06 13:33:36 +01:00
Alan Woodward
a79a8edbb4
SOLR-9469: Allow JettySolrRunner to restart using a different port
2016-09-06 13:33:36 +01:00
Alan Woodward
6390e22e74
SOLR-8961: Add a test-the-tests module for solr-test-framework
2016-09-06 13:33:36 +01:00
yonik
43ca5078bf
SOLR-9432: JSON Facet refactoring to support refinement
2016-08-23 12:54:49 -04:00
Christine Poerschke
976079a8ee
SOLR-9090: Add directUpdatesToLeadersOnly flag to solrj CloudSolrClient. (Marvin Justice, Christine Poerschke)
2016-07-07 10:03:21 +01:00
Erick
7743718d29
SOLR-9277: Clean up some more remnants of supporting old and new style solr.xml in tests
2016-07-06 19:51:06 -07:00
Shalin Shekhar Mangar
380c5a6b97
SOLR-9207: PeerSync recovery failes if number of updates requested is high. A new useRangeVersions config option is introduced (defaults to true) to send version ranges instead of individual versions for peer sync.
2016-07-07 02:32:45 +05:30
Mike McCandless
a893c64595
LUCENE-6171: pass the StandardOpenOption.CREATE_NEW so the filesystem ensures Lucene really is write-once
2016-06-14 15:15:57 -04:00
Christine Poerschke
52f5c50246
LUCENE-7319: remove unused imports
2016-06-13 09:59:14 +01:00
Noble Paul
232b44e283
SOLR-8744: Minimize the impact on ZK when there are a lot of blocked tasks
2016-06-12 13:11:07 +05:30
Steve Rowe
86c053dd10
SOLR-9107: When creating a randomized SSL test config, 100% effective odds of using SSL and/or client auth should never be trumped by chance.
2016-06-08 14:39:01 -04:00
Chris Hostetter
6ffd1ba978
Revert "SOLR-9189: temp disable randomized ssl to get to bottom of recent explosion of timeout related failures in jenkins builds"
...
All evidence points ot the root cause being unrelated to ssl randomization, so re-enabling this.
This reverts commit 59b4fc0bb0
.
2016-06-07 09:09:21 -07:00
Chris Hostetter
59b4fc0bb0
SOLR-9189: temp disable randomized ssl to get to bottom of recent explosion of timeout related failures in jenkins builds
2016-06-06 11:46:36 -07:00
Alan Woodward
aed3fc11b1
SOLR-9107: Make SolrTestCaseJ4.beforeClass() / .afterClass() public
2016-06-03 11:54:34 +01:00
Chris Hostetter
09372acb66
SOLR-9107: new @RandomizeSSL annotation for more fine grained control of SSL testing
2016-06-01 14:34:31 -07:00
Alan Woodward
ee5836746c
SOLR-9132: Move some tests to SolrCloudTestBase
2016-05-19 16:43:31 +01:00
Alan Woodward
b6d7421412
SOLR-8323: Add CollectionStateWatcher API
2016-05-13 21:34:16 +01:00
Chris Hostetter
76063648ae
SOLR-8970: Change SSLTestConfig to use a keystore file that is included as a resource in the test-framework jar so users subclassing SolrTestCaseJ4 don't need to preserve magic paths
2016-05-11 16:28:23 -07:00
Mikhail Khludnev
7571e747c3
SOLR-8208: [subquery] document transformer executes separate requests per result document.
2016-05-09 13:08:07 +03:00
Chris Hostetter
ac0e73a521
SOLR-9068 / SOLR-5776: replace NullSecureRandom w/ NotSecurePsuedoRandom
2016-05-06 22:46:10 -07:00
Chris Hostetter
a5586d29b2
SOLR-9068 / SOLR-5776: Alternate (psuedo random) NullSecureRandom for Constants.SUN_OS
2016-05-06 15:17:11 -07:00
Shalin Shekhar Mangar
f5497a33e2
SOLR-9014: Deprecate ClusterState.getCollections and introduce a new ClusterState.getCollectionsMap instead
2016-05-05 05:22:03 +05:30
Chris Hostetter
c0a287cb76
SOLR-5776: javadoc typo
2016-05-03 18:27:32 -07:00
Chris Hostetter
9677e2c54b
SOLR-5776: refactor SSLConfig so that SSLTestConfig can provide SSLContexts using a NullSecureRandom to prevent SSL tests from blocking on entropy starved machines
2016-05-03 15:31:53 -07:00
David Smiley
70bcd562f9
SOLR-5750: Add /admin/collections?action=BACKUP and RESTORE
2016-05-02 22:20:46 -04:00
Chris Hostetter
791d1e7393
SOLR-9028: Fixed some test related bugs preventing SSL + ClientAuth from ever being tested
2016-04-28 13:18:01 -07:00
Noble Paul
d830987ae2
SOLR-8995: Replace anonymous implementations of SAM interfaces with Lambdas
2016-04-15 18:58:08 +05:30
Timothy Potter
b36a6ecbe4
SOLR-8908: Fixed OnReconnect listener management in ZkController to allow for de-registering listeners.
...
Here's what this commit includes:
* Added the removeOnReconnectListener method to ZkController to allow OnReconnect listener implementations to de-register; avoids a memory leak
* Updated ZkIndexSchemaReader to add a CloseHook to the SolrCore it supports to de-register as an OnReconnect listener
* Added unit test to verify that after reloading and deleting a SolrCore in managed schema mode, the associated ZkIndexSchemaReader gets de-registered correctly
2016-04-14 10:17:42 -07:00
Anshum Gupta
b02b026b7d
SOLR-8097: Implement builder pattern design for constructing SolrJ clients and deprecate direct construction of clients
2016-04-07 15:57:49 -07:00
Noble Paul
18fb9463de
SOLR-8750: replace anonymous inner class for callable, Runnable etc
2016-04-05 22:45:36 +05:30
markrmiller
ce172acb8f
SOLR-4509: Move to non deprecated HttpClient impl classes to remove stale connection check on every request and move connection lifecycle management towards the client.
2016-04-01 12:21:59 -04:00
David Smiley
94c04237cc
SOLR-8904: switch from SimpleDateFormat to Instant.parse and format.
...
[value] and ms() and contrib/analytics now call DateMathParser to parse. DateFormatUtil is now removed.
2016-03-30 13:42:42 -04:00
Uwe Schindler
f93f90ca1b
SOLR-8874: Make Solr tests work with Java 9 Jigsaw
2016-03-19 14:53:59 +01:00
Chris Hostetter
0f78235b94
SOLR-8849: improve reproducibility in random order of chaosmonkey actions
2016-03-15 11:17:45 -07:00
Shalin Shekhar Mangar
093a8ce57c
SOLR-8745: Deprecate costly ZkStateReader.updateClusterState(), replace with a narrow forceUpdateCollection(collection)
2016-03-07 15:03:03 +05:30
Noble Paul
c27dd8e038
SOLR-8750 : Use lambdas in code where SAM type interfaces are used
2016-03-04 18:53:47 +05:30
Steve Rowe
9427b7402d
SOLR-8764: Remove deprecated methods and classes
2016-03-02 09:22:20 -05:00
Alan Woodward
9a3458f693
SOLR-8758: Add SolrCloudTestCase base class
2016-02-29 18:44:27 +00:00
Shalin Shekhar Mangar
41eb5e8542
SOLR-8746: Renamed Overseer.getInQueue to getStateUpdateQueue, getInternalQueue to getInternalWorkQueue and added javadocs
2016-02-27 13:10:51 +05:30
Tomas Fernandez Lobbe
730d10f145
SOLR-8420: Fix long overflow in sumOfSquares for Date statistics
...
Casted operations to double. Changed the test to support a percentage error given the FUZZY flag in doubles
2016-02-24 19:02:17 -08:00
Christine Poerschke
b14fb50b7f
SOLR-8674: solr.tests.mergePolicy[Factory] tests now randomly choose between <mergePolicy> and <mergePolicyFactory>
...
* This increases <mergePolicy> vs. <mergePolicyFactory> test coverage.
* This temporarily also adds a little test setup complexity but when SOLR-8668 removes support for <mergePolicy> then test setup will return to its original complexity.
2016-02-22 15:22:55 +00:00
markrmiller
0bba332549
SOLR-7339: Jetty 9.3 upgrade.
2016-02-16 16:01:10 -05:00
Christine Poerschke
b2e47984f4
SOLR-8621: add (test-framework) RandomForceMergePolicyFactory for existing (test-framework) RandomForceMergePolicy
2016-02-11 17:46:44 +00:00
Christine Poerschke
5d32609cdc
SOLR-8621: add IndexSchema arg to MergePolicyFactory constructor
2016-02-10 16:28:06 +00:00
markrmiller
899f1fcf74
SOLR-8551: Make collection deletion more robust.
2016-02-08 21:39:01 -05:00
Shai Erera
fc5b1ac279
SOLR-8621: deprecate <mergePolicy> in favor of <mergePolicyFactory>
2016-02-08 22:41:51 +02:00
Mike McCandless
d2a5c10326
Merge branch 'master' into lucene-6835
...
Conflicts:
lucene/facet/src/test/org/apache/lucene/facet/taxonomy/directory/TestAddTaxonomy.java
lucene/facet/src/test/org/apache/lucene/facet/taxonomy/writercache/TestCompactLabelToOrdinal.java
2016-02-05 12:38:21 -05:00
Shai Erera
813ca77250
LUCENE-7013: Move license header to top of file
2016-02-04 15:51:19 +02:00
Shai Erera
30455f728b
LUCENE-7010: add MergePolicyWrapper
2016-02-04 09:24:24 +02:00
Mike McCandless
84f44589f6
migrate current patch from svn
2016-02-02 15:53:16 -05:00
Shai Erera
2311c7fee1
SOLR-8560: Add RequestStatusState enum
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1726144 13f79535-47bb-0310-9956-ffa450edef68
2016-01-22 05:39:54 +00:00
Yonik Seeley
fa3b4c9623
SOLR-8472: tests - pull up common errorHook code
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1724069 13f79535-47bb-0310-9956-ffa450edef68
2016-01-11 15:54:38 +00:00
Mark Robert Miller
7986b8248f
SOLR-8468: Raise some test zk connection timeouts up from 10 seconds and remove some test timeout magic numbers.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1723888 13f79535-47bb-0310-9956-ffa450edef68
2016-01-09 22:42:46 +00:00
Shalin Shekhar Mangar
96360c78c4
SOLR-7339: Revert Jetty 9.3 upgrade
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1723604 13f79535-47bb-0310-9956-ffa450edef68
2016-01-07 17:51:57 +00:00
Mark Robert Miller
84005ad61f
SOLR-8279: One of two tests was not calling TestInjection#clear after using it. Call clear in the Solr base test class instead.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1720841 13f79535-47bb-0310-9956-ffa450edef68
2015-12-18 19:02:30 +00:00
Mark Robert Miller
d74968d925
SOLR-8279: Do not fail tests due to searcher tracking - just use that for waiting and use ObjectReleaseTracker for the fail since it has more detailed info.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1720631 13f79535-47bb-0310-9956-ffa450edef68
2015-12-17 19:08:43 +00:00
Mark Robert Miller
8043424046
SOLR-8279: end searcher tracking before object release tracker.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1720627 13f79535-47bb-0310-9956-ffa450edef68
2015-12-17 18:42:00 +00:00
Mark Robert Miller
fe7ef38b2e
SOLR-8279: Add a new test fault injection approach and a new SolrCloud test that stops and starts the cluster while indexing data and with random faults.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1720613 13f79535-47bb-0310-9956-ffa450edef68
2015-12-17 17:08:10 +00:00
Christine Poerschke
f81f939b54
SOLR-8414: AbstractDistribZkTestBase.verifyReplicaStatus could throw NPE
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1719981 13f79535-47bb-0310-9956-ffa450edef68
2015-12-14 18:16:44 +00:00
Christine Poerschke
8575e3fb3a
LUCENE-6925: add ForceMergePolicy class in lucene test-framework and RandomForceMergePolicy class in solr test-framework, plus Test[Random]ForceMergePolicy test classes.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1719449 13f79535-47bb-0310-9956-ffa450edef68
2015-12-11 15:19:29 +00:00
Christine Poerschke
bd777ac22d
Remove outdated comment line in RandomMergePolicy.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1717660 13f79535-47bb-0310-9956-ffa450edef68
2015-12-02 18:15:51 +00:00
Anshum Gupta
6caaa0c454
SOLR-8330: Standardize and fix logger creation and usage so that they aren't shared across source files.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1717590 13f79535-47bb-0310-9956-ffa450edef68
2015-12-02 09:22:22 +00:00
Christine Poerschke
c4404701b5
${message}
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1717526 13f79535-47bb-0310-9956-ffa450edef68
2015-12-01 20:52:57 +00:00
Shalin Shekhar Mangar
c10dd7daa7
SOLR-7339: Upgrade Jetty to v9.3.6.v20151106
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1717377 13f79535-47bb-0310-9956-ffa450edef68
2015-12-01 04:21:34 +00:00
Alan Woodward
e5be9136a6
SOLR-8336: CoreDescriptor takes a Path for its instance dir, rather than a String
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1717254 13f79535-47bb-0310-9956-ffa450edef68
2015-11-30 14:02:45 +00:00
David Wayne Smiley
0442747f05
LUCENE-6900: Grouping sortWithinGroup shouldn't be null; use Sort.RELEVANCE.
...
Enhanced related Solr side a bit.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1716569 13f79535-47bb-0310-9956-ffa450edef68
2015-11-26 04:56:47 +00:00
Alan Woodward
0f3aecfdff
SOLR-8302: SolrResourceLoader takes a Path for its instance directory
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1715342 13f79535-47bb-0310-9956-ffa450edef68
2015-11-20 12:12:05 +00:00
Christine Poerschke
491bb5ba90
SOLR-8298: small preferLocalShards implementation refactor
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1715208 13f79535-47bb-0310-9956-ffa450edef68
2015-11-19 16:20:53 +00:00
Mark Robert Miller
31da6a3535
SOLR-8279: Add a new SolrCloud test that stops and starts the cluster while indexing data.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1714216 13f79535-47bb-0310-9956-ffa450edef68
2015-11-13 14:46:58 +00:00
Alan Woodward
eb0da10bb4
SOLR-8278: Use NIO2 APIs in ConfigSetService
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1713996 13f79535-47bb-0310-9956-ffa450edef68
2015-11-12 09:43:26 +00:00
Alan Woodward
9cbae39ab8
SOLR-8259: Add getCoreContainer() method to JettySolrRunner
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1713601 13f79535-47bb-0310-9956-ffa450edef68
2015-11-10 10:06:49 +00:00
Alan Woodward
be10d9e501
SOLR-8260: Use nio2 API in core discovery
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1713490 13f79535-47bb-0310-9956-ffa450edef68
2015-11-09 17:50:19 +00:00
Alan Woodward
4921f13576
SOLR-8255: MiniSolrCloudCluster should use a thread-safe list to hold its child nodes
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1713457 13f79535-47bb-0310-9956-ffa450edef68
2015-11-09 15:24:42 +00:00
Alan Woodward
ccfdb5dce2
SOLR-8253: Ensure ZK server is always shutdown in AbstractDistribZkTestBase
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1713443 13f79535-47bb-0310-9956-ffa450edef68
2015-11-09 14:34:18 +00:00
Varun Thacker
b5b4292afc
SOLR-8215: Only active replicas should handle incoming requests against a collection
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1712601 13f79535-47bb-0310-9956-ffa450edef68
2015-11-04 17:59:37 +00:00
Alan Woodward
2018b052db
SOLR-8221: Ensure that SSL config is passed to MiniSolrCloudCluster
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1711112 13f79535-47bb-0310-9956-ffa450edef68
2015-10-28 19:57:58 +00:00
Alan Woodward
cb234d3c6b
SOLR-8221: MiniSolrCloudCluster creates subdirectories for its child nodes
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1711041 13f79535-47bb-0310-9956-ffa450edef68
2015-10-28 15:43:51 +00:00
Christine Poerschke
676a0e4f2f
SOLR-8196: TestMiniSolrCloudCluster.testStopAllStartAll case plus necessary MiniSolrCloudCluster tweak
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1710824 13f79535-47bb-0310-9956-ffa450edef68
2015-10-27 14:13:40 +00:00
Mark Robert Miller
9981ce1749
SOLR-8129: Raise no kill by monkey warning from 30 to 45.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1710371 13f79535-47bb-0310-9956-ffa450edef68
2015-10-24 18:22:23 +00:00
Jan Høydahl
b831a14ba5
SOLR-7888: Analyzing suggesters can now filter suggestions by a context field
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1707907 13f79535-47bb-0310-9956-ffa450edef68
2015-10-10 19:01:59 +00:00
Yonik Seeley
f3910125c8
tests: minor formatting
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1704893 13f79535-47bb-0310-9956-ffa450edef68
2015-09-23 16:42:57 +00:00
Uwe Schindler
8d44733846
Revert the AbstractZkTestCase changes for now
...
was: LUCENE-6795: Fix Solr tests that break RamUsageTester on Java 9 Jigsaw
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1702831 13f79535-47bb-0310-9956-ffa450edef68
2015-09-13 21:32:48 +00:00
Uwe Schindler
b57234a745
LUCENE-6795: Fix Solr tests that break RamUsageTester on Java 9 Jigsaw
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1702770 13f79535-47bb-0310-9956-ffa450edef68
2015-09-13 12:25:40 +00:00
Gregory Chanan
679dd8f790
SOLR-7789: Introduce a ConfigSet management API
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1698043 13f79535-47bb-0310-9956-ffa450edef68
2015-08-27 02:18:36 +00:00
Uwe Schindler
1331a57e3d
LUCENE-6732: Remove tabs in JS and XML files
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1695395 13f79535-47bb-0310-9956-ffa450edef68
2015-08-11 23:00:39 +00:00
Ramkumar Aiyengar
b4aafbb606
SOLR-7859: Clamp down on use of System.currentTimeMillis
...
- Use RTimer where currentTimeMillis is used for timing
- Abstract out a new class TimeOut for when currentTimeMillis/nanoTime
is used to timeout operations.
- Used `new Date()` in some cases where that is the logical intent.
- Deprecated a couple of APIs which were publicly exposing epoch time,
in favour of Date objects to make the intent clearer.
- A couple of cases had currentTimeMillis in dead code.
- In some cases where currentTimeMillis was used to just generate a name,
used nanoTime instead (really it should be some sequence/random number
in such a case).
- In some other cases where stamps were used for SQL queries, HTTP headers,
comparing against data in external files, ZK etc., used SuppressForbidden.
- Also currently allow the use of currentTimeMillis in commit data,
this is then used in replication -- this is concerning since absolute
times are being compared, but that can be dealt with separately.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1694798 13f79535-47bb-0310-9956-ffa450edef68
2015-08-08 13:39:58 +00:00
Noble Paul
db2ccb1d41
SOLR-7757: Improved security framework where security components can be edited/reloaded, Solr now watches /security.json. Components can choose to make their configs editable
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1694552 13f79535-47bb-0310-9956-ffa450edef68
2015-08-06 18:57:34 +00:00
Gregory Chanan
589a27eb27
SOLR-7855: OverseerCollectionProcessor: separate general task management from collection message handling
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1694406 13f79535-47bb-0310-9956-ffa450edef68
2015-08-06 06:07:32 +00:00
Christine Poerschke
2de2e0a16f
SOLR-7766: support creation of a coreless collection via createNodeSet=EMPTY
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1694181 13f79535-47bb-0310-9956-ffa450edef68
2015-08-05 11:34:46 +00:00
Noble Paul
40e2cded26
SOLR-6625: Remove the HttpContext which provides our request
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1693931 13f79535-47bb-0310-9956-ffa450edef68
2015-08-03 16:23:01 +00:00
Shalin Shekhar Mangar
2a8bef841a
SOLR-7854: Remove unused ZkStateReader.updateClusterState(false) method
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1693681 13f79535-47bb-0310-9956-ffa450edef68
2015-08-01 06:24:04 +00:00
Christine Poerschke
22d67a637a
SOLR-7823: TestMiniSolrCloudCluster.testCollectionCreateSearchDelete async collection-creation (sometimes)
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1693616 13f79535-47bb-0310-9956-ffa450edef68
2015-07-31 15:35:10 +00:00
Anshum Gupta
9cb8523c59
SOLR-6625: Set HttpClientImpl in SolrTestCaseJ4 for tests
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1693483 13f79535-47bb-0310-9956-ffa450edef68
2015-07-30 19:29:20 +00:00
Noble Paul
b09a4553f7
SOLR-6625: Enable registering interceptors for the calls made using HttpClient and make the
...
request object available at the interceptor context
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1693432 13f79535-47bb-0310-9956-ffa450edef68
2015-07-30 14:28:20 +00:00
Jan Høydahl
2d5f162bb8
SOLR-7735: Look for solr.xml in Zookeeper by default
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1692673 13f79535-47bb-0310-9956-ffa450edef68
2015-07-26 00:15:27 +00:00
Shalin Shekhar Mangar
8649f3f3bd
SOLR-7825: Forbid all usages of log4j and java.util.logging classes in Solr
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1692624 13f79535-47bb-0310-9956-ffa450edef68
2015-07-25 14:34:47 +00:00
Uwe Schindler
50f168ed4c
SOLR-7803: Prevent class loading deadlock in TrieDateField; refactor date formatting and parsing out of TrieDateField and move to static utility class DateFormatUtil
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1691893 13f79535-47bb-0310-9956-ffa450edef68
2015-07-20 09:07:50 +00:00
Noble Paul
422694f9c0
SOLR-7793: Refactor some utility methods to a separate utility class
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1690935 13f79535-47bb-0310-9956-ffa450edef68
2015-07-14 13:55:46 +00:00
Michael McCandless
a6301dd900
LUCENE-6659: remove IWC's max thread states limit
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1690299 13f79535-47bb-0310-9956-ffa450edef68
2015-07-10 18:09:58 +00:00
Noble Paul
eb1542030e
SOLR-7651: New response format added wt=smile
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1687256 13f79535-47bb-0310-9956-ffa450edef68
2015-06-24 12:50:19 +00:00
Ramkumar Aiyengar
b255b716c3
SOLR-7714: Reduce SearchHandler's use of ShardHandler objects across shards in a search
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1687143 13f79535-47bb-0310-9956-ffa450edef68
2015-06-23 22:08:22 +00:00
Anshum Gupta
4b16875058
SOLR-5886: Store async call results in zk so that they can be returned by the REQUESTSTATUS API. Also, restrict the number of stored response to 10,000 each as a safety net.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1686089 13f79535-47bb-0310-9956-ffa450edef68
2015-06-17 18:46:10 +00:00
Ramkumar Aiyengar
f9cca2eba1
SOLR-7680: Use POST instead of GET when finding versions for mismatches with CloudInspectUtil
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1685488 13f79535-47bb-0310-9956-ffa450edef68
2015-06-14 23:40:43 +00:00
Mark Robert Miller
ed6fd884b0
SOLR-7512: SolrOutputFormat creates an invalid solr.xml in the solr home zip for MapReduceIndexerTool.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1684494 13f79535-47bb-0310-9956-ffa450edef68
2015-06-09 18:18:10 +00:00
Uwe Schindler
20c022e0ab
LUCENE-6530: Fix iptables helper (was broken because of more strict error checking, sorry!). I tested it on my linux box, works fine!
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1684045 13f79535-47bb-0310-9956-ffa450edef68
2015-06-07 16:43:07 +00:00
Uwe Schindler
a8cf56b222
LUCENE-6530: Refactoring: Simplify ProcessBuilder code at various places
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1684040 13f79535-47bb-0310-9956-ffa450edef68
2015-06-07 15:49:10 +00:00
Shalin Shekhar Mangar
18c72d87b5
SOLR-7599: Remove invokeCollectionAPI method from base test class and use solrj classes throughout
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1683417 13f79535-47bb-0310-9956-ffa450edef68
2015-06-03 19:22:49 +00:00
Mark Robert Miller
e9cc66e0a3
tests: raise 'concern' limit
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1682479 13f79535-47bb-0310-9956-ffa450edef68
2015-05-29 14:15:20 +00:00
Mark Robert Miller
d38212a458
SOLR-7601: We should only check that tests have properly closed resources if the tests passed.
...
Speeds up test fails and cleans up Jenkin's failure reports.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1682454 13f79535-47bb-0310-9956-ffa450edef68
2015-05-29 13:18:09 +00:00
Shalin Shekhar Mangar
8ea0d522ed
SOLR-7599: Inline startCloudJetty method into ShardRoutingCustomTest
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1682340 13f79535-47bb-0310-9956-ffa450edef68
2015-05-28 21:29:12 +00:00
Shalin Shekhar Mangar
c6afa72f07
SOLR-7599: More clean up of duplicate methods, renamed some methods and variable names
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1682258 13f79535-47bb-0310-9956-ffa450edef68
2015-05-28 14:58:47 +00:00
Mark Robert Miller
88640a507c
SOLR-7361: Slow loading SolrCores should not hold up all other SolrCores that have finished loading from serving requests.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1682060 13f79535-47bb-0310-9956-ffa450edef68
2015-05-27 15:37:29 +00:00
Mark Robert Miller
feb1f86d84
SOLR-7590: Finish and improve MDC context logging support.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1682020 13f79535-47bb-0310-9956-ffa450edef68
2015-05-27 13:33:32 +00:00
Shalin Shekhar Mangar
60298db833
SOLR-7146: MiniSolrCloudCluster based tests can fail with ZooKeeperException NoNode for /live_nodes
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1682002 13f79535-47bb-0310-9956-ffa450edef68
2015-05-27 12:48:28 +00:00
Mark Robert Miller
a545b66008
SOLR-7589: A few improvements to the ObjectReleaseTracker to make test fail debugging a little easier.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1681585 13f79535-47bb-0310-9956-ffa450edef68
2015-05-25 12:42:41 +00:00
Ramkumar Aiyengar
852e04e3d0
SOLR-7081: TestMiniSolrCloudCluster.testBasics tidies up after itself, adds collection create/delete/create test case.
...
TestMiniSolrCloudCluster.testBasics now re-creates the server it removed for test purposes,
thus restoring the original NUM_SERVERS count. TestMiniSolrCloudCluster.testBasics now also deletes
the collection it created for test purposes (this revision adds MiniSolrCloudCluster.deleteCollection
and AbstractDistribZkTestBase.waitForCollectionToDisappear methods).
Sometimes TestMiniSolrCloudCluster.testBasics runs its create-collection/search-collection/delete-collection
logic twice, thus creating a create/delete/create-collection test case.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1675590 13f79535-47bb-0310-9956-ffa450edef68
2015-04-23 12:29:52 +00:00
Uwe Schindler
f4207755d9
LUCENE-6420: Add missing suppressAnnotation declaration on forbiddenapis ANT task in test-frameworks
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1674939 13f79535-47bb-0310-9956-ffa450edef68
2015-04-20 16:26:26 +00:00
Shalin Shekhar Mangar
2c9ae41b78
SOLR-7381: Improve logging by adding node name in MDC in SolrCloud mode and adding MDC to all thread pools
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1673116 13f79535-47bb-0310-9956-ffa450edef68
2015-04-13 06:09:53 +00:00
Timothy Potter
35f0e80a02
SOLR-6944: see if NoHttpResponse exceptions are due to the socket timeout being set too low in the SocketProxy, change from 10 to 100 seconds
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1671861 13f79535-47bb-0310-9956-ffa450edef68
2015-04-07 14:49:56 +00:00
Shai Erera
2d15d935f0
SOLR-7336: Add State enum to Replica
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1671240 13f79535-47bb-0310-9956-ffa450edef68
2015-04-04 07:02:20 +00:00
Shai Erera
2dd6c36cec
SOLR-7318: AbstractFullDistribZkTestBase.getRelativeSolrHomePath doesn't work on Windows
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1669542 13f79535-47bb-0310-9956-ffa450edef68
2015-03-27 11:36:39 +00:00
Ramkumar Aiyengar
83c0c952b6
SOLR-7291: Test indexing on ZK disconnect with ChaosMonkey tests
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1669026 13f79535-47bb-0310-9956-ffa450edef68
2015-03-25 00:03:33 +00:00
Mark Robert Miller
57b47fed01
SOLR-7134: Replication can still cause index corruption.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1668779 13f79535-47bb-0310-9956-ffa450edef68
2015-03-24 03:19:37 +00:00
Mark Robert Miller
84adc8604d
SOLR-7289: Tests should not ignore all leaking threads and instead just ignore the known leaking threads.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1668771 13f79535-47bb-0310-9956-ffa450edef68
2015-03-24 02:16:13 +00:00
Mark Robert Miller
5c735c2728
SOLR-6414: These two files for another issue should not have gone in here.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1668769 13f79535-47bb-0310-9956-ffa450edef68
2015-03-24 02:14:06 +00:00
Mark Robert Miller
0476534d96
SOLR-6414: Update to Hadoop 2.6.0.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1668652 13f79535-47bb-0310-9956-ffa450edef68
2015-03-23 14:16:33 +00:00
Yonik Seeley
3dc5ed33c5
SOLR-7214: JSON Facet API
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1666856 13f79535-47bb-0310-9956-ffa450edef68
2015-03-16 04:40:23 +00:00
Ramkumar Aiyengar
24b20a53ff
SOLR-7246: Speed up BasicZkTest, TestManagedResourceStorage
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1666749 13f79535-47bb-0310-9956-ffa450edef68
2015-03-14 21:33:16 +00:00
Yonik Seeley
d4cba95df4
tests: give json matching tests a way to fail on repeated keys instead of overwriting with the last key
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1666438 13f79535-47bb-0310-9956-ffa450edef68
2015-03-13 13:17:56 +00:00
Timothy Potter
f3bc0ad731
SOLR-7173: Fix ReplicationFactorTest on Windows
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1666266 13f79535-47bb-0310-9956-ffa450edef68
2015-03-12 17:58:29 +00:00
Yonik Seeley
0ff3ea426f
tests: let json parser handle single quoted strings
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1666167 13f79535-47bb-0310-9956-ffa450edef68
2015-03-12 12:47:30 +00:00
Chris M. Hostetter
10dd59701c
SOLR-6349 + SOLR-6682: Added support for stats.field localparams to enable/disable individual stats; Fix response when using EnumField with StatsComponent
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1665579 13f79535-47bb-0310-9956-ffa450edef68
2015-03-10 15:34:06 +00:00
Alan Woodward
b4ee7b6eb4
SOLR-7180: MiniSolrCloudCluster starts up and shuts down its jetties in parallel
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1665353 13f79535-47bb-0310-9956-ffa450edef68
2015-03-09 20:51:28 +00:00
Alan Woodward
1968413943
SOLR-7206: MiniSolrCloudCluster should deal with SSL mode
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1665159 13f79535-47bb-0310-9956-ffa450edef68
2015-03-09 09:15:57 +00:00
Ramkumar Aiyengar
65b033712b
SOLR-6359: Allow customization of the number of records and logs kept by UpdateLog
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1664825 13f79535-47bb-0310-9956-ffa450edef68
2015-03-07 11:40:37 +00:00
Alan Woodward
739e9b489d
SOLR-7179: Stop using sysprops to configure test jettys
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1664292 13f79535-47bb-0310-9956-ffa450edef68
2015-03-05 09:54:06 +00:00
Ramkumar Aiyengar
de381d2816
SOLR-6804: Untangle SnapPuller and ReplicationHandler
...
This closes #110
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1664126 13f79535-47bb-0310-9956-ffa450edef68
2015-03-04 19:45:09 +00:00
Yonik Seeley
8d6657a246
tests: fix double close of request
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1663821 13f79535-47bb-0310-9956-ffa450edef68
2015-03-03 22:49:22 +00:00
Chris M. Hostetter
821ab8b0d9
SOLR-7171: BaseDistributedSearchTestCase now clones getSolrHome() for each subclass, and consistently uses getSolrXml()
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1663381 13f79535-47bb-0310-9956-ffa450edef68
2015-03-02 18:07:55 +00:00
Alan Woodward
d7eefdd7a7
SOLR-7151: SolrClient query methods throw IOException
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1662670 13f79535-47bb-0310-9956-ffa450edef68
2015-02-27 12:17:51 +00:00
Alan Woodward
46ede7622e
SOLR-7166: Encapsulate JettySolrRunner config
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1662449 13f79535-47bb-0310-9956-ffa450edef68
2015-02-26 14:05:24 +00:00
Mark Robert Miller
f2c9067e59
SOLR-7113: Multiple calls to UpdateLog#init is not thread safe with respect to the HDFS FileSystem client object usage.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1662324 13f79535-47bb-0310-9956-ffa450edef68
2015-02-25 23:19:08 +00:00
Shalin Shekhar Mangar
0096d32bc2
SOLR-7147: Handle multiple replicas correctly in getShardRequests
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1662300 13f79535-47bb-0310-9956-ffa450edef68
2015-02-25 20:17:33 +00:00
Alan Woodward
c5507b0c21
SOLR-7160: Decouple CoreContainer config from xml representation
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1662232 13f79535-47bb-0310-9956-ffa450edef68
2015-02-25 14:45:51 +00:00
Shalin Shekhar Mangar
6ae36bc6e9
SOLR-7147: Introduce new TrackingShardHandlerFactory for monitoring what requests are sent to shards during tests
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1662209 13f79535-47bb-0310-9956-ffa450edef68
2015-02-25 13:33:55 +00:00
Robert Muir
7c36d012f6
LUCENE-6265: add extrasfs to return bonus files/subdirs with directories
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1661251 13f79535-47bb-0310-9956-ffa450edef68
2015-02-21 00:09:35 +00:00
Alan Woodward
f013c438ee
SOLR-7125: Allow upload and download of configs via CloudSolrClient
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1660919 13f79535-47bb-0310-9956-ffa450edef68
2015-02-19 15:58:55 +00:00
Shalin Shekhar Mangar
f89cab00d1
SOLR-7118: Use the right schema fields to avoid spurious failures and other misc fixes
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1660313 13f79535-47bb-0310-9956-ffa450edef68
2015-02-17 08:18:51 +00:00
Robert Muir
12b30db6ce
LUCENE-4797: fix remaining html violations, engage linter in solr
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1658539 13f79535-47bb-0310-9956-ffa450edef68
2015-02-09 19:02:32 +00:00
Adrien Grand
87b7393360
LUCENE-6224: cut over more package.htmls
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1658525 13f79535-47bb-0310-9956-ffa450edef68
2015-02-09 18:47:17 +00:00
Alan Woodward
3018576b67
SOLR-6954: SolrClient implements Closeable
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1655263 13f79535-47bb-0310-9956-ffa450edef68
2015-01-28 11:55:57 +00:00
Erick Erickson
7fda449473
SOLR-6902: Use JUnit rules instead of inheritance with distributed Solr tests to allow for multiple tests without the same class
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1654256 13f79535-47bb-0310-9956-ffa450edef68
2015-01-23 16:13:32 +00:00
Noble Paul
ec01b5aeb5
SOLR-6988 Make stateformat=2 as default
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1653867 13f79535-47bb-0310-9956-ffa450edef68
2015-01-22 14:12:52 +00:00
Steven Rowe
ab8d012df6
SOLR-7008: Exclude server/etc/solrtest.keystore and create-solrtest.keystore.sh from the binary release packages
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1653551 13f79535-47bb-0310-9956-ffa450edef68
2015-01-21 15:11:39 +00:00
Alan Woodward
344be1a6b1
SOLR-6976: Remove methods and classes deprecated in 4.x
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1653549 13f79535-47bb-0310-9956-ffa450edef68
2015-01-21 15:06:04 +00:00
Gregory Chanan
e7045badaa
SOLR-6987: SSL support for MiniSolrCloudCluster
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1653402 13f79535-47bb-0310-9956-ffa450edef68
2015-01-20 23:06:46 +00:00
Alan Woodward
e61cd9654b
SOLR-6840: Remove support for old-style solr.xml
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1652995 13f79535-47bb-0310-9956-ffa450edef68
2015-01-19 13:25:29 +00:00
Gregory Chanan
a4e089e662
SOLR-6915: SaslZkACLProvider and Kerberos Test Using MiniKdc
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1651264 13f79535-47bb-0310-9956-ffa450edef68
2015-01-13 02:03:58 +00:00
Mark Robert Miller
b870aed9b9
SOLR-6932: All HttpClient ConnectionManagers and SolrJ clients should always be shutdown in tests and regular code.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1650608 13f79535-47bb-0310-9956-ffa450edef68
2015-01-09 17:33:04 +00:00
Michael McCandless
41fcc722ff
LUCENE-6119: CMS dynamically rate limits IO writes of each merge depending on incoming merge rate
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1649532 13f79535-47bb-0310-9956-ffa450edef68
2015-01-05 14:28:28 +00:00
Timothy Potter
c96668e207
SOLR-6874: There is a race around SocketProxy binding to it's port the way we setup JettySolrRunner and SocketProxy.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1649154 13f79535-47bb-0310-9956-ffa450edef68
2015-01-03 00:20:46 +00:00
Erick Erickson
362ddae754
SOLR-6483, Refactor some methods in MiniSolrCloudCluster tests
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1648923 13f79535-47bb-0310-9956-ffa450edef68
2015-01-01 19:19:12 +00:00
Alan Woodward
ef809a0f10
SOLR-6895: Deprecate SolrServer classes and replace with SolrClient
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1648697 13f79535-47bb-0310-9956-ffa450edef68
2014-12-31 14:05:48 +00:00
Steven Rowe
2189b7a761
LUCENE-6134: fix typos: it's->its, its->it's, etc.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1647735 13f79535-47bb-0310-9956-ffa450edef68
2014-12-24 05:48:58 +00:00
Mark Robert Miller
ec9fdd5943
SOLR-5776: Use less SSL in a test run.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1647147 13f79535-47bb-0310-9956-ffa450edef68
2014-12-21 14:55:00 +00:00
Timothy Potter
f8da9b85ca
SOLR-6773: Remove the multicore example as the DIH and cloud examples illustrate multicore behavior
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1644461 13f79535-47bb-0310-9956-ffa450edef68
2014-12-10 15:46:35 +00:00
Alan Woodward
01542923b0
Fix test failures when LTC uses anonymous MergeScheduler classes
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1640703 13f79535-47bb-0310-9956-ffa450edef68
2014-11-20 10:03:26 +00:00
Uwe Schindler
c429f437f0
LUCENE-5953: Restructure Directory and LockFactory APIs
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1637665 13f79535-47bb-0310-9956-ffa450edef68
2014-11-09 12:18:03 +00:00
Noble Paul
30db71bbde
SOLR-6533,SOLR-6654
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1636862 13f79535-47bb-0310-9956-ffa450edef68
2014-11-05 12:38:06 +00:00
Timothy Potter
05ad610074
SOLR-3619: Rename 'example' dir to 'server'
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1635666 13f79535-47bb-0310-9956-ffa450edef68
2014-10-31 04:30:52 +00:00
Steven Rowe
38f182593a
LUCENE-6007: Regularize ivy.xml files to use configurations that map to remote master configurations, so that Ivy won't try to download extraneous crap
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1632430 13f79535-47bb-0310-9956-ffa450edef68
2014-10-16 20:13:48 +00:00
Timothy Potter
c44e4ee0ff
SOLR-6249: support re-establishing a new watcher on the managed schema znode after zk session expiration.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1629229 13f79535-47bb-0310-9956-ffa450edef68
2014-10-03 15:28:41 +00:00
Gregory Chanan
fe0c5d68f5
SOLR-6543: Give HttpSolrServer the ability to send PUT requests
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1627460 13f79535-47bb-0310-9956-ffa450edef68
2014-09-25 06:04:05 +00:00
Timothy Potter
3f31f26d3d
SOLR-6511: Fencepost error in LeaderInitiatedRecoveryThread; refactor HttpPartitionTest to resolve jenkins failures.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1627347 13f79535-47bb-0310-9956-ffa450edef68
2014-09-24 15:21:47 +00:00
Timothy Potter
9f9be3f3c2
SOLR-6370: Allow tests to report/fail on many ZK watches being parallelly requested on the same data (This closes #84 )
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1626253 13f79535-47bb-0310-9956-ffa450edef68
2014-09-19 15:48:44 +00:00
Shalin Shekhar Mangar
237478f09b
SOLR-6115: Cleanup enum/string action types in Overseer, OverseerCollectionProcessor and CollectionHandler
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1625891 13f79535-47bb-0310-9956-ffa450edef68
2014-09-18 05:43:04 +00:00
Uwe Schindler
1866163a72
SOLR-6519: Make DirectoryFactory#create() take LockFactory
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1625644 13f79535-47bb-0310-9956-ffa450edef68
2014-09-17 16:30:46 +00:00
Uwe Schindler
0dcd2f3e65
SOLR-6518: CachingDirectoryFactory subclasses must init directory with NoLockFactory, because the real lock factory gets set later via injectLockFactory
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1624928 13f79535-47bb-0310-9956-ffa450edef68
2014-09-15 00:49:27 +00:00
Robert Muir
3eb66fb19c
LUCENE-5945: Full cutover to Path api from java.io.File
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1624784 13f79535-47bb-0310-9956-ffa450edef68
2014-09-13 21:46:29 +00:00
Noble Paul
7888a43541
split clusterstate.json SOLR-5473, SOLR-5474, SOLR-5810
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1624556 13f79535-47bb-0310-9956-ffa450edef68
2014-09-12 14:11:17 +00:00
Robert Muir
3604769c3a
LUCENE-5906: Use Files.delete everywhere instead of File.delete
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1622506 13f79535-47bb-0310-9956-ffa450edef68
2014-09-04 15:56:25 +00:00
Michael McCandless
7a189a3aca
LUCENE-5904: fix corruption case caused by virus checker after an unclean IW shutdown
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1621389 13f79535-47bb-0310-9956-ffa450edef68
2014-08-29 21:14:15 +00:00
Mark Robert Miller
a61a530190
SOLR-4580: Support for protecting content in ZooKeeper.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1621294 13f79535-47bb-0310-9956-ffa450edef68
2014-08-29 12:30:53 +00:00
Shawn Heisey
f695231df7
SOLR-6390: CloudSolrServer constructor improvements
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1620146 13f79535-47bb-0310-9956-ffa450edef68
2014-08-24 16:08:25 +00:00
Mark Robert Miller
277136452a
SOLR-6400: SolrCloud tests are not properly testing session expiration.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1619612 13f79535-47bb-0310-9956-ffa450edef68
2014-08-21 22:29:12 +00:00
Mark Robert Miller
8e69f04527
SOLR-6089: When using the HDFS block cache, when a file is deleted, it's underlying data entries in the block cache are not removed, which is a problem with the global block cache option.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1619427 13f79535-47bb-0310-9956-ffa450edef68
2014-08-21 15:03:29 +00:00
Mark Robert Miller
f25288764a
SOLR-5656: Add autoAddReplicas feature for shared file systems.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1617919 13f79535-47bb-0310-9956-ffa450edef68
2014-08-14 12:32:27 +00:00
Shai Erera
c8e9209383
LUCENE-5883: Move MergePolicy to LiveIndexWriterConfig
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1617910 13f79535-47bb-0310-9956-ffa450edef68
2014-08-14 11:18:51 +00:00
Chris M. Hostetter
910d467a93
SOLR-2894: Distributed query support for facet.pivot
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1617789 13f79535-47bb-0310-9956-ffa450edef68
2014-08-13 18:23:53 +00:00
Mark Robert Miller
693a0c0291
SOLR-6291: RollingRestartTest is too slow.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1617482 13f79535-47bb-0310-9956-ffa450edef68
2014-08-12 14:14:33 +00:00
Ryan Ernst
872bd9145c
LUCENE-5871: Remove Version from IndexWriterConfig
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1617004 13f79535-47bb-0310-9956-ffa450edef68
2014-08-09 18:54:35 +00:00
Robert Muir
3f4b2b472f
LUCENE-5859: remove Version param from LuceneTestCase.newIndexWriterConfig, the grand sum of 2 tests making use of it can use the 3-arg version and reduce the noise everywhere else
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1614698 13f79535-47bb-0310-9956-ffa450edef68
2014-07-30 16:20:24 +00:00
Robert Muir
2080ddc885
LUCENE-5593: speed up javadocs generation in build
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1614058 13f79535-47bb-0310-9956-ffa450edef68
2014-07-28 15:36:27 +00:00
Erick Erickson
2d1056e06f
SOLR-6216: Better faceting for multiple intervals on DV fields. Thanks Tomas
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1612889 13f79535-47bb-0310-9956-ffa450edef68
2014-07-23 17:43:23 +00:00
Mark Robert Miller
f94f4952a7
SOLR-3345: BaseDistributedSearchTestCase should always ignore QTime.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1612585 13f79535-47bb-0310-9956-ffa450edef68
2014-07-22 15:02:43 +00:00
Alan Woodward
26f2106743
SOLR-6232: Allow unloading of cores that have failed to init
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1611047 13f79535-47bb-0310-9956-ffa450edef68
2014-07-16 15:23:43 +00:00
Shalin Shekhar Mangar
0f8e3fd973
SOLR-5596: Set system property zookeeper.forceSync=no for Solr test cases
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1608555 13f79535-47bb-0310-9956-ffa450edef68
2014-07-07 19:01:46 +00:00
Noble Paul
2f28cc16e0
reverting SOLR-5473 , SOLR-5474
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1607587 13f79535-47bb-0310-9956-ffa450edef68
2014-07-03 11:13:35 +00:00
Noble Paul
af18eeed89
SOLR-5473 one state.json per collection , SOLR-5474 support for one json per collection
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1607418 13f79535-47bb-0310-9956-ffa450edef68
2014-07-02 16:50:32 +00:00
Shalin Shekhar Mangar
e15ff59929
SOLR-5768: Add a distrib.singlePass parameter to make EXECUTE_QUERY phase fetch all fields and skip GET_FIELDS
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1607360 13f79535-47bb-0310-9956-ffa450edef68
2014-07-02 13:22:14 +00:00
Timothy Potter
f512330b14
SOLR-6157: Refactor the ensureAllReplicasAreActive method into base class and ensure the ClusterState is updated to address intermittent test failures on Jenkins.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1607110 13f79535-47bb-0310-9956-ffa450edef68
2014-07-01 15:16:36 +00:00