Ryan Ernst
9ee08dbb0b
Merge pull request #14916 from rjernst/force_task_order
...
Enforce similar tasks run for dependencies first
2015-11-22 07:41:42 -08:00
Ryan Ernst
f9351b3e0e
Build: Enforce similar tasks run for dependencies first
...
Gradle ensures task dependencies are executed in the correct order.
However, project dependencies only build what is needed for the
dependency. This means the order of higher level tasks are not
guaranteed. This change adds task ordering between test and integTest
for a project and its dependencies.
2015-11-22 01:17:49 -08:00
Robert Muir
9e41d5a738
fix typo in comment
2015-11-21 23:13:05 -05:00
Robert Muir
30529c008d
Ban write access to system properties
...
* Forbid System.setProperties & co in forbidden APIs.
* Ban property write access at runtime with security manager.
Plugins that need to modify system properties will need to request permission in their plugin-security.policy
2015-11-21 22:33:06 -05:00
Jason Tedor
5f5ffb7871
Remove unused imports from o.a.c.s.AbstractClient
2015-11-21 22:08:18 -05:00
Ryan Ernst
335e7fca24
Merge pull request #14913 from rjernst/precommit_standalone
...
Add precommit checks to standalone tests
2015-11-21 12:29:03 -08:00
Ryan Ernst
a2ef228d12
Build: Add precommit checks to standalone tests
2015-11-21 11:50:43 -08:00
Christoph Büscher
be9dd035e2
Merge pull request #14887 from cbuescher/merge-base-shapebuilders
...
Merging BaseLineString and BasePolygonBuilder with subclass
2015-11-21 12:52:31 +01:00
Christoph Büscher
991ab030dc
Adding notes about ShapeBuilder changes to migration doc.
2015-11-21 12:51:28 +01:00
Nik Everett
9e4a0cba0b
Merge pull request #14910 from camilojd/fix-better-exception-query-num-field-regex
...
Return a better exception message when `regexp` query is used on a numeric field
2015-11-20 22:42:21 -05:00
Camilo Díaz Repka
d683e10172
Return a better exception message when regexp query is used on a numeric field
2015-11-21 00:21:24 -03:00
Jason Tedor
22187113b6
Merge pull request #14909 from jasontedor/release-after-successful-acquire
...
Do not release unacquired semaphore
2015-11-20 18:20:22 -05:00
Jason Tedor
d541be462b
Do not release unacquired semaphore
...
This commit adds an acquired flag to BulkProcessor#execute that is set
only after successful acquisition of a permit on the semaphore
there. This flag is used to ensure that we do not release a permit on
the semaphore when we did not obtain a permit on the semaphore.
Closes #14908
2015-11-20 18:03:48 -05:00
Nik Everett
ea512763ae
Merge pull request #14906 from nik9000/gradle_empty_dir
...
Survive missing directories
2015-11-20 17:48:11 -05:00
Nik Everett
9b6e59bd57
[build] Survive missing directories
2015-11-20 17:38:50 -05:00
Ryan Ernst
fffb1be82c
Merge pull request #14766 from rjernst/javadocs
...
Add javadocs jars
2015-11-20 12:21:40 -08:00
Ryan Ernst
88ee2e23a6
Merge branch 'master' into javadocs
2015-11-20 12:20:59 -08:00
Ryan Ernst
167ccefba6
Add reference to gradle discussion on javadoc options
2015-11-20 12:18:30 -08:00
Ryan Ernst
61d62078f5
Merge pull request #14779 from rjernst/fork_compile
...
Use JDK at JAVA_HOME for compiling/testing, and improve build info output
2015-11-20 12:12:49 -08:00
Nik Everett
7596fdc999
Merge pull request #14904 from nik9000/no_windows_deb_tests
...
Skip package tests on windows
2015-11-20 14:58:44 -05:00
Nik Everett
452d85e582
[build] Skip package tests on windows
...
They aren't going to work because the packages don't include the windows
files.
2015-11-20 14:54:30 -05:00
Ryan Ernst
df9cd96e9f
Merge pull request #14858 from rjernst/check_jarhell
...
Add jar hell check before tests run
2015-11-20 11:35:49 -08:00
Clinton Gormley
69c4ed0324
Change the commented out line to a comment block
2015-11-20 20:32:49 +01:00
Ryan Ernst
6b734dc009
Remove debugging output from running jjs scripts
2015-11-20 11:31:46 -08:00
Ryan Ernst
63a7b155d8
Merge branch 'master' into fork_compile
2015-11-20 11:30:36 -08:00
Clinton Gormley
9960d32549
Comment out release notes in master until they are populated
2015-11-20 20:28:32 +01:00
Clinton Gormley
ccde02c930
Add release notes to docs index
2015-11-20 20:23:54 +01:00
Clinton Gormley
9e0ca4a795
Updated the release-notes script to produce AsciiDoc and added placeholders
2015-11-20 20:05:53 +01:00
markharwood
c3a50d7ca2
Search: shift SearchTimeoutTests into core tests minus the Groovy dependency and renamed with IT test suffix
2015-11-20 18:50:17 +00:00
markharwood
5a5f05a0e9
Aggregations: Shift significant terms score test back into core without the Groovy dependency
2015-11-20 18:32:04 +00:00
Clinton Gormley
2293c0d8c8
Update token-count.asciidoc
...
Fix typo
2015-11-20 19:00:52 +01:00
Ryan Ernst
28cba31447
Build: Remove cleaning of buildSrc on clean of ES, it doens't work as intended
2015-11-20 09:47:48 -08:00
Luca Cavanna
0de1180cee
Merge pull request #14897 from javanna/enhancement/data_is_modified
...
Update modified flag when removing a property and corresponding tests
2015-11-20 18:10:22 +01:00
Christoph Büscher
71e734647b
Docs: `exists` query does not need to be wrapped inside `constant_score`
...
In the example we show an `exists` query inside a constant score query. While this is possible, it can mislead users to think it is necessary so we should remove it.
2015-11-20 18:08:51 +01:00
javanna
bb298ed27a
add some javadocs to Data#getDocument
2015-11-20 18:01:27 +01:00
javanna
be3e913349
set Data modified flag when a property is removed and improve behaviour when adding a field
2015-11-20 17:59:45 +01:00
Colin Goodheart-Smithe
5a18f740ba
Aggregations: Moves SumTests out of lang-groovy and back into core
...
Renames SumTests to SumIT and puts it in the same package as the other aggregation tests. Also updates the tests to not require Groovy
2015-11-20 12:42:08 +00:00
Daniel Mitterdorfer
c95c142829
Merge remote-tracking branch 'danielmitterdorfer/fix/ValueCountTests'
2015-11-20 13:21:15 +01:00
Daniel Mitterdorfer
7d6b0fc481
Move ValueCountTests to core
...
This script moves ValueCountTests from plugins back to core
by using a mock script engine instead of Groovy.
2015-11-20 13:19:55 +01:00
Adrien Grand
f6221cc877
Merge pull request #14881 from jpountz/fix/AvgTests
...
Move AvgTests back to core.
2015-11-20 12:41:13 +01:00
Adrien Grand
4602b8177b
Move AvgTests back to core.
...
This makes AvgTests use a mock plugin engine. I also removed the
textScriptExplicit* methods for the base class since they only make sense for
a groovy script, not a mock script.
2015-11-20 11:58:38 +01:00
Christoph Büscher
a2dca2f6cb
Geo: Merging BaseLineString and BasePolygonBuilder with subclass
...
After the removal of some internal shape builders in #14482 the
BaseLineStringBuilder has only one implementation, the LineStringBuilder.
Same for the BasePolygonBuilder. This PR removes the abstract classes
and merges them with their concrete implementation to simplify the
inheritance hierarchy.
2015-11-20 11:37:55 +01:00
William Bowling
18c9eba40a
Allow CIDR notation in a query string query
...
Close #14773
2015-11-20 11:17:56 +01:00
Boaz Leskes
6d9e82311a
Don't delete temp recovered checkpoint file if it was renamed
...
Closes #14872
2015-11-20 10:44:40 +01:00
Boaz Leskes
b001e20a83
Disable RecoveryWhileUnderLoadIT for now
...
Working on a fix http://build-us-00.elastic.co/job/es_core_master_windows-2012-r2/2074/testReport/
2015-11-20 10:38:48 +01:00
William
e042e06a5a
Update similarity.asciidoc
2015-11-19 16:41:29 -08:00
Christoph Büscher
aa1507d349
Merge pull request #14482 from cbuescher/remove-internal-linestring-builder
...
Remove InternalLineStringBuilder and InternalPolygonBuilder
2015-11-20 00:06:04 +01:00
Ryan Ernst
cc6814f401
Merge pull request #14869 from rjernst/integ_test_java_opts
...
Improve integ test startup behavior
2015-11-19 14:13:15 -08:00
Ryan Ernst
c650d31ef1
Build: Improve integ test startup behavior
...
As part of the refactoring to allow --debug-jvm with gradle run, the way
java options are passed for integ tests was changed. However, we need to
make sure the jvm argline passed goes to ES_GC_OPTS because this
allows overriding things like which garbage collector we run, which we
do for testing from jenkins. This change adds back ES_GC_OPTS.
2015-11-19 13:06:47 -08:00
Michael McCandless
83db1c2930
Merge pull request #14867 from mikemccand/include_root_cause
...
Include root-cause exception when we fail to change shard's index buffer
2015-11-19 15:40:10 -05:00