Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[ML] log minimum diskspace setting if forecast fails due to insufficient d… #37486

Merged
merged 2 commits into from
Jan 16, 2019
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
improve message
Hendrik Muhs committed Jan 15, 2019

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
commit 183002093d77fd2f2ecfa8dd8f957b4c5ad302d9
Original file line number Diff line number Diff line change
@@ -99,9 +99,9 @@ private void getForecastRequestStats(String jobId, String forecastId, ActionList
if (messages.size() > 0) {
String message = messages.get(0);

// special case: if forecast failed due to insufficient disk space, log the settings
// special case: if forecast failed due to insufficient disk space, log the setting
if (message.contains("disk space is insufficient")) {
message += " Minimum diskspace required: [" + processManager.getMinLocalStorageAvailable() + "]";
message += " Minimum disk space required: [" + processManager.getMinLocalStorageAvailable() + "]";
}

listener.onFailure(ExceptionsHelper.badRequestException("Cannot run forecast: "