Hi Shay,
While restart my ES Cluster any one index get following error for
every time and the ES Cluster health was 'red' , specified Index
shards not initialized, so I could not able to access the index.
"[2011-03-25 22:59:59,925][WARN ][index.gateway.fs ]
[Boneyard] [database12][5]
failed to read commit point [commit-0]
java.lang.ArrayIndexOutOfBoundsException
[2011-03-25 22:59:59,925][WARN ][index.gateway.fs ] [Boneyard]
[database12][5]
failed to read commit point [commit-1]
java.io.IOException: No commit point data
at
org.elasticsearch.index.gateway.CommitPoints.fromXContent(CommitPoint
s.java:127)
at
org.elasticsearch.index.gateway.blobstore.BlobStoreIndexShardGateway.
recover(BlobStoreIndexShardGateway.java:372)
at org.elasticsearch.index.gateway.IndexShardGatewayService
$1.run(IndexS
hardGatewayService.java:144)
at java.util.concurrent.ThreadPoolExecutor
$Worker.runTask(ThreadPoolExec
utor.java:886)
at java.util.concurrent.ThreadPoolExecutor
$Worker.run(ThreadPoolExecutor
.java:908)
at java.lang.Thread.run(Thread.java:619)
[2011-03-25 22:59:59,925][WARN ][indices.cluster ] [Boneyard]
[database12][5]
failed to start shard
org.elasticsearch.index.gateway.IndexShardGatewayRecoveryException:
[database12][5] Co
mmit points exists but none could be loaded
at
org.elasticsearch.index.gateway.blobstore.BlobStoreIndexShardGateway.
recover(BlobStoreIndexShardGateway.java:380)
at org.elasticsearch.index.gateway.IndexShardGatewayService
$1.run(IndexS
hardGatewayService.java:144)
at java.util.concurrent.ThreadPoolExecutor
$Worker.runTask(ThreadPoolExec
utor.java:886)
at java.util.concurrent.ThreadPoolExecutor
$Worker.run(ThreadPoolExecutor
.java:908)
at java.lang.Thread.run(Thread.java:619)"
Every restart I have loss any one index in the ES cluster, so please
advice me to avoid this type of errors
Below I mentioned MY ES Cluster & Index details
ES Cluster - 3 Data Node and 1 No data Node
index:
number_of_shards : 6
number_of_replicas : 1
YML Setting
network :
host : 10.67.85.4
gateway:
type: fs
fs:
location: \dataserver\ElasticSearchGateway
indices:
memory:
index_buffer_size : 20%
index:
gateway:
snapshot_on_close: false
cluster:
name: threenode
http:
enabled: false
index:
number_of_shards : 6
number_of_replicas : 1
bootstrap:
mlockall : true"
Kindly do the needful
Thanks,
Katrinaa