# ES Cluster Restart Issue

**URL:** <https://discuss.elastic.co/t/es-cluster-restart-issue/4160>\
**Category:** Elasticsearch\
**Created:** [March 26, 2011, 10:01am UTC](https://discuss.elastic.co/t/es-cluster-restart-issue/4160 "2011-03-26T10:01:12Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Katrina\_K](https://avatars.discourse-cdn.com/v4/letter/k/f6c823/32.png) [@Katrina\_K](https://discuss.elastic.co/u/Katrina_K)\
**Post date:** [March 26, 2011, 10:01am UTC](https://discuss.elastic.co/t/es-cluster-restart-issue/4160/1 "2011-03-26T10:01:12Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![Clinton\_Gormley](https://avatars.discourse-cdn.com/v4/letter/c/50afbb/32.png) [@Clinton\_Gormley](https://discuss.elastic.co/u/Clinton_Gormley)\
**Post date:** [March 26, 2011, 10:18am UTC](https://discuss.elastic.co/t/es-cluster-restart-issue/4160/2 "2011-03-26T10:18:29Z")

</div>

Hiya

> 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.

A few questions:

- how are you running and restarting ES?
- what version of ES are you using (because the restart API has  
been disabled in recent versions)
- was your cluster 'green' before you restarted?
- why are you using a shared gateway instead of the default  
local gateway?

ta

clint

---

<div class="post-metadata">

**Author:** ![Katrina\_K](https://avatars.discourse-cdn.com/v4/letter/k/f6c823/32.png) [@Katrina\_K](https://discuss.elastic.co/u/Katrina_K)\
**Post date:** [March 26, 2011, 10:37am UTC](https://discuss.elastic.co/t/es-cluster-restart-issue/4160/3 "2011-03-26T10:37:34Z")

</div>

Hi Clint,

Thanks for the Questions.

1. ES Running in DOS Mode and restart using Ctrl+C
2. Version No - 15.2
3. Yes - Cluster health was 'Green'
4. Gateway pointed to NAS, so I am using Network path

Thanks,

Katrinaa.

On Mar 26, 3:18 pm, Clinton Gormley [clin...@iannounce.co.uk](mailto:clin...@iannounce.co.uk) wrote:

> Hiya
> 
> > 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.
> 
> A few questions:
> 
> - how are you running and restarting ES?
> - what version of ES are you using (because the restart API has  
> been disabled in recent versions)
> - was your cluster 'green' before you restarted?
> - why are you using a shared gateway instead of the default  
> local gateway?
> 
> ta
> 
> clint

---

<div class="post-metadata">

**Author:** ![kimchy](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/kimchy/32/44952_2.png) [@kimchy](https://discuss.elastic.co/u/kimchy)\
**Post date:** [March 26, 2011, 4:48pm UTC](https://discuss.elastic.co/t/es-cluster-restart-issue/4160/4 "2011-03-26T16:48:02Z")

</div>

You should see in the logging failures to load commit points. Can you _gist_ those? (don't paste it into mails).  
On Saturday, March 26, 2011 at 12:37 PM, Katrina K wrote:

> Hi Clint,
> 
> Thanks for the Questions.
> 
> 1. ES Running in DOS Mode and restart using Ctrl+C
> 2. Version No - 15.2
> 3. Yes - Cluster health was 'Green'
> 4. Gateway pointed to NAS, so I am using Network path
> 
> Thanks,
> 
> Katrinaa.
> 
> On Mar 26, 3:18 pm, Clinton Gormley [clin...@iannounce.co.uk](mailto:clin...@iannounce.co.uk) wrote:
> 
> > Hiya
> > 
> > > 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.
> > 
> > A few questions:
> > 
> > - how are you running and restarting ES?
> > - what version of ES are you using (because the restart API has  
> > been disabled in recent versions)
> > - was your cluster 'green' before you restarted?
> > - why are you using a shared gateway instead of the default  
> > local gateway?
> > 
> > ta
> > 
> > clint

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [July 6, 2017, 4:09am UTC](https://discuss.elastic.co/t/es-cluster-restart-issue/4160/5 "2017-07-06T04:09:12Z")

</div>

Closed on July 6, 2017, 4:09am UTC


