# Can't create index

**URL:** <https://discuss.elastic.co/t/cant-create-index/10610>\
**Category:** Elasticsearch\
**Created:** [February 4, 2013, 12:30am UTC](https://discuss.elastic.co/t/cant-create-index/10610 "2013-02-04T00:30:37Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![Dong\_Aihua](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dong_aihua/32/2413_2.png) [@Dong\_Aihua](https://discuss.elastic.co/u/Dong_Aihua)\
**Post date:** [February 4, 2013, 12:30am UTC](https://discuss.elastic.co/t/cant-create-index/10610/1 "2013-02-04T00:30:37Z")

</div>

Hi, guys:  
These days we met a very strange thing. We can't create index in the  
cluster. Once we inserted a simple doc, the cluster will become red and new  
created index are showed unassigned.  
Does anyone know how to resolve this problem?  
Thank you very much!

-Regards-  
-Jackie-

--  
You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

---

<div class="post-metadata">

**Author:** ![mvg](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/mvg/32/98890_2.png) [@mvg](https://discuss.elastic.co/u/mvg)\
**Post date:** [February 4, 2013, 8:28am UTC](https://discuss.elastic.co/t/cant-create-index/10610/2 "2013-02-04T08:28:15Z")

</div>

Hi,

When create an index or insert that simple doc what do you see in your  
logs? What ES version are you using?

martijn

On 4 February 2013 01:30, jackiedong [jackiedong168@gmail.com](mailto:jackiedong168@gmail.com) wrote:

> Hi, guys:  
> These days we met a very strange thing. We can't create index in the  
> cluster. Once we inserted a simple doc, the cluster will become red and new  
> created index are showed unassigned.  
> Does anyone know how to resolve this problem?  
> Thank you very much!
> 
> -Regards-  
> -Jackie-
> 
> --  
> You received this message because you are subscribed to the Google Groups  
> "elasticsearch" group.  
> To unsubscribe from this group and stop receiving emails from it, send an  
> email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
> For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

--  
Met vriendelijke groet,

Martijn van Groningen

--  
You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

---

<div class="post-metadata">

**Author:** ![Dong\_Aihua](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dong_aihua/32/2413_2.png) [@Dong\_Aihua](https://discuss.elastic.co/u/Dong_Aihua)\
**Post date:** [February 4, 2013, 3:10pm UTC](https://discuss.elastic.co/t/cant-create-index/10610/3 "2013-02-04T15:10:09Z")

</div>

Hi, Martijn:  
There is no special log when inserting the simple doc.  
The ES version is 0.20.4.  
And through status api, I found some logs like:  
failures:  
[ { index: 'w235',  
shard: 9,  
reason: 'BroadcastShardOperationFailedException[[w235][9] ]; nested:  
RemoteTransportException[Failed to deserialize exception response from  
stream]; nested: TransportSerializationException[Failed to deserialize  
exception response from stream]; nested:  
StreamCorruptedException[unexpected end of block data]; ' },  
{ index: 'w235',  
shard: 16,  
reason: 'BroadcastShardOperationFailedException[[w235][16] ];  
nested: RemoteTransportException[Failed to deserialize exception response  
from stream]; nested: TransportSerializationException[Failed to deserialize  
exception response from stream]; nested:  
StreamCorruptedException[unexpected end of block data]; ' } ],  
failed: 2 }

在 2013年2月4日星期一UTC+8下午4时28分15秒，Martijn v Groningen写道：

> Hi,
> 
> When create an index or insert that simple doc what do you see in your  
> logs? What ES version are you using?
> 
> martijn
> 
> On 4 February 2013 01:30, jackiedong \<[jackie...@gmail.com](mailto:jackie...@gmail.com) \<javascript:\>\>wrote:
> 
> > Hi, guys:  
> > These days we met a very strange thing. We can't create index in the  
> > cluster. Once we inserted a simple doc, the cluster will become red and new  
> > created index are showed unassigned.  
> > Does anyone know how to resolve this problem?  
> > Thank you very much!
> > 
> > -Regards-  
> > -Jackie-
> > 
> > --  
> > You received this message because you are subscribed to the Google Groups  
> > "elasticsearch" group.  
> > To unsubscribe from this group and stop receiving emails from it, send an  
> > email to [elasticsearc...@googlegroups.com](mailto:elasticsearc...@googlegroups.com) \<javascript:\>.  
> > For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).
> 
> --  
> Met vriendelijke groet,
> 
> Martijn van Groningen

--  
You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

---

<div class="post-metadata">

**Author:** ![mvg](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/mvg/32/98890_2.png) [@mvg](https://discuss.elastic.co/u/mvg)\
**Post date:** [February 4, 2013, 3:13pm UTC](https://discuss.elastic.co/t/cant-create-index/10610/4 "2013-02-04T15:13:57Z")

</div>

Can you show how you execute that index request with that simple json  
document?

On 4 February 2013 16:10, jackiedong [jackiedong168@gmail.com](mailto:jackiedong168@gmail.com) wrote:

> Hi, Martijn:  
> There is no special log when inserting the simple doc.  
> The ES version is 0.20.4.  
> And through status api, I found some logs like:  
> failures:  
> [ { index: 'w235',  
> shard: 9,  
> reason: 'BroadcastShardOperationFailedException[[w235][9] ];  
> nested: RemoteTransportException[Failed to deserialize exception response  
> from stream]; nested: TransportSerializationException[Failed to deserialize  
> exception response from stream]; nested:  
> StreamCorruptedException[unexpected end of block data]; ' },  
> { index: 'w235',  
> shard: 16,  
> reason: 'BroadcastShardOperationFailedException[[w235][16] ];  
> nested: RemoteTransportException[Failed to deserialize exception response  
> from stream]; nested: TransportSerializationException[Failed to deserialize  
> exception response from stream]; nested:  
> StreamCorruptedException[unexpected end of block data]; ' } ],  
> failed: 2 }
> 
> 在 2013年2月4日星期一UTC+8下午4时28分15秒，Martijn v Groningen写道：
> 
> > Hi,
> > 
> > When create an index or insert that simple doc what do you see in your  
> > logs? What ES version are you using?
> > 
> > martijn
> > 
> > On 4 February 2013 01:30, jackiedong [jackie...@gmail.com](mailto:jackie...@gmail.com) wrote:
> > 
> > > Hi, guys:  
> > > These days we met a very strange thing. We can't create index in the  
> > > cluster. Once we inserted a simple doc, the cluster will become red and new  
> > > created index are showed unassigned.  
> > > Does anyone know how to resolve this problem?  
> > > Thank you very much!
> > > 
> > > -Regards-  
> > > -Jackie-
> > > 
> > > --  
> > > You received this message because you are subscribed to the Google  
> > > Groups "elasticsearch" group.  
> > > To unsubscribe from this group and stop receiving emails from it, send  
> > > an email to elasticsearc...@\*\*[googlegroups.com](http://googlegroups.com).
> > > 
> > > For more options, visit [https://groups.google.com/\*\*groups/opt\_out](https://groups.google.com/**groups/opt_out)[https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out)  
> > > .
> > 
> > --  
> > Met vriendelijke groet,
> > 
> > Martijn van Groningen

--  
Met vriendelijke groet,

Martijn van Groningen

--  
You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

---

<div class="post-metadata">

**Author:** ![Dong\_Aihua](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dong_aihua/32/2413_2.png) [@Dong\_Aihua](https://discuss.elastic.co/u/Dong_Aihua)\
**Post date:** [February 5, 2013, 2:26am UTC](https://discuss.elastic.co/t/cant-create-index/10610/5 "2013-02-05T02:26:34Z")

</div>

curl -XPOST localhost:9200/w235/type -d '{"test":"test"}'

在 2013年2月4日星期一UTC+8下午11时13分57秒，Martijn v Groningen写道：

> Can you show how you execute that index request with that simple json  
> document?
> 
> On 4 February 2013 16:10, jackiedong \<[jackie...@gmail.com](mailto:jackie...@gmail.com) \<javascript:\>\>wrote:
> 
> > Hi, Martijn:  
> > There is no special log when inserting the simple doc.  
> > The ES version is 0.20.4.  
> > And through status api, I found some logs like:  
> > failures:  
> > [ { index: 'w235',  
> > shard: 9,  
> > reason: 'BroadcastShardOperationFailedException[[w235][9] ];  
> > nested: RemoteTransportException[Failed to deserialize exception response  
> > from stream]; nested: TransportSerializationException[Failed to deserialize  
> > exception response from stream]; nested:  
> > StreamCorruptedException[unexpected end of block data]; ' },  
> > { index: 'w235',  
> > shard: 16,  
> > reason: 'BroadcastShardOperationFailedException[[w235][16] ];  
> > nested: RemoteTransportException[Failed to deserialize exception response  
> > from stream]; nested: TransportSerializationException[Failed to deserialize  
> > exception response from stream]; nested:  
> > StreamCorruptedException[unexpected end of block data]; ' } ],  
> > failed: 2 }
> > 
> > 在 2013年2月4日星期一UTC+8下午4时28分15秒，Martijn v Groningen写道：
> > 
> > > Hi,
> > > 
> > > When create an index or insert that simple doc what do you see in your  
> > > logs? What ES version are you using?
> > > 
> > > martijn
> > > 
> > > On 4 February 2013 01:30, jackiedong [jackie...@gmail.com](mailto:jackie...@gmail.com) wrote:
> > > 
> > > > Hi, guys:  
> > > > These days we met a very strange thing. We can't create index in the  
> > > > cluster. Once we inserted a simple doc, the cluster will become red and new  
> > > > created index are showed unassigned.  
> > > > Does anyone know how to resolve this problem?  
> > > > Thank you very much!
> > > > 
> > > > -Regards-  
> > > > -Jackie-
> > > > 
> > > > --  
> > > > You received this message because you are subscribed to the Google  
> > > > Groups "elasticsearch" group.  
> > > > To unsubscribe from this group and stop receiving emails from it, send  
> > > > an email to elasticsearc...@\*\*[googlegroups.com](http://googlegroups.com).
> > > > 
> > > > For more options, visit [https://groups.google.com/\*\*groups/opt\_out](https://groups.google.com/**groups/opt_out)[https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out)  
> > > > .
> > > 
> > > --  
> > > Met vriendelijke groet,
> > > 
> > > Martijn van Groningen
> 
> --  
> Met vriendelijke groet,
> 
> Martijn van Groningen

--  
You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

---

<div class="post-metadata">

**Author:** ![Dong\_Aihua](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dong_aihua/32/2413_2.png) [@Dong\_Aihua](https://discuss.elastic.co/u/Dong_Aihua)\
**Post date:** [February 5, 2013, 2:53am UTC](https://discuss.elastic.co/t/cant-create-index/10610/6 "2013-02-05T02:53:38Z")

</div>

By the way, it won't become failure for every index. For some indices, they  
can be created successfully. But for some inices, it will show as  
unassigned shards and make the cluster become to red.

在 2013年2月5日星期二UTC+8上午10时26分34秒，jackiedong写道：

> curl -XPOST localhost:9200/w235/type -d '{"test":"test"}'
> 
> 在 2013年2月4日星期一UTC+8下午11时13分57秒，Martijn v Groningen写道：
> 
> > Can you show how you execute that index request with that simple json  
> > document?
> > 
> > On 4 February 2013 16:10, jackiedong [jackie...@gmail.com](mailto:jackie...@gmail.com) wrote:
> > 
> > > Hi, Martijn:  
> > > There is no special log when inserting the simple doc.  
> > > The ES version is 0.20.4.  
> > > And through status api, I found some logs like:  
> > > failures:  
> > > [ { index: 'w235',  
> > > shard: 9,  
> > > reason: 'BroadcastShardOperationFailedException[[w235][9] ];  
> > > nested: RemoteTransportException[Failed to deserialize exception response  
> > > from stream]; nested: TransportSerializationException[Failed to deserialize  
> > > exception response from stream]; nested:  
> > > StreamCorruptedException[unexpected end of block data]; ' },  
> > > { index: 'w235',  
> > > shard: 16,  
> > > reason: 'BroadcastShardOperationFailedException[[w235][16] ];  
> > > nested: RemoteTransportException[Failed to deserialize exception response  
> > > from stream]; nested: TransportSerializationException[Failed to deserialize  
> > > exception response from stream]; nested:  
> > > StreamCorruptedException[unexpected end of block data]; ' } ],  
> > > failed: 2 }
> > > 
> > > 在 2013年2月4日星期一UTC+8下午4时28分15秒，Martijn v Groningen写道：
> > > 
> > > > Hi,
> > > > 
> > > > When create an index or insert that simple doc what do you see in your  
> > > > logs? What ES version are you using?
> > > > 
> > > > martijn
> > > > 
> > > > On 4 February 2013 01:30, jackiedong [jackie...@gmail.com](mailto:jackie...@gmail.com) wrote:
> > > > 
> > > > > Hi, guys:  
> > > > > These days we met a very strange thing. We can't create index in the  
> > > > > cluster. Once we inserted a simple doc, the cluster will become red and new  
> > > > > created index are showed unassigned.  
> > > > > Does anyone know how to resolve this problem?  
> > > > > Thank you very much!
> > > > > 
> > > > > -Regards-  
> > > > > -Jackie-
> > > > > 
> > > > > --  
> > > > > You received this message because you are subscribed to the Google  
> > > > > Groups "elasticsearch" group.  
> > > > > To unsubscribe from this group and stop receiving emails from it, send  
> > > > > an email to elasticsearc...@\*\*[googlegroups.com](http://googlegroups.com).
> > > > > 
> > > > > For more options, visit [https://groups.google.com/\*\*groups/opt\_out](https://groups.google.com/**groups/opt_out)[https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out)  
> > > > > .
> > > > 
> > > > --  
> > > > Met vriendelijke groet,
> > > > 
> > > > Martijn van Groningen
> > 
> > --  
> > Met vriendelijke groet,
> > 
> > Martijn van Groningen

--  
You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

---

<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:** [February 5, 2013, 10:10am UTC](https://discuss.elastic.co/t/cant-create-index/10610/7 "2013-02-05T10:10:20Z")

</div>

On Mon, 2013-02-04 at 07:10 -0800, jackiedong wrote:

> Hi, Martijn:  
> There is no special log when inserting the simple doc.  
> The ES version is 0.20.4.  
> And through status api, I found some logs like:  
> failures:  
> [ { index: 'w235',  
> shard: 9,  
> reason: 'BroadcastShardOperationFailedException[[w235][9] ];  
> nested: RemoteTransportException[Failed to deserialize exception  
> response from stream]; nested: TransportSerializationException[Failed  
> to deserialize exception response from stream]; nested:  
> StreamCorruptedException[unexpected end of block data]; ' },

Check all the instances of ES that you have running. This error message  
is typical when you have mixed versions. All versions of ES must be the  
same

clint

> 

--  
You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

---

<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, 2:53am UTC](https://discuss.elastic.co/t/cant-create-index/10610/8 "2017-07-06T02:53:01Z")

</div>


