Skip to content

Conversation

@droberts195
Copy link

This new parameter will allow the value of the
xpack.ml.min_disk_space_off_heap Elasticsearch setting
to be propagated to the autodetect process. It will
prevent problems where xpack.ml.min_disk_space_off_heap
has been set to a low value but the previous hardcoded
C++ check still prevented forecasting from working.

Relates #1554

This new parameter will allow the value of the
xpack.ml.min_disk_space_off_heap Elasticsearch setting
to be propagated to the autodetect process.  It will
prevent problems where xpack.ml.min_disk_space_off_heap
has been set to a low value but the previous hardcoded
C++ check still prevented forecasting from working.

Relates elastic#1554
@droberts195
Copy link
Author

This is a >non-issue because xpack.ml.min_disk_space_off_heap is intentionally undocumented.

Copy link
Contributor

@edsavage edsavage left a comment

Choose a reason for hiding this comment

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

LGTM

@droberts195 droberts195 merged commit b1f5545 into elastic:master Nov 6, 2020
@droberts195 droberts195 deleted the add_min_disk_space_forecast_param branch November 6, 2020 12:12
droberts195 pushed a commit to droberts195/ml-cpp that referenced this pull request Nov 6, 2020
This new parameter will allow the value of the
xpack.ml.min_disk_space_off_heap Elasticsearch setting
to be propagated to the autodetect process.  It will
prevent problems where xpack.ml.min_disk_space_off_heap
has been set to a low value but the previous hardcoded
C++ check still prevented forecasting from working.

Backport of elastic#1556
droberts195 pushed a commit to droberts195/ml-cpp that referenced this pull request Nov 6, 2020
This new parameter will allow the value of the
xpack.ml.min_disk_space_off_heap Elasticsearch setting
to be propagated to the autodetect process.  It will
prevent problems where xpack.ml.min_disk_space_off_heap
has been set to a low value but the previous hardcoded
C++ check still prevented forecasting from working.

Backport of elastic#1556
droberts195 pushed a commit to droberts195/elasticsearch that referenced this pull request Nov 6, 2020
This change is the Java-side companion to elastic/ml-cpp#1556.
It ensures that customisations to xpack.ml.min_disk_space_off_heap
are reflected in the disk space check done in the C++ code as well
as in the disk space check done in the Java code.  The check done
in the C++ code runs later than the check in the Java code, and
only requires that 80% of the disk space required in the Java code
is available.  (The defaults are 5GB and 4GB.)

Relates elastic/ml-cpp#1556
Closes elastic/ml-cpp#1554
Fixes elastic#58806
droberts195 pushed a commit that referenced this pull request Nov 6, 2020
This new parameter will allow the value of the
xpack.ml.min_disk_space_off_heap Elasticsearch setting
to be propagated to the autodetect process.  It will
prevent problems where xpack.ml.min_disk_space_off_heap
has been set to a low value but the previous hardcoded
C++ check still prevented forecasting from working.

Backport of #1556
droberts195 pushed a commit to elastic/elasticsearch that referenced this pull request Nov 6, 2020
…4720)

This change is the Java-side companion to elastic/ml-cpp#1556.
It ensures that customisations to xpack.ml.min_disk_space_off_heap
are reflected in the disk space check done in the C++ code as well
as in the disk space check done in the Java code.  The check done
in the C++ code runs later than the check in the Java code, and
only requires that 80% of the disk space required in the Java code
is available.  (The defaults are 5GB and 4GB.)

Relates elastic/ml-cpp#1556
Closes elastic/ml-cpp#1554
Fixes #58806
droberts195 pushed a commit to droberts195/elasticsearch that referenced this pull request Nov 6, 2020
This change is the Java-side companion to elastic/ml-cpp#1556.
It ensures that customisations to xpack.ml.min_disk_space_off_heap
are reflected in the disk space check done in the C++ code as well
as in the disk space check done in the Java code.  The check done
in the C++ code runs later than the check in the Java code, and
only requires that 80% of the disk space required in the Java code
is available.  (The defaults are 5GB and 4GB.)

Backport of elastic#64720
droberts195 pushed a commit to elastic/elasticsearch that referenced this pull request Nov 6, 2020
…4733)

This change is the Java-side companion to elastic/ml-cpp#1556.
It ensures that customisations to xpack.ml.min_disk_space_off_heap
are reflected in the disk space check done in the C++ code as well
as in the disk space check done in the Java code.  The check done
in the C++ code runs later than the check in the Java code, and
only requires that 80% of the disk space required in the Java code
is available.  (The defaults are 5GB and 4GB.)

Backport of #64720
droberts195 pushed a commit that referenced this pull request Nov 10, 2020
This new parameter will allow the value of the
xpack.ml.min_disk_space_off_heap Elasticsearch setting
to be propagated to the autodetect process.  It will
prevent problems where xpack.ml.min_disk_space_off_heap
has been set to a low value but the previous hardcoded
C++ check still prevented forecasting from working.

Backport of #1556
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants