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
Michael McCandless
be3cca1e44
LUCENE-5752: renames
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene5752@1603012 13f79535-47bb-0310-9956-ffa450edef68
2014-06-16 22:23:11 +00:00
Michael McCandless
63c2842d87
LUCENE-5752: merge trunk
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene5752@1602968 13f79535-47bb-0310-9956-ffa450edef68
2014-06-16 19:26:19 +00:00
Michael McCandless
fe6ba518c9
LUCENE-5752: finish cutover
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene5752@1602228 13f79535-47bb-0310-9956-ffa450edef68
2014-06-12 16:57:33 +00:00
Noble Paul
51412938e5
SOLR-6048 the assert was not really failing the test
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1602138 13f79535-47bb-0310-9956-ffa450edef68
2014-06-12 12:18:21 +00:00
Chris M. Hostetter
db538d864c
SOLR-5285: Added a new [child ...] DocTransformer for optionally including Block-Join decendent documents inline in the results of a search
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1601028 13f79535-47bb-0310-9956-ffa450edef68
2014-06-06 22:44:02 +00:00
Michael McCandless
ef57126633
LUCENE-5711: fix solr tests
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1598853 13f79535-47bb-0310-9956-ffa450edef68
2014-05-31 11:29:21 +00:00
Michael McCandless
43be0a77b5
LUCENE-5708: remove IWC.clone
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1598489 13f79535-47bb-0310-9956-ffa450edef68
2014-05-30 08:16:37 +00:00
Dawid Weiss
4c29d60c62
Clean up SolrTestCaseJ4.recurseDelete a bit and remove hairy cases of removing the parent file in certain tests.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1598012 13f79535-47bb-0310-9956-ffa450edef68
2014-05-28 13:34:52 +00:00
Dawid Weiss
cf5a0caeb6
LUCENE-5650: Enforce read-only access to any path outside the temporary folder via security manager
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1596767 13f79535-47bb-0310-9956-ffa450edef68
2014-05-22 06:15:26 +00:00
Anshum Gupta
c3692aa73d
SOLR-5681: Make the OverseerCollectionProcessor multi-threaded
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1596089 13f79535-47bb-0310-9956-ffa450edef68
2014-05-19 22:40:41 +00:00
Robert Muir
c85da1a6a9
LUCENE-5666: merge trunk
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene5666@1594507 13f79535-47bb-0310-9956-ffa450edef68
2014-05-14 07:46:44 +00:00
Robert Muir
7b63afc003
LUCENE-5166: clear most nocommits, move ord/rord to solr (and speed them up), nuke old purging stuff
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene5666@1594464 13f79535-47bb-0310-9956-ffa450edef68
2014-05-14 05:51:24 +00:00
Noble Paul
8da5f6301c
check null or exists before deleting file
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1593884 13f79535-47bb-0310-9956-ffa450edef68
2014-05-12 03:24:35 +00:00
Robert Muir
9714faa314
LUCENE-5666: get solr compiling
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene5666@1593856 13f79535-47bb-0310-9956-ffa450edef68
2014-05-11 20:38:21 +00:00
Uwe Schindler
0086a6e644
LUCENE-5640: Refactor Token, add new PackedTokenAttributeImpl, make use of Java 7 MethodHandles in DEFAULT_ATTRIBUTE_FACTORY
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1592914 13f79535-47bb-0310-9956-ffa450edef68
2014-05-06 22:24:58 +00:00
Noble Paul
2ce57608ee
revert SOLR-5473 , SOLR-5474
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1591253 13f79535-47bb-0310-9956-ffa450edef68
2014-04-30 11:24:06 +00:00
Dawid Weiss
48d08fea07
Soft limit on the sysout bytes instead of a yes/no switch.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/LUCENE-5622@1591214 13f79535-47bb-0310-9956-ffa450edef68
2014-04-30 08:27:23 +00:00
Dawid Weiss
943f0cab26
Catching up with trunk.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/LUCENE-5622@1591209 13f79535-47bb-0310-9956-ffa450edef68
2014-04-30 07:59:31 +00:00
Shalin Shekhar Mangar
b2a01a6504
SOLR-6025: Replace mentions of CommonsHttpSolrServer with HttpSolrServer and StreamingUpdateSolrServer with ConcurrentUpdateSolrServer
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1590410 13f79535-47bb-0310-9956-ffa450edef68
2014-04-27 16:05:30 +00:00
Steven Rowe
b7ae53146e
Remove obsolete "hadoop.version" entity
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1589935 13f79535-47bb-0310-9956-ffa450edef68
2014-04-25 05:59:13 +00:00
Dawid Weiss
5767c9a835
Branch for LUCENE-5622
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/LUCENE-5622@1589645 13f79535-47bb-0310-9956-ffa450edef68
2014-04-24 09:22:03 +00:00
Mark Robert Miller
521361d252
SOLR-5996: Add deleteId and not Id for failed delete tracking.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1589127 13f79535-47bb-0310-9956-ffa450edef68
2014-04-22 13:47:39 +00:00
Mark Robert Miller
2ce470fa6c
SOLR-5996: Improve request fail logging by including id.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1588846 13f79535-47bb-0310-9956-ffa450edef68
2014-04-21 03:04:03 +00:00
Mark Robert Miller
07470a07f9
SOLR-5996: Fix checkIfDiffIsLegal, add some testing, refactor out a few methods into CloudInspectUtil.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1588486 13f79535-47bb-0310-9956-ffa450edef68
2014-04-18 15:00:25 +00:00
Mark Robert Miller
bbad949644
SOLR-5776: *sigh* Revert this for now.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1588406 13f79535-47bb-0310-9956-ffa450edef68
2014-04-18 02:56:48 +00:00
Mark Robert Miller
abed84e836
SOLR-5989: Pass add and delete fails to checkShardConsistency call in ChaosMonkeyNothingisSafeTest so that legal differences are ignored.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1588403 13f79535-47bb-0310-9956-ffa450edef68
2014-04-18 02:37:12 +00:00
Mark Robert Miller
389a4b93dc
SOLR-5776: Set the server side to SHA1PRNG as in Steve's original patch.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1588402 13f79535-47bb-0310-9956-ffa450edef68
2014-04-18 02:22:51 +00:00
Mark Robert Miller
e2fb46a51e
SOLR-5776: Enabled SSL tests can easily exhaust random generator entropy and block.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1588388 13f79535-47bb-0310-9956-ffa450edef68
2014-04-17 23:20:27 +00:00
Mark Robert Miller
050342b8a4
SOLR-5868: HttpClient should be configured to use ALLOW_ALL_HOSTNAME hostname verifier to simplify SSL setup.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1588312 13f79535-47bb-0310-9956-ffa450edef68
2014-04-17 17:28:01 +00:00
Noble Paul
3cb0a855a0
SOLR-5473: Make one state.json per collection , SOLR-5474: Have a new mode for SolrJ to support stateFormat=2
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1587834 13f79535-47bb-0310-9956-ffa450edef68
2014-04-16 08:37:26 +00:00
Mark Robert Miller
856cdf8d3e
SOLR-5980: AbstractFullDistribZkTestBase#compareResults always returns false for shouldFail.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1586781 13f79535-47bb-0310-9956-ffa450edef68
2014-04-11 21:31:50 +00:00
Steven Rowe
597912787c
SOLR-5936: Removed deprecated non-Trie-based numeric & date field types.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1586106 13f79535-47bb-0310-9956-ffa450edef68
2014-04-09 19:48:14 +00:00
Dawid Weiss
bfecbc9274
Moved createTemp* to LuceneTestCase, removing it from SolrTestCaseJ4. Created common infrastructure that creates temporary files and folders under the suite's master folder. Created a rule that cleans up afterwards (or provides an explicit message if something fails to clean up).:
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/solr5914@1584832 13f79535-47bb-0310-9956-ffa450edef68
2014-04-04 17:37:58 +00:00
Dawid Weiss
ee084bbe60
Cleanups and refactorings after Mark's suggestions.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/solr5914@1584633 13f79535-47bb-0310-9956-ffa450edef68
2014-04-04 12:04:49 +00:00
Dawid Weiss
bc43bebedf
Merging with trunk.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/solr5914@1584603 13f79535-47bb-0310-9956-ffa450edef68
2014-04-04 10:27:05 +00:00
Uwe Schindler
6750845f9b
LUCENE-5560: Followup: Cleanup charset handling for Java 7
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1583449 13f79535-47bb-0310-9956-ffa450edef68
2014-03-31 20:35:16 +00:00
Uwe Schindler
2f8192f3c5
LUCENE-5560: Cleanup charset handling for Java 7
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1583302 13f79535-47bb-0310-9956-ffa450edef68
2014-03-31 11:34:01 +00:00
Mark Robert Miller
a44e0a82ba
SOLR-5934: LBHttpSolrServer exception handling improvement and small test improvements.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1583213 13f79535-47bb-0310-9956-ffa450edef68
2014-03-30 22:04:58 +00:00
Mark Robert Miller
6bf76b1015
SOLR-5914: Polish up createTempDir calls.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/solr5914@1583163 13f79535-47bb-0310-9956-ffa450edef68
2014-03-30 17:37:31 +00:00
Mark Robert Miller
64ad96afb1
SOLR-5914: Need to use ensureClosed boolean everywhere in SolrTestCaseJ4.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/solr5914@1582826 13f79535-47bb-0310-9956-ffa450edef68
2014-03-28 16:55:24 +00:00
Mark Robert Miller
48c5ea550f
SOLR-5914: Merge branch up to trunk, make all tests pass, make some other improvements and small changes.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/solr5914@1582571 13f79535-47bb-0310-9956-ffa450edef68
2014-03-28 00:55:45 +00:00
Mark Robert Miller
6afdd45556
SOLR-5914: Solr tests should use dataDir for tmp files.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1582413 13f79535-47bb-0310-9956-ffa450edef68
2014-03-27 17:23:40 +00:00
Dawid Weiss
688addbd50
Branch for solr5914
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/solr5914@1582248 13f79535-47bb-0310-9956-ffa450edef68
2014-03-27 10:45:40 +00:00
Mark Robert Miller
b7b0643115
SOLR-5914: Cleanup and fix Solr's test cleanup code.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1582038 13f79535-47bb-0310-9956-ffa450edef68
2014-03-26 20:30:16 +00:00
Alan Woodward
1dba8a6f6b
SOLR-5903: SolrCore implements Closeable
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1581360 13f79535-47bb-0310-9956-ffa450edef68
2014-03-25 14:46:19 +00:00
Alan Woodward
0e8d8fefae
SOLR-4478: Allow cores to use configurations specified outside their instance directory
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1580814 13f79535-47bb-0310-9956-ffa450edef68
2014-03-24 10:54:51 +00:00
Mark Robert Miller
b838ab4b96
tests: improve test
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1580755 13f79535-47bb-0310-9956-ffa450edef68
2014-03-24 05:39:44 +00:00
Mark Robert Miller
1567665c96
LUCENE-5543: Add allowReadingFilesStillOpenForWrite to MockDirectoryFactory and MockDirectoryWrapper and set it to true for cloud tests.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1580707 13f79535-47bb-0310-9956-ffa450edef68
2014-03-24 02:47:53 +00:00
Mark Robert Miller
b2335520fe
SOLR-5865: Testing improvements.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1579951 13f79535-47bb-0310-9956-ffa450edef68
2014-03-21 15:00:07 +00:00
Mark Robert Miller
5c20f7dfba
SOLR-5865: Un@Ignore test again.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1579679 13f79535-47bb-0310-9956-ffa450edef68
2014-03-20 16:30:28 +00:00
Mark Robert Miller
2ce105ed45
SOLR-5888: Speed up SyncSliceTest as well as some other tests.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1579539 13f79535-47bb-0310-9956-ffa450edef68
2014-03-20 05:03:14 +00:00
Mark Robert Miller
1109c1275b
SOLR-5883: Many tests do not shutdown SolrServer.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1579336 13f79535-47bb-0310-9956-ffa450edef68
2014-03-19 18:25:00 +00:00
Mark Robert Miller
07dc96fd0c
SOLR-5880: Start using zookeeper.forceSync=false in tests.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1579252 13f79535-47bb-0310-9956-ffa450edef68
2014-03-19 15:05:13 +00:00