Robert Muir
44f21b24d7
Fix unit tests to bind to port 0.
...
I will followup with ITs and other modules. By fixing this, these tests become more reliable (will never sporatically
fail due to other stuff on your machine: ports are assigned by the OS), and it allows us to move forward with
gradle parallel builds, in my tests this is a nice speedup, but we can't do it until tests are cleaned up
2015-11-30 17:22:58 -05:00
Ryan Ernst
36e1a97b93
Merge pull request #15126 from rjernst/bump_failures_summary
...
Increase the number of failed tests shown in test summary
2015-11-30 13:47:13 -08:00
Ryan Ernst
4bb1eed766
Build: Increase the number of failed tests shown in test summary
...
We had increased this in maven, but it was lost in the transition to
gradle. This change adds it as a configurable setting the the logger for
randomized testing and bumps it to 25.
2015-11-30 13:40:39 -08:00
Lee Hinman
cc627e41cc
Merge pull request #15108 from joschi/editorconfig
...
Add simple EditorConfig
2015-11-30 09:16:01 -07:00
Clinton Gormley
9dbda2af62
Update scripting.asciidoc
...
Fix script syntax for script_score
Closes #15096
2015-11-30 17:07:52 +01:00
Honza Král
02798951ef
[docs] Updating the Python client docxs
2015-11-30 16:50:08 +01:00
David Pilato
bed9bf19c6
S3 repository: fix spelling error
...
Reported at https://github.com/elastic/elasticsearch-cloud-aws/pull/221
2015-11-30 16:01:55 +01:00
Britta Weber
d8a1a4bd43
fix toXContent() for mapper attachments field
...
We must use simpleName() instead of name() because otherwise when the mapping
is generated as a string the field name will be the full path with dots
and that is illegal from es 2.0 on.
closes https://github.com/elastic/elasticsearch-mapper-attachments/issues/169
2015-11-30 15:28:12 +01:00
Jason Tedor
c4a2298194
Merge pull request #14899 from jasontedor/cluster-state-batch
...
Split cluster state update tasks into roles
2015-11-30 09:19:30 -05:00
Nik Everett
b6826bfc78
[doc] Information on JVM fork count
...
I spent 20 minutes reading gradle docs to figure out how to do this. No one
else should have to do that.
Also, some of the documentation was out of date.
2015-11-30 09:17:43 -05:00
Jason Tedor
fba74c9615
Add docs for cluster state update task batching
2015-11-30 08:59:24 -05:00
Jason Tedor
ffb3e0a845
ClusterStateTaskListener#onNoLongerMaster now throws NotMasterException
2015-11-30 08:59:24 -05:00
Jason Tedor
72e18ec681
Add builder to create cluster state executor results
2015-11-30 08:59:24 -05:00
Jason Tedor
9aa9447016
Simplify loop in InternalClusterService#runTasksForExecutor
2015-11-30 08:59:23 -05:00
Jason Tedor
7caee2fa4d
Explicitly correspond cluster state tasks and execution results
2015-11-30 08:59:23 -05:00
Jason Tedor
c3f97e7642
Simplify InternalClusterService#submitStateUpdateTask with lambdas
2015-11-30 08:59:23 -05:00
Jason Tedor
1fb6a1f669
Simplify grouping of cluster state update tasks
2015-11-30 08:59:23 -05:00
Jason Tedor
eaba3d5cb3
Add test for cluster state batch updates
2015-11-30 08:59:23 -05:00
Boaz Leskes
f0f89e708d
Split cluster state update tasks into roles
...
This commit splits cluster state update tasks into roles. Those roles
are:
- task info
- task configuration
- task executor
- task listener
All tasks that have the same executor will be executed in batches. This
removes the need for local batching as was previously in
MetaDataMappingService.
Additionally, this commit reintroduces batching on mapping update calls.
Relates #13627
2015-11-30 08:59:23 -05:00
Jochen Schalanda
18e969e161
Add simple EditorConfig
...
The EditorConfig file applies the formatting rules described in CONTRIBUTING.md.
2015-11-30 14:47:03 +01:00
David Pilato
a4e22b44e4
add java-api doc about shading / embedding
...
Two new sections added
* Dealing with JAR dependency conflicts
* Embedding jar with dependencies
Closes #15071 .
2015-11-30 11:47:17 +01:00
Christoph Büscher
a0fe93fa67
Tests: Correction in AbstractShapeBuilderTestCase
...
Removed check that two shapes that are different according
to equals() have different hashCode since that is not required
by the contract of hashCode.
2015-11-30 11:09:41 +01:00
Jim Ferenczi
e182072b6f
Merge pull request #15017 from jimferenczi/fields_option
...
Refuse to load fields from _source when using the `fields` option and support wildcards.
2015-11-30 11:01:21 +01:00
Jim Ferenczi
731833cfc6
Fixes #14489
...
Do not to load fields from _source when using the `fields` option.
Non stored (non existing) fields are ignored by the fields visitor when using the `fields` option.
Fixes #10783
Support * wildcard to retrieve stored fields when using the `fields` option.
Supported pattern styles are "xxx*", "*xxx", "*xxx*" and "xxx*yyy".
2015-11-30 11:00:32 +01:00
Clinton Gormley
72be42d742
Document that _index is a virtual field and only supports term queries
...
Closes #15070
Closes #15081
2015-11-30 08:43:23 +01:00
Clinton Gormley
1685126bb6
Merge pull request #15085 from kaneshin/docs/modify/post_filter
...
Remove a trailing comma from an example data of JSON
2015-11-30 08:05:10 +01:00
Clinton Gormley
27dac8dc2c
REST spec: Added the verbose flag to indices.segments
...
Relates to #9111
2015-11-30 07:41:29 +01:00
Ryan Ernst
ddf1252a07
Merge pull request #15098 from rjernst/integ_test_output
...
Improve output when integ test fails
2015-11-29 19:55:23 -08:00
Ryan Ernst
d37930d133
Remove leftover debugging code
2015-11-29 19:51:50 -08:00
Ryan Ernst
0fa05edf03
Build: Improve output when integ test fails
...
This outputs a lot more info when integ tests fail to start, as well as
(should) fix windows (at least in my VM run) integ tests.
2015-11-29 19:44:43 -08:00
Robert Muir
fe20677819
Merge pull request #15097 from rmuir/buglevel
...
Add workaround for JDK-6427854
2015-11-29 17:25:11 -05:00
Robert Muir
b7523bb974
Add workaround for JDK-6427854
...
See e.g. http://build-us-00.elastic.co/job/es_feature_ingest/2831/consoleFull
The bug can still happen, so we should let netty do this workaround
2015-11-29 16:12:52 -05:00
Robert Muir
93758874fb
Merge pull request #15093 from rmuir/gradle_windoze_integ_tests
...
Fix integration tests and 'gradle run' to work on windoze
2015-11-29 12:15:30 -05:00
Robert Muir
8464b92aa3
Merge pull request #15094 from rmuir/windoze_charsets
...
do not assert charset or exact lengths for mapper-attachments tests.
2015-11-29 12:12:18 -05:00
Robert Muir
a2816ec574
don't assert exact expected lengths for documents.
...
This will change depending on newline of the operating system
2015-11-29 11:48:54 -05:00
Robert Muir
415c37340a
do not assert charset for mapper-attachments tests.
...
Its enough to test the content type for what we are testing.
Currently tests are flaky if charset is detected as e.g. windows-1252 vs iso-8859-1 and so on.
In fact, they fail on windows 100% of the time.
We are not trying to test charset detection heuristics (which might be different even due to newlines in tests or other things).
If we want to do test that, we should test it separately.
2015-11-29 11:40:27 -05:00
Robert Muir
a01f86aaac
Fix integration tests and gradle run to work on windoze
2015-11-29 07:39:18 -08:00
Boaz Leskes
f8a027e591
Merge pull request #14801 from bleskes/resiliency_update
...
Update the resiliency page to 2.0.0
2015-11-29 12:21:15 +01:00
Michael McCandless
fc6a2f318a
Merge pull request #15090 from mikemccand/improve_completion_stats
...
Pull Fields instance once from LeafReader in completion stats.
Closes #6593
2015-11-29 06:17:53 -05:00
Michael McCandless
94954ece3a
improve javadocs
2015-11-29 06:13:47 -05:00
Michael McCandless
8933947b95
only pull Fields once from the reader
2015-11-29 06:00:11 -05:00
Ryan Ernst
8e25dc4f80
Merge pull request #15089 from rjernst/extra_config_file_delay
...
Fix delayed extra config file checks to be right before copy
2015-11-28 19:44:16 -08:00
Ryan Ernst
018c766bf7
Build: Fix delayed extra config file checks to be right before copy
...
The current delay waits until later after normal configuration, but
still just after resolution (ie when paths would be known for
dependencies but not actual execution). This delays the checks further
to be done right before we actually execute the copy task.
closes #15068
2015-11-28 18:06:36 -08:00
Ryan Ernst
1ee59e4977
Merge pull request #15088 from rjernst/integ_test_command_line
...
Move debug options setting to before command line is logged
2015-11-28 17:19:39 -08:00
Nik Everett
114065b3fa
Merge pull request #15031 from nik9000/integ_for_packages
...
Fix deb and rpm tests
2015-11-28 20:10:41 -05:00
Ryan Ernst
f15ee9fa54
Build: Move debug options setting to before command line is logged
...
Currently if running with --info, the command line for ES, along with
env vars, are logged before they may be ammended to add debug options.
This moves the adding JAVA_OPTS to before we print the command.
2015-11-28 17:05:11 -08:00
Nik Everett
eba594fc08
Remove strange checks and clean dirs
2015-11-28 19:44:53 -05:00
Nik Everett
45e71329ee
[build] Fix deb and rpm tests
...
Gradle is causing so much trouble here! Its too cute for its own good.
2015-11-28 19:07:06 -05:00
Ryan Ernst
e4ad7b77c4
Merge pull request #15086 from rjernst/packaging_artifact_ids
...
Fix rpm and deb generated poms to have correct artifactId
2015-11-28 14:06:24 -08:00
Ryan Ernst
7788c4cd69
Build: Fix rpm and deb generated poms to have correct artifactId
...
For all our distributions, we use "elasticsearch" as the artifactId.
This fixes the id for the generated poms of rpm and deb distributions.
2015-11-28 11:30:49 -08:00