NoSuchFieldError[INSTANCE] while elasticsearch backup


(Niraj Kumar) #1

Hi All,

I am using elasticsearch version 1.5 with cloud-aws plugin 2.5.1 which is the compatible plugin for the same. But when i try to backup the complete cluster. I somehow get errors backing up. Below are the snapshot for the failure.

,
"logstash-2015.08.25": {
"shards_stats": {
"initializing": 0,
"started": 0,
"finalizing": 0,
"done": 0,
"failed": 5,
"total": 5
},
"stats": {
"number_of_files": 0,
"processed_files": 0,
"total_size_in_bytes": 0,
"processed_size_in_bytes": 0,
"start_time_in_millis": 0,
"time_in_millis": 0
},
"shards": {
"0": {
"stage": "FAILURE",
"stats": {
"number_of_files": 0,
"processed_files": 0,
"total_size_in_bytes": 0,
"processed_size_in_bytes": 0,
"start_time_in_millis": 0,
"time_in_millis": 0
},
"reason": "IndexShardSnapshotFailedException[[logstash-2015.08.25][0] INSTANCE]; nested: NoSuchFieldError[INSTANCE]; "
},
"1": {
"stage": "FAILURE",
"stats": {
"number_of_files": 0,
"processed_files": 0,
"total_size_in_bytes": 0,
"processed_size_in_bytes": 0,
"start_time_in_millis": 0,
"time_in_millis": 0
},
"reason": "IndexShardSnapshotFailedException[[logstash-2015.08.25][1] INSTANCE]; nested: NoSuchFieldError[INSTANCE]; "
},

Please help me out!!!!

Regards
Niraj


(David Pilato) #2

Which exact command you ran?

BTW please don't open issues in github and a thread here.
Prefer always discuss.elastic.co first unless you pretty sure it's a bug.


(Niraj Kumar) #3

Below is my elasticsearch.yml file

action:
disable_delete_all_indices: true
bootstrap:
mlockall: true
cloud:
aws:
access_key: xxxxxxxxxxxxx
secret_key: xxxxxxxxxxxxxxx
cluster:
name: elasticsearch
discovery:
zen:
minimum_master_nodes: 2
ping:
multicast:
enabled: false
unicast:
hosts:

  • xxxxxxxx:9300
  • xxxxxxxx:9300
  • xxxxxxxx:9300
    gateway:
    expected_nodes: 3
    recover_after_nodes: 2
    recover_after_time: 2m
    index:
    indexing:
    slowlog:
    threshold:
    index:
    warn: 10s
    merge:
    scheduler:
    max_thread_count: 1
    refresh_interval: 30s
    search:
    slowlog:
    threshold:
    query:
    warn: 10s
    translog:
    flush_threshold_size: 500mb
    indices:
    breaker:
    fielddata:
    limit: 60%
    request:
    limit: 40%
    total:
    limit: 70%
    cache:
    filter:
    size: 15%
    fielddata:
    cache:
    size: 20%
    memory:
    index_buffer_size: 20%
    min_index_buffer_size: 96mb
    min_shard_index_buffer_size: 12mb
    node:
    name: prod-01-data03-prod-01-data03
    path:
    data: /opt/elasticsearch/data/prod-01-data03
    script:
    disable_dynamic: true

Yeh i have marvel and watcher installed.


(system) #4