[ML] View DFA results causes page crash if destination index is missing or invalid #73118
Labels
bug
Fixes for quality problems that affect the customer experience
Feature:Data Frame Analytics
ML data frame analytics features
:ml
v7.9.0
Found in 7.9.0 BC4
"build_hash" : "b7f2f5c1c07dfcf3543fddc5bd606cab21bd8280", "build_date" : "2020-07-23T13:07:28.754059Z",
Outlier detection job was created but failed to start due to an invalid configuration. This job was listed in the DFA job management page. Upon selecting "View" this causes an application crash. In this case the destination index was missing.
Upon investigation, the page crash also occurred when destination index contained incorrect mappings and whilst an outlier job was in progress (moving from phase 1 to next phase).
Steps to replicate
kibana_sample_data_flights
Select create
You will see the job failed to start because the field
Carrier
is not a supported data type.Return to the job management page and click "View"
Page will go completely blank. A hard refresh is needed to reload the ML app.
No destination index has been created, however a kibana index pattern does exist.
If using the Wizard to create the job, this would not have been possible so the user is protected from creating the invalid job config, however it is still possible to achieve using the API or JSON editor and causes an application crash, so should be handled.
There are a few additional scenarios to test for that should be handled when viewing results. Check for crashes and that we display useful error message if appropriate.
delete_by_query
- currently handledPUT dest-index
- currently crashesThe text was updated successfully, but these errors were encountered: