Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[ML] Correct ML exceptions to use RestStatus (#102781)
* added exception status for JobResultsProvider * InferenceRunner - Throw statusException if a statusException is caught * TransportDeleteForecastAction - throw if caught status exception * ExpiredForecastsRemover - replaced failed search with status exception; added throw if status exception * ExpiredResultsRemover - throw if statusException * ExpiredModelSnapshotsRemover replaced exception with too many requests * ExpiredAnnotationsRemover too many requests * ProcessContext changed to statusException with too many requests for tryLock failure * ChunkedTrainedModelRestorer - Changed to status exception with too many requests * updating exceptions to have status codes in ml code for handling action failures * add status ioException in MachineLearning.java * changed exceptions caused by incomplete upgrades to include status RequestTimeout(408) * updated handling of exception collections * Added too_many_requests for ElasticsearchMappings * Added Request_Timeout status for failed datafeed job cleanup in TransportPutJobAction * Added RequstTimeout status for failed query parsing in DataFrameAnalyticsSource * Added InternalServerError status for negative pipeline count in GetTrainedMdoelStatsAction * removed assertion in ExceptionCollectionHandling
- Loading branch information
1 parent
e173b2e
commit 4c2f23f
Showing
22 changed files
with
252 additions
and
66 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.