Skip to content

Conversation

@benwtrent
Copy link
Member

@benwtrent benwtrent commented Jan 30, 2019

Adds a reason field to JobTaskState.

This is so while the task stays in cluster state, the cause for a failed state can be gleaned outside of just the logs.

closes #34431

@elasticmachine
Copy link
Collaborator

Pinging @elastic/ml-core

Copy link

@droberts195 droberts195 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

I just noticed a couple of places where a space seems to have been deleted unnecessarily

@benwtrent benwtrent merged commit 9782aaa into elastic:master Jan 30, 2019
@benwtrent benwtrent deleted the feature/ml-add-reason-for-job-failure branch January 30, 2019 17:56
jasontedor added a commit to dnhatn/elasticsearch that referenced this pull request Jan 30, 2019
* master:
  Expose retention leases in shard stats (elastic#37991)
  Make primary terms fields private in index shard (elastic#38036)
  ML: Add reason field in JobTaskState (elastic#38029)
  Log flush_stats and commit_stats in testMaybeFlush
  HLRC: Fix strict setting exception handling (elastic#37247)
  Test: Enable strict deprecation on all tests (elastic#36558)
  Removes typed calls from YAML REST tests (elastic#37611)
  Switch default time format for ingest from Joda to Java for v7 (elastic#37934)
  Remove deprecated Plugin#onModule extension points (elastic#37866)
  Geo: Fix Empty Geometry Collection Handling (elastic#37978)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[ML] Store failure reason in ML job task status

4 participants