在3个节点中的一个节点上找不到groovy脚本文件。一个文件中的elasticsearch groovy脚本 [英] can't find groovy script file on one out of 3 nodes. elasticsearch groovy script in a file

查看:125
本文介绍了在3个节点中的一个节点上找不到groovy脚本文件。一个文件中的elasticsearch groovy脚本的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我从集群中的3个节点中的2个获得响应。

I'm getting responses from 2 out of 3 nodes in the cluster.

在弹性搜索查询中使用groovy脚本*文件* groovy脚本文件位置

在第三个节点上没有找到该文件,但它位于所有具有相同名称和权限的节点上。

The file isn't being found on the 3rd node, but it's on all nodes with same name and permissions!

节点名为demo01 - 03。

Nodes are named demo01 - 03.

这里有一些日志输出:

demo03:
    [2015-06-18 05:52:21,739][INFO ][script                   ] [demo03] removing script file [/etc/elasticsearch/scripts/source_types.groovy]
    [2015-06-18 06:40:16,764][INFO ][script                   ] [demo03] compiling script file [/etc/elasticsearch/scripts/source_types.groovy]
    [2015-06-18 06:40:41,771][INFO ][script                   ] [demo03] compiling script file [/etc/elasticsearch/scripts/source_types.groovy]
    [2015-06-18 06:41:06,779][INFO ][script                   ] [demo03] compiling script file [/etc/elasticsearch/scripts/source_types.groovy]
    [2015-06-18 06:44:26,788][INFO ][script                   ] [demo03] removing script file [/etc/elasticsearch/scripts/source_types.groovy~]
    [2015-06-18 06:47:21,789][INFO ][script                   ] [demo03] compiling script file [/etc/elasticsearch/scripts/source_types.groovy]
    [2015-06-18 06:47:21,798][WARN ][script                   ] [demo03] no script engine found for [groovy~]
    [2015-06-18 06:49:51,799][INFO ][script                   ] [demo03] removing script file [/etc/elasticsearch/scripts/source_types.groovy~]
demo02:
    [2015-06-18 05:52:18,078][INFO ][script                   ] [demo02] removing script file [/etc/elasticsearch/scripts/source_types.groovy]
    [2015-06-18 06:41:03,098][INFO ][script                   ] [demo02] compiling script file [/etc/elasticsearch/scripts/source_types.groovy]
    [2015-06-18 06:46:28,109][INFO ][script                   ] [demo02] compiling script file [/etc/elasticsearch/scripts/source_types.groovy]


推荐答案

我删除了文件并重新创建了它,现在搜索工作。我不知道根本原因。

I deleted the file and recreated it, and the search works now. I don't know the root cause.

这篇关于在3个节点中的一个节点上找不到groovy脚本文件。一个文件中的elasticsearch groovy脚本的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆