Machine Learning adds custom fields the the Elasticsearch metadata. From the stack trace I can see that ML has added its custom fields and so must have been enabled at some point. X-Pack knows how to parse the metadata and should be installed on every node. The X-Pack features don't have to be enabled but you must install X-Pack on every node in your cluster.