David Roberts
e198845614
[ML] Avoid masses of log spam/stack traces on shutdown ( elastic/x-pack-elasticsearch#1495 )
...
Suppress many job/datafeed errors if a node is known to be shutting down. Also, ensure started datafeeds and open jobs don't end up stopped/failed due to errors as the shutdown progresses, as this would prevent them automatically relocating to a different node.
relates elastic/x-pack-elasticsearch#1114
Original commit: elastic/x-pack-elasticsearch@e56a7dbea1
2017-05-23 10:05:27 +01:00
Ali Beyad
958ee95f26
[TEST] mute watcher test failure that is being tracked in elastic/x-pack-elasticsearch#1517
...
Original commit: elastic/x-pack-elasticsearch@a28b7ce3a5
2017-05-22 22:01:31 -04:00
Ryan Ernst
68e0bc419a
Use simplified ScriptContext ( elastic/x-pack-elasticsearch#1502 )
...
This is the xpack side of elastic/elasticsearch#24818
Original commit: elastic/x-pack-elasticsearch@0edbbab431
2017-05-22 13:11:23 -07:00
Ali Beyad
f158be89b8
[TEST] fixes tests that attempt to delete documents from missing
...
indices, as that is now prohibited by elastic/elasticsearch#24518
relates elastic/x-pack-elasticsearch#1511
Original commit: elastic/x-pack-elasticsearch@026a516196
2017-05-22 13:16:53 -04:00
Ali Beyad
e0a8881cfc
[TEST] mute failing tests, which are tracked in elastic/x-pack-elasticsearch#1511
...
Original commit: elastic/x-pack-elasticsearch@e23dd847f3
2017-05-22 12:19:56 -04:00
Ryan Ernst
5a3c85cd57
Build: Add bwcTest target to ci script ( elastic/x-pack-elasticsearch#1488 )
...
This is to allow bwcTest to be run by ci. This commit also fixes the
existing packagingTest target, which was never updated after the xpack
repo split.
Original commit: elastic/x-pack-elasticsearch@f4696c1899
2017-05-22 08:53:36 -07:00
Dimitris Athanasiou
aff8258398
[ML] Change result index searches to not use _type ( elastic/x-pack-elasticsearch#1509 )
...
Adjusts the searches for
- buckets
- categories
- model snapshots
to not use _type.
Relates elastic/x-pack-elasticsearch#668
Original commit: elastic/x-pack-elasticsearch@8269609705
2017-05-22 14:44:39 +01:00
Hendrik Muhs
edc299a532
move verification so that test is in order ( elastic/x-pack-elasticsearch#1504 )
...
improves test by taking order of statuses into account
Original commit: elastic/x-pack-elasticsearch@0d214714d3
2017-05-22 15:44:09 +02:00
David Kyle
1873624a18
Fix failing line length checks
...
Original commit: elastic/x-pack-elasticsearch@6a493a70a4
2017-05-22 12:39:51 +01:00
David Kyle
8e890d0365
Fix test
...
Original commit: elastic/x-pack-elasticsearch@cdf7950d3f
2017-05-22 12:36:15 +01:00
David Kyle
0425f58d80
[ML] Give test jobs meaningful names ( elastic/x-pack-elasticsearch#1508 )
...
Original commit: elastic/x-pack-elasticsearch@97bec3b1e9
2017-05-22 12:22:39 +01:00
David Roberts
5b2ef6e98e
[ML] Ignore IndexNotFoundException when deleting quantiles ( elastic/x-pack-elasticsearch#1507 )
...
Relates elastic/elasticsearch#24518
Original commit: elastic/x-pack-elasticsearch@34ee52443c
2017-05-22 11:04:27 +01:00
Hendrik Muhs
527dcfd98d
[ML] Make job closing robust against crashes in autodetect and other misbehavior ( elastic/x-pack-elasticsearch#1480 )
...
Set job to failed if autodetect manager fails closing, fix force closing of jobs that hang in closing
state, set timeout when waiting for clusterstate update, disallow closing of failed jobs with normal
close
relates elastic/x-pack-elasticsearch#1453
Original commit: elastic/x-pack-elasticsearch@493cf85e22
2017-05-22 08:48:33 +02:00
Simon Willnauer
392e67851e
Preserve aliases in index permissions ( elastic/x-pack-elasticsearch#1501 )
...
Aliases might be contained in requests that check index permissions
to disable caches etc. This commit preserves permissions for
aliases as well.
Original commit: elastic/x-pack-elasticsearch@233195aeba
2017-05-20 21:34:38 +02:00
Ryan Ernst
883f5d8a7a
Remove overrides of isInlineScriptEnabled ( elastic/x-pack-elasticsearch#1500 )
...
This is the xpack side of elastic/elasticsearch#24815
Original commit: elastic/x-pack-elasticsearch@5aa314a49d
2017-05-20 12:01:34 -07:00
Lisa Cawley
d18c48f820
[DOCS] Add info about configuring ML ( elastic/x-pack-elasticsearch#1497 )
...
Original commit: elastic/x-pack-elasticsearch@a9dfc239cc
2017-05-19 13:40:50 -07:00
Lisa Cawley
d72a8f8026
[DOCS] Add ML geographic functions ( elastic/x-pack-elasticsearch#1357 )
...
* [DOCS] Add ML geographic functions
* [DOCS] Add script_fields info to ML geo functions
* [DOCS] Remove summary count from ML geographic functions
* [DOCS] Added example title to geographic functions
* [DOCS] Remove list from ML geographic functions
Original commit: elastic/x-pack-elasticsearch@a8e495657f
2017-05-19 11:09:39 -07:00
Lisa Cawley
27b0af7eae
[DOCS] Modify ML analytical functions ( elastic/x-pack-elasticsearch#1467 )
...
* [DOCS] Modify ML analytical functions
* [DOCS] Fix ML function section titles
Original commit: elastic/x-pack-elasticsearch@f95ae012bb
2017-05-19 10:48:15 -07:00
David Roberts
fa95474ab8
[BUILD] Change ordering of Java compilation and ML C++ notice extraction
...
May help to avoid problems with the speed of temporary AWS credentials
propagation (see elastic/x-pack-logstash#73 )
Original commit: elastic/x-pack-elasticsearch@c78e00cda5
2017-05-19 13:36:40 +01:00
Tim Vernum
b689159077
[TEST] Mock getVersion on channel for ServerTransportFilterTests
...
Original commit: elastic/x-pack-elasticsearch@0b48c21eb0
2017-05-19 10:15:49 +10:00
Jack Conradson
b92a2f6582
Remove deprecated script settings. ( elastic/x-pack-elasticsearch#1469 )
...
Original commit: elastic/x-pack-elasticsearch@069e5a1087
2017-05-18 13:32:57 -07:00
Jay Modi
667f842f92
Fix authentication forward compatibility ( elastic/x-pack-elasticsearch#1481 )
...
The authentication object was changed in 5.4.0 in that it was conditionally signed depending on
the version and other factors. A bug was introduced however that causes the authentication to
actually get written with the version of the node it is being sent to even if that version is
greater than the version of the current node, which causes rolling upgrades to fail.
Original commit: elastic/x-pack-elasticsearch@a718ff8a52
2017-05-18 15:30:53 -04:00
debadair
5353c35420
[DOCS] Removed references to file-based scripts.
...
Original commit: elastic/x-pack-elasticsearch@f0462e2f69
2017-05-18 11:18:11 -07:00
David Kyle
e5810f894c
[ML] Catch exceptions in AutoDetectResultProcessor#process and continue ( elastic/x-pack-elasticsearch#1484 )
...
Original commit: elastic/x-pack-elasticsearch@f1f6a322e0
2017-05-18 18:40:41 +01:00
Ryan Ernst
489a4eb685
Build: Guard adding project substitution for bwc zip with snapshot check ( elastic/x-pack-elasticsearch#1485 )
...
We should only be adding a project substitution if the last wire compat
version is a snapshot.
Original commit: elastic/x-pack-elasticsearch@c4a08bd503
2017-05-18 10:33:53 -07:00
Dimitris Athanasiou
1bb7651dba
[ML] Refactor filters API to not use _type ( elastic/x-pack-elasticsearch#1483 )
...
- Removes dependence on _type for filters.
- Changes the put filter API to take the id in the URI
- Prepares .ml-meta index to be able to host more types in future
Relates elastic/x-pack-elasticsearch#668
Original commit: elastic/x-pack-elasticsearch@d4cffa9382
2017-05-18 18:09:20 +01:00
David Kyle
f3c94915b0
[ML] Add sort parameter for get buckets ( elastic/x-pack-elasticsearch#1464 )
...
* Add sort parameter for get buckets
* Add secondary sort by time
* Use default values from actions in rest requests
Original commit: elastic/x-pack-elasticsearch@a530c0bed6
2017-05-18 16:40:54 +01:00
Alexander Reelsen
27af24de6f
Docs: Fix link to current smtp java documentation
...
relates elastic/x-pack-elasticsearch#1468
Original commit: elastic/x-pack-elasticsearch@768d699f8a
2017-05-18 16:51:28 +02:00
jaymode
1cc4ec95f3
Test: fix kibana write rolling upgrade test
...
This commit fixes the kibana write rolling upgrade test. The test needs to enable the kibana user
as another test explicitly disables it. After the test runs it disables the kibana user again.
relates elastic/x-pack-elasticsearch#1460
Original commit: elastic/x-pack-elasticsearch@437495432d
2017-05-18 10:12:34 -04:00
Alexander Reelsen
3f68b4facd
Watcher: Use existing plugin hook to delete all old templates ( elastic/x-pack-elasticsearch#1425 )
...
This commit ensures the old 5.x index templates are removed
using the existing plugin hook, instead of the self written part.
Original commit: elastic/x-pack-elasticsearch@6faf08d98d
2017-05-18 14:21:27 +02:00
Alexander Reelsen
55359433ae
Watcher: Return proper GetWatchResponse if watcher index is missing ( elastic/x-pack-elasticsearch#1462 )
...
This ensures that the same responses is returned, when a watch is
missing and when the whole watch index is missing for the
GetWatchResponse.
relates elastic/x-pack-elasticsearch#1409
Original commit: elastic/x-pack-elasticsearch@88a7335fa9
2017-05-18 14:19:18 +02:00
Alexander Reelsen
adf480f8fd
Watcher: Rename watch and triggered watch types to `doc ( elastic/x-pack-elasticsearch#1414 )
...
Note: This disables the BWC tests until the upgrade API is here
Original commit: elastic/x-pack-elasticsearch@8011fa06e3
2017-05-18 11:46:03 +02:00
Ryan Ernst
d6a9185857
Build: Convert rolling upgrade test to create tasks per bwc version ( elastic/x-pack-elasticsearch#1477 )
...
This is the xpack equivalent of elastic/elasticsearch#24758
Original commit: elastic/x-pack-elasticsearch@73e1a9c6b4
2017-05-18 02:25:54 -07:00
Ryan Ernst
58bd30e64f
Fix put script calls in script tests with watcher
...
Original commit: elastic/x-pack-elasticsearch@2eac2e5192
2017-05-18 00:52:55 -07:00
Clinton Gormley
aba877e6a2
Removed reference to file-based scripts
...
Relates to https://github.com/elastic/elasticsearch/pull/24627
Original commit: elastic/x-pack-elasticsearch@7a59422e5d
2017-05-18 09:17:46 +02:00
Ryan Ernst
d475010d1b
Remove leftover file template references
...
Original commit: elastic/x-pack-elasticsearch@04e98c6261
2017-05-17 23:22:27 -07:00
Tim Vernum
7052194094
[TESTS] Fix filename pattern for templating in SSL smoke test
...
Relates to elastic/x-pack-elasticsearch@4c1d82c
Original commit: elastic/x-pack-elasticsearch@f5cbc1c6b3
2017-05-18 11:07:42 +10:00
Lisa Cawley
f44302740d
[DOCS] Fix build error related to bad link ( elastic/x-pack-elasticsearch#1470 )
...
Original commit: elastic/x-pack-elasticsearch@d56fe65df6
2017-05-17 17:16:34 -07:00
Jason Tedor
0adfaab017
Revert "[DOCS] Re-enabled graph API example testing."
...
This reverts commit elastic/x-pack-elasticsearch@c83e6eb612 .
Original commit: elastic/x-pack-elasticsearch@4afc2361f3
2017-05-17 19:23:55 -04:00
Ryan Ernst
4c3e82604d
Convert native script uses to mock scripts ( elastic/x-pack-elasticsearch#1465 )
...
This is the xpack side of elastic/elasticsearch#24726
Original commit: elastic/x-pack-elasticsearch@0428fe1d16
2017-05-17 14:56:59 -07:00
Ryan Ernst
f7705eac86
Remove file scripts ( elastic/x-pack-elasticsearch#1399 )
...
This is the xpack side of elastic/elasticsearch#24627
Original commit: elastic/x-pack-elasticsearch@4d1c745d74
2017-05-17 14:42:46 -07:00
debadair
0059180d78
[DOCS] Re-enabled graph API example testing.
...
Original commit: elastic/x-pack-elasticsearch@c83e6eb612
2017-05-17 13:19:38 -07:00
Honza Král
d65dfcf2d9
Fix path to graph.explore in docs to match specs ( elastic/x-pack-elasticsearch#1089 )
...
Merging, will push an update to re-enable testing separately
Original commit: elastic/x-pack-elasticsearch@3adf3c41d4
2017-05-17 13:13:10 -07:00
Ryan Ernst
573da95e26
Use new wireCompatVersions property instead of bwcVersion ( elastic/x-pack-elasticsearch#1466 )
...
This is the xpack side of elastic/elasticsearch#24748
Original commit: elastic/x-pack-elasticsearch@8b7dd5cdbe
2017-05-17 12:58:51 -07:00
Dimitrios Athanasiou
05daaa8a3c
[ML] Fix compilation errors after Version changes
...
Original commit: elastic/x-pack-elasticsearch@745c1dffac
2017-05-17 18:32:47 +01:00
Dimitrios Athanasiou
646a3acd56
[ML] Fix line width in OpenJobAction
...
Original commit: elastic/x-pack-elasticsearch@0798745449
2017-05-17 18:14:03 +01:00
Dimitris Athanasiou
f0cb7b816d
[ML] Add compatibility checks while opening a job ( elastic/x-pack-elasticsearch#1458 )
...
This commit adds compatibility checks while opening a job:
- Checks that jobs without versions (< 5.5) are not opened
- Checks that jobs with incompatible types are not opened
Original commit: elastic/x-pack-elasticsearch@a3adab733e
2017-05-17 18:10:36 +01:00
Lisa Cawley
6d6c776cd4
[DOCS] Add ML rare functions ( elastic/x-pack-elasticsearch#1351 )
...
* [DOCS] Add ML rare functions
* [DOCS] Address feedback in ML rare functions
Original commit: elastic/x-pack-elasticsearch@388274557c
2017-05-17 09:34:30 -07:00
Lisa Cawley
cf5f8e4bad
[DOCS] Clarify model snapshots ( elastic/x-pack-elasticsearch#1447 )
...
Original commit: elastic/x-pack-elasticsearch@55f307cf89
2017-05-17 09:02:52 -07:00
Lisa Cawley
ea2214e5ce
[DOCS] Require job to have explicit data_description ( elastic/x-pack-elasticsearch#1445 )
...
* [DOCS] Require job to have explicit data_description
* [DOCS] Fix typo in put-job.asciidoc
Original commit: elastic/x-pack-elasticsearch@e7fbbff7eb
2017-05-17 08:53:43 -07:00