WARNING: Version 5.4 of the Elastic Stack has passed its EOL date.
This documentation is no longer being maintained and may be removed. If you are running this version, we strongly advise you to upgrade. For the latest information, see the current release documentation.
X-Pack machine learning Troubleshooting
editX-Pack machine learning Troubleshooting
editUse the information in this section to troubleshoot common problems and find answers for frequently asked questions.
To get help, see Getting Help.
Machine learning features unavailable after rolling upgrade
editThis problem occurs after you upgrade all of the nodes in your cluster to
5.4.3 by using rolling upgrades. When you try to use X-Pack machine learning features for
the first time, all attempts fail, though GET _xpack
and GET _xpack/usage
indicate that X-Pack is enabled.
Symptoms:
-
Errors when you click Machine Learning in Kibana.
For example:
Jobs list could not be created
andAn internal server error occurred
. -
Null pointer and remote transport exceptions when you run machine learning APIs such as
GET _xpack/ml/anomaly_detectors
andGET _xpack/ml/datafeeds
. -
Errors in the log files on the master nodes.
For example:
unable to install ml metadata upon startup
Resolution:
After you upgrade all master-eligible nodes to Elasticsearch 5.4.3 and X-Pack 5.4.3, restart the current master node, which triggers the X-Pack machine learning features to re-initialize.
For more information, see Rolling upgrades.