Simon Willnauer
a4a0390ff6
Move inactiveTime into IndexShard out of IndexingMemoryController
2015-11-05 11:18:11 +01:00
Simon Willnauer
7d77f182e2
fix tests
2015-11-05 11:18:11 +01:00
Simon Willnauer
a311491c8e
decouple IndexingMemoryController from IndexShard
2015-11-05 11:18:11 +01:00
Simon Willnauer
487af301ea
Remove guice from the index level
...
This commit removes guice from the index level and adds a simple extension point
to add class instances with an index-lifecycle scope.
2015-11-05 11:18:11 +01:00
Simon Willnauer
45f7844948
Make CodecService a simple per shard registry.
2015-11-05 11:18:10 +01:00
Ryan Ernst
f974d5e470
Build: Fail integ test if elasticsearch fails to start on windows
2015-11-05 00:07:59 -08:00
Ryan Ernst
faf2aeb9e8
Merge pull request #14547 from rjernst/jvm_argline
...
Build: Add back support for tests.jvm.argline
2015-11-04 23:59:42 -08:00
Ryan Ernst
2723bac296
Build: Add back support for tests.jvm.argline
...
closes #14541
2015-11-04 23:59:01 -08:00
Martijn van Groningen
fc02b2bb0f
test: don't run the second cluster with http enabled.
2015-11-05 14:08:54 +07:00
KangYongKyun
b5d49641fb
colon is added
...
"predict" 10 => "predict" : 10
2015-11-05 11:32:20 +09:00
Robert Muir
1a0a910d1e
Merge pull request #14526 from rjernst/standalone_test
...
Add qa/evil-tests
2015-11-04 13:49:55 -05:00
Ryan Ernst
a534ace896
Fix standalone test to work with check, and comment out mavenLocal
2015-11-04 10:28:31 -08:00
Boaz Leskes
efde8e8a26
Gateway: failure to update the cluster state with the recovered state should make sure it will be recovered later
...
We currently fail to follow the right failure paths.
See http://build-us-00.elastic.co/job/es_core_master_window-2008/2477/
Closes #14485
2015-11-04 09:42:24 +00:00
Boaz Leskes
8eff4e211a
Improve some logging around master election and cluster state
...
Tweaks done while debugging http://build-us-00.elastic.co/job/es_core_master_window-2008/2477/
Closes #14481
2015-11-04 09:39:56 +00:00
Yannick Welsch
c4b68801bf
Merge pull request #14385 from ywelsch/feature/cat-snapshots-duration
...
Add duration field to /_cat/snapshots
2015-11-04 10:34:42 +01:00
Yannick Welsch
825d0c64e6
Add duration field to /_cat/snapshots
...
Closes #14385
2015-11-04 10:34:00 +01:00
Daniel Mitterdorfer
ae9fcd4f2b
Merge remote-tracking branch 'danielmitterdorfer/feature/12596'
2015-11-04 09:31:12 +01:00
Daniel Mitterdorfer
fea88bbc02
Add System#exit(), Runtime#exit() and Runtime#halt() to forbidden APIs
...
Closes #12596
2015-11-04 09:29:55 +01:00
Daniel Mitterdorfer
9ea25164b2
Merge remote-tracking branch 'danielmitterdorfer/fix/13132'
2015-11-04 09:06:35 +01:00
Daniel Mitterdorfer
7b62267008
Geo: Allow numeric parameters enclosed in quotes for 'geohash_grid' aggregation
...
Originally, only numeric values were allowed for parameters of the
'geohash_grid' aggregation in contrast to other places in the REST
API.
With this commit we also allow that parameters are enclosed in quotes (i.e.
as JSON strings). Additionally, with this commit the valid range for
'precision' is enforced for the Java API and the REST API (the latter was
previously missing the check).
Closes #13132
2015-11-04 09:04:22 +01:00
Ryan Ernst
fc1c66083b
Fix integ test exec on windows
2015-11-03 23:02:29 -08:00
Robert Muir
3d8b4dae33
remove the ability for code to change file permissions, this was
...
only needed for pluginmanager's test, and pluginmanager doesn't
even run with securitymanager yet.
2015-11-04 00:31:15 -05:00
Robert Muir
6be9954d28
remove jimfs dep in tests
2015-11-03 23:29:14 -05:00
Mark Walkom
4f2154b0e0
Removed / from commands
2015-11-04 14:56:06 +11:00
Mark Walkom
ab0cba4bbf
Removed / from command
2015-11-04 14:54:40 +11:00
Mark Walkom
97a066829c
Fixed minor typo
2015-11-04 14:46:37 +11:00
Robert Muir
602feac915
move tests never running in jenkins to new evil tests module
2015-11-03 21:42:22 -05:00
Scott Chamberlain
9d8c026dbc
Added new community R client, edited old entry
...
I maintain two R clients, elastic and elasticdsl
adding entry for elasticdsl and edited elastic entry
2015-11-03 15:46:47 -08:00
Jason Tedor
9d42b8b22b
Merge pull request #14497 from jasontedor/java-9-type-inference-concatenated-iterator
...
Fix Java 9 type inference issue
2015-11-03 16:56:49 -05:00
Robert Muir
bcf05cf2b8
Merge pull request #14500 from rmuir/groovy_json
...
Add property permissions so groovy scripts can serialize json
2015-11-03 16:29:25 -05:00
Robert Muir
79467a138a
Add property permissions so groovy scripts can serialize json
...
Allowing read to these properties is not really dangerous, even if
the code surrounding them is.
Closes #14488
2015-11-03 15:21:55 -05:00
Jason Tedor
2398f41db2
Fix Java 9 type inference issue
...
This commit fixes a compilation issue due to modified type inference in
the latest JDK 9 early access builds. We just have to lend a helping
hand to type inference by being explicit about the type.
Closes #14496
2015-11-03 15:15:40 -05:00
Ryan Ernst
6bf640293c
Merge pull request #14493 from rjernst/tar_extension
...
Change tar extension back to tar.gz instead of tgz
2015-11-03 11:41:32 -08:00
Ryan Ernst
95f885e11f
Build: Change tar extension back to tar.gz instead of tgz
...
Gradle defaults to tgz extension when tar is compressed. This changes
the tar distribution back to tar.gz. Note that this also means the maven
packaging type is now tar.gz.
2015-11-03 11:24:27 -08:00
Robert Muir
7e6008f0b9
refactor GroovySecurityTests into a unit test.
...
This was basically a resurrected form of the tests for the old sandbox.
We use it to check that groovy scripts some degree of additional containment.
The other scripting plugins (javascript, python) already have this as a unit test,
its much easier to debug any problems that way.
closes #14484
2015-11-03 13:39:17 -05:00
Ryan Ernst
64a01cfb05
Merge pull request #14460 from rjernst/distro_tests
...
Add back integ tests to distributions
2015-11-03 10:35:12 -08:00
Ryan Ernst
bd158e5e88
Add environment vars for JAVA_HOME and ES_GC_OPTS back to integ tests
2015-11-03 10:13:02 -08:00
Ryan Ernst
9246ca98fe
rest test refactor
2015-11-03 10:12:16 -08:00
Xu Zhang
fe75c91de6
Merge pull request #14409 from xuzha/allocated_processors
...
Add os.allocated_processors stats
closes #13917
2015-11-03 09:55:44 -08:00
xuzha
fb1d8bb149
Add os.allocated_processors
...
Current processors setting is not reflected in nodes info API
("os.available_processors"). Add os.allocated_processors to shows
actual number of processors that we are using.
2015-11-03 09:50:17 -08:00
Jason Tedor
b2c098630e
Merge pull request #14483 from jasontedor/cluster-block-to-string-dangling-comma
...
Fix dangling comma in ClusterBlock#toString
2015-11-03 11:55:01 -05:00
Jason Tedor
832267bcc1
Fix dangling comma in ClusterBlock#toString
...
This commit address some serious health issues that could arise from a
dangerous combination of OCD, string concatentation, and dangling
commas,
2015-11-03 11:52:40 -05:00
Simon Willnauer
09d2b41300
Merge pull request #14452 from s1monw/refactor_query_shard_context
...
Cleanup query parsing and remove IndexQueryParserService
2015-11-03 17:29:14 +01:00
Simon Willnauer
759948f6c1
Merge branch 'master' into refactor_query_shard_context
2015-11-03 17:10:13 +01:00
Simon Willnauer
968561ad49
apply review comments
2015-11-03 17:09:32 +01:00
Robert Muir
b6a2318563
upgrade rhino for plugins/lang-javascript
...
the current jar is over 3 years old, we should upgrade it for bugfixes.
the current integration could be more secure: set a global policy and enforce additional (compile-time) checks
closes #14466
2015-11-03 09:53:07 -05:00
David Tvaltchrelidze
ea4e514385
Fix HTML response during redirection
...
It misses a quote...
Closes #11374
2015-11-03 13:59:57 +00:00
javanna
ce6aa258a9
Remove support for query_binary and filter_binary
...
query_binary and filter_binary are unused at this point, as we only parse on the coordinating node and the java api only holds structured java objects for queries and filters, meaning they all implement Writeable and get natively serialized.
Relates to #14308
Closes #14433
2015-11-03 14:05:45 +01:00
Jason Tedor
43323c3541
Fix bug in cat thread pool
...
This commit fixes a bug in cat thread pool. This bug resulted from a
refactoring of the handling of thread pool types. To get the previously
displayed thread pool type from the ThreadPoolType object,
ThreadPoolType#getType needs to be called.
2015-11-03 07:40:49 -05:00
Simon Willnauer
d76ae6718e
Merge pull request #14432 from s1monw/add_shard_failure_as_suppressed
...
Deduplicate cause if already contained in shard failures
2015-11-03 12:06:23 +01:00