在 Mapping 里面,将 dynamic 参数设置成 strict 可以拒绝索引包含未知字段的文档。 此条 Tips 由 medcl 贡献。

新人求教,ES节点修改配置后启动失败,提示FileNotFoundException[\\.\pipe\controller_log_XXXX ]

Elasticsearch | 作者 way31415926 | 发布于2017年08月08日 | 阅读数:4953

具体日志如下:
2017-08-08 11:30:09 Commons Daemon procrun stderr initialized
Exception in thread "main" ed to create native process factories for Machine Learning]; nested: FileNotFoundException[\\.\pipe\controller_log_5676 (系统找不到指定的文件。)];
Likely root cause: java.io.FileNotFoundException: \\.\pipe\controller_log_5676 (系统找不到指定的文件。)
    at java.io.FileInputStream.open0(Native Method)
    at java.io.FileInputStream.open(FileInputStream.java:195)
    at java.io.FileInputStream.<init>(FileInputStream.java:138)
    at java.io.FileInputStream.<init>(FileInputStream.java:93)
    at org.elasticsearch.xpack.ml.utils.NamedPipeHelper$PrivilegedInputPipeOpener.run(NamedPipeHelper.java:297)
    at org.elasticsearch.xpack.ml.utils.NamedPipeHelper$PrivilegedInputPipeOpener.run(NamedPipeHelper.java:286)
    at java.security.AccessController.doPrivileged(Native Method)
    at org.elasticsearch.xpack.ml.utils.NamedPipeHelper.openNamedPipeInputStream(NamedPipeHelper.java:139)
    at org.elasticsearch.xpack.ml.utils.NamedPipeHelper.openNamedPipeInputStream(NamedPipeHelper.java:106)
    at org.elasticsearch.xpack.ml.job.process.ProcessPipes.connectStreams(ProcessPipes.java:140)
    at org.elasticsearch.xpack.ml.job.process.NativeController.<init>(NativeController.java:67)
    at org.elasticsearch.xpack.ml.job.process.NativeControllerHolder.getNativeController(NativeControllerHolder.java:50)
    at org.elasticsearch.xpack.ml.MachineLearning.createComponents(MachineLearning.java:279)
    at org.elasticsearch.xpack.XPackPlugin.createComponents(XPackPlugin.java:288)
    at org.elasticsearch.node.Node.lambda$new$7(Node.java:411)
    at java.util.stream.ReferencePipeline$7$1.accept(ReferencePipeline.java:267)
    at java.util.ArrayList$ArrayListSpliterator.forEachRemaining(ArrayList.java:1374)
    at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:481)
    at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:471)
    at java.util.stream.ReduceOps$ReduceOp.evaluateSequential(ReduceOps.java:708)
    at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
    at java.util.stream.ReferencePipeline.collect(ReferencePipeline.java:499)
    at org.elasticsearch.node.Node.<init>(Node.java:413)
    at org.elasticsearch.node.Node.<init>(Node.java:244)
    at org.elasticsearch.bootstrap.Bootstrap$5.<init>(Bootstrap.java:232)
    at org.elasticsearch.bootstrap.Bootstrap.setup(Bootstrap.java:232)
    at org.elasticsearch.bootstrap.Bootstrap.init(Bootstrap.java:351)
    at org.elasticsearch.bootstrap.Elasticsearch.init(Elasticsearch.java:123)
    at org.elasticsearch.bootstrap.Elasticsearch.execute(Elasticsearch.java:114)
    at org.elasticsearch.cli.EnvironmentAwareCommand.execute(EnvironmentAwareCommand.java:67)
    <<<truncated>>>
Refer to the log for complete error details.
 
目录下没有相关路径
已邀请:

zqc0512 - andy zhou

赞同来自:

文件不存在,或者权限不对,你用的机器学习啊,不建议在生产环境部署 Machine Learning

要回复问题请先登录注册