Thanks a lot Chuck for the tip. I finally able to identify the unallocated
shards.
I did stopped a node just after starting it (before status going green -
basically it was still trying to allocate shards during that time.). I did
this because I realized after starting the very node, that I started a
wrong node first for which it got elected as master. Not sure if this can
be the reason.
I can't see any useful logs that points me to the cause.
These shards are from one index and I can re-build it.
Is there any easy way to re-assign these shards or remove them permanently
so that I get my green status back?
Thanks
Rahul
On Mon, Nov 5, 2012 at 11:32 PM, Chuck McKenzie redchuck@gmail.com wrote:
If you are going to rebuilt the index, you can just delete the index with
unallocated shards. All shards, including unallocated, will be deleted when
the index is deleted.
On Monday, November 5, 2012 3:22:04 PM UTC-5, Rahul Sharma wrote:
Thanks a lot Chuck for the tip. I finally able to identify the unallocated
shards.
I did stopped a node just after starting it (before status going green -
basically it was still trying to allocate shards during that time.). I did
this because I realized after starting the very node, that I started a
wrong node first for which it got elected as master. Not sure if this can
be the reason.
I can't see any useful logs that points me to the cause.
These shards are from one index and I can re-build it.
Is there any easy way to re-assign these shards or remove them permanently
so that I get my green status back?
Thanks
Rahul
On Mon, Nov 5, 2012 at 11:32 PM, Chuck McKenzie <redc...@gmail.com<javascript:>
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.