OpenSearch/x-pack/plugin
Dimitris Athanasiou c1b0bfd74a
[7.x][ML] Unwrap exception causes before calling instanceof (#47676) (#47724)
When exceptions could be returned from another node, the exception
might be wrapped in a `RemoteTransportException`. In places where
we handled specific exceptions using `instanceof` we ought to unwrap
the cause first.

This commit attempts to fix this issue after searching code in the ML
plugin.

Backport of #47676
2019-10-08 16:02:47 +03:00
..
analytics Remove eclipse conditionals (#44075) 2019-10-03 11:55:00 +03:00
ccr Fail earlier Put Follow requests for closed leader indices (#47637) 2019-10-07 13:59:04 +02:00
core [7.x][ML] Unwrap exception causes before calling instanceof (#47676) (#47724) 2019-10-08 16:02:47 +03:00
deprecation Add migration tool checks for `_field_names` disabling (#46972) 2019-09-25 10:15:10 +02:00
frozen-indices Remove eclipse conditionals (#44075) 2019-10-03 11:55:00 +03:00
graph Fix XPackPlugin usages in tests (#47252) 2019-10-02 12:36:02 +02:00
ilm Throw error retrieving non-existent SLM policy (#47679) 2019-10-07 19:54:04 -06:00
logstash Remove description from xpack feature sets (#43065) 2019-06-11 09:22:58 -07:00
mapper-flattened Remove eclipse conditionals (#44075) 2019-10-03 11:55:00 +03:00
ml [7.x][ML] Unwrap exception causes before calling instanceof (#47676) (#47724) 2019-10-08 16:02:47 +03:00
monitoring Validating monitoring hosts setting while parsing (#47571) 2019-10-04 17:32:49 -04:00
rollup Convert most awaitBusy calls to assertBusy (#45794) (#47112) 2019-09-29 12:21:46 +01:00
search-business-rules Remove eclipse conditionals (#44075) 2019-10-03 11:55:00 +03:00
security Add 'create_doc' index privilege (#45806) (#47645) 2019-10-07 23:58:44 +11:00
spatial Remove eclipse conditionals (#44075) 2019-10-03 11:55:00 +03:00
sql Convert RunTask to use testclusers, remove ClusterFormationTasks (#47572) 2019-10-08 14:43:29 +03:00
src/test [Transform] move root endpoint to _transform with BWC layer (#47127) (#47682) 2019-10-08 08:59:01 +02:00
transform [Transform] move root endpoint to _transform with BWC layer (#47127) (#47682) 2019-10-08 08:59:01 +02:00
vectors Fix XPackPlugin usages in tests (#47252) 2019-10-02 12:36:02 +02:00
voting-only-node Remove eclipse conditionals (#44075) 2019-10-03 11:55:00 +03:00
watcher Watcher - catch uncaught exception. (#47680) (#47695) 2019-10-07 15:45:45 -05:00
build.gradle Convert RunTask to use testclusers, remove ClusterFormationTasks (#47572) 2019-10-08 14:43:29 +03:00