# org.elasticsearch.cluster.block.ClusterBlockException: blocked by: \[SERVICE\_UNAVAILABLE/1/state not recovered / initialized, SERVICE\_UNAVAILABLE/2/no master\];

**URL:** https://discuss.elastic.co/t/org-elasticsearch-cluster-block-clusterblockexception-blocked-by-service-unavailable-1-state-not-recovered-initialized-service-unavailable-2-no-master/225114
**Category:** Elasticsearch
**Created:** [March 26, 2020, 5:17am UTC](https://discuss.elastic.co/t/org-elasticsearch-cluster-block-clusterblockexception-blocked-by-service-unavailable-1-state-not-recovered-initialized-service-unavailable-2-no-master/225114 "2020-03-26T05:17:45Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![StruggleYang](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/struggleyang/32/57040_2.png) [@StruggleYang](https://discuss.elastic.co/u/StruggleYang)
#### Post date: [March 26, 2020, 5:17am UTC](https://discuss.elastic.co/t/org-elasticsearch-cluster-block-clusterblockexception-blocked-by-service-unavailable-1-state-not-recovered-initialized-service-unavailable-2-no-master/225114/1 "2020-03-26T05:17:45Z")

</div>

```auto
  [2020-03-26 13:16:25.897] [WARN] [elasticsearch[es-node1-master][generic][T#288]] [rest.suppressed] - [es-node1-master] path: /_bulk, params: {}
org.elasticsearch.cluster.block.ClusterBlockException: blocked by: [SERVICE_UNAVAILABLE/1/state not recovered / initialized, SERVICE_UNAVAILABLE/2/no master];
	at org.elasticsearch.cluster.block.ClusterBlocks.globalBlockedException(ClusterBlocks.java:189) ~[elasticsearch-7.2.0.jar:7.2.0]
	at org.elasticsearch.action.bulk.TransportBulkAction$BulkOperation.handleBlockExceptions(TransportBulkAction.java:473) [elasticsearch-7.2.0.jar:7.2.0]
	at org.elasticsearch.action.bulk.TransportBulkAction$BulkOperation.doRun(TransportBulkAction.java:354) [elasticsearch-7.2.0.jar:7.2.0]
	at org.elasticsearch.common.util.concurrent.AbstractRunnable.run(AbstractRunnable.java:37) [elasticsearch-7.2.0.jar:7.2.0]
	at org.elasticsearch.action.bulk.TransportBulkAction$BulkOperation$2.onTimeout(TransportBulkAction.java:507) [elasticsearch-7.2.0.jar:7.2.0]
	at org.elasticsearch.cluster.ClusterStateObserver$ContextPreservingListener.onTimeout(ClusterStateObserver.java:325) [elasticsearch-7.2.0.jar:7.2.0]
	at org.elasticsearch.cluster.ClusterStateObserver$ObserverClusterStateListener.onTimeout(ClusterStateObserver.java:252) [elasticsearch-7.2.0.jar:7.2.0]
	at org.elasticsearch.cluster.service.ClusterApplierService$NotifyTimeout.run(ClusterApplierService.java:572) [elasticsearch-7.2.0.jar:7.2.0]
	at org.elasticsearch.common.util.concurrent.ThreadContext$ContextPreservingRunnable.run(ThreadContext.java:688) [elasticsearch-7.2.0.jar:7.2.0]
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) [?:?]
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) [?:?]
	at java.lang.Thread.run(Thread.java:835) [?:?]
	Suppressed: org.elasticsearch.discovery.MasterNotDiscoveredException
		at org.elasticsearch.action.support.master.TransportMasterNodeAction$AsyncSingleAction$3.onTimeout(TransportMasterNodeAction.java:251) ~[elasticsearch-7.2.0.jar:7.2.0]
		at org.elasticsearch.cluster.ClusterStateObserver$ContextPreservingListener.onTimeout(ClusterStateObserver.java:325) [elasticsearch-7.2.0.jar:7.2.0]
		at org.elasticsearch.cluster.ClusterStateObserver$ObserverClusterStateListener.onTimeout(ClusterStateObserver.java:252) [elasticsearch-7.2.0.jar:7.2.0]
		at org.elasticsearch.cluster.service.ClusterApplierService$NotifyTimeout.run(ClusterApplierService.java:572) [elasticsearch-7.2.0.jar:7.2.0]
		at org.elasticsearch.common.util.concurrent.ThreadContext$ContextPreservingRunnable.run(ThreadContext.java:688) [elasticsearch-7.2.0.jar:7.2.0]
		at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) [?:?]
		at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) [?:?]
		at java.lang.Thread.run(Thread.java:835) [?:?]

```

---

<div class="post-metadata">

### Author: ![StruggleYang](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/struggleyang/32/57040_2.png) [@StruggleYang](https://discuss.elastic.co/u/StruggleYang)
#### Post date: [March 26, 2020, 5:18am UTC](https://discuss.elastic.co/t/org-elasticsearch-cluster-block-clusterblockexception-blocked-by-service-unavailable-1-state-not-recovered-initialized-service-unavailable-2-no-master/225114/2 "2020-03-26T05:18:48Z")

</div>

I should how to restore

---

<div class="post-metadata">

### Author: ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)
#### Post date: [March 30, 2020, 12:03am UTC](https://discuss.elastic.co/t/org-elasticsearch-cluster-block-clusterblockexception-blocked-by-service-unavailable-1-state-not-recovered-initialized-service-unavailable-2-no-master/225114/3 "2020-03-30T00:03:36Z")

</div>

It's not clear what you are asking here, can you try rephrasing your question?

If your english is not the best then we do have other language forums here - [https://discuss.elastic.co/c/in-your-native-tongue/11](https://discuss.elastic.co/c/in-your-native-tongue/11)

---

<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: [April 27, 2020, 12:08am UTC](https://discuss.elastic.co/t/org-elasticsearch-cluster-block-clusterblockexception-blocked-by-service-unavailable-1-state-not-recovered-initialized-service-unavailable-2-no-master/225114/4 "2020-04-27T00:08:28Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
