你可以的,加油

license更新失败

Elasticsearch | 作者 rece | 发布于2015年12月28日 | 阅读数:8852

环境:OX S 10.11 、 elasticsearch2.1.1 、marvel 
问题描述:启动elasticsearch时提示license有新版本,使用官方教程进行更新:
curl -XPUT -u myName 'http://localhost:9200/_license' -d @license.json

反馈:
Warning: Couldn't read data from file "license.json", this makes an empty 
Warning: POST.
{
"error":{
"root_cause":[{
"type":"parse_exception",
"reason":"Failed to derive xcontent"
}],
"type":"parse_exception",
"reason":"Failed to derive xcontent"
},
"status":400
}
补充一个启动时的warn:
[WARN ][index.translog           ] [Citizen V] [.marvel-es-data][0] failed to delete temp file /Users/myName/Downloads/soft/elasticsearch-2.1.0/data/elasticsearch/nodes/0/indices/.marvel-es-data/0/translog/translog-2920966802654582430.tlog
java.nio.file.NoSuchFileException: /Users/myName/Downloads/soft/elasticsearch-2.1.0/data/elasticsearch/nodes/0/indices/.marvel-es-data/0/translog/translog-2920966802654582430.tlog
本人菜鸟,请不吝赐教。
已邀请:

要回复问题请先登录注册