Machine Learning: Could not create job

hello every one,

In fact i use the X pack 6.2.2 and i can't create any type of job(simple,adv,multi...)
Can someone help me?

Thanks,



NOUR

Hi Nour - can you look into elasticsearch.log file during the time that this error occurs? There's likely more detail there...

Post the relevant section of that log here...

Hi @richcollier,
thanks for your answer,
Well , i check the log file

Communications between the elasticsearch JVM and the autodetect process (which ML runs) is done via named pipes, these pipes are created in /tmp. In the log there is a message that you posted, it mentions that a file in ES_HOME/tmp cannot be read.

This /tmp directory must be readable, if it is mounted with no_exec then autodetect cannot start.

/tmp is the default temporary directory the JVM uses but you can change this with the JVM option:

-Djava.io.tmpdir=/var/data/elasticsearch/tmp

You could try adding that setting to ES_HOME/config/jvm.options without a suitable choice of tmpdir. This will required a restart of elasticsearch

1 Like

Hello,

Finaly, it's work .
thank your @richcollier for the solution.
You helped me a lot .

NOUR.

1 Like

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.