It looks like the problem I just had my self. I was trying to create an
index an use it right away, but couldn't because of a timing issue. Try
this call after you have deleted your index:
node.client().admin().cluster().health(new
ClusterHealthRequest(INDEXNAME).waitForActiveShards(1)).actionGet();
*
I hope this helps.
Regards...
Den torsdag den 8. marts 2012 06.55.21 UTC+1 skrev vibin dhas:
Hi,
I came across the following error while indexing when I have deleted
some index folders from ES cluster
UnavailableShardsException[[2012-03-07][0] [2] shardIt, [0] active :
Timeout waiting for [1m], request:
org.elasticsearch.action.bulk.BulkShardRequest@7403e02a]
But I have not deleted "2012-03-07" folder.
Note : Indexing was working fine before deleting Index folders.
It looks like the problem I just had my self. I was trying to create an
index an use it right away, but couldn't because of a timing issue. Try
this call after you have deleted your index:
node.client().admin().cluster().health(new
ClusterHealthRequest(INDEXNAME).waitForActiveShards(1)).actionGet();
*
I hope this helps.
Regards...
Den torsdag den 8. marts 2012 06.55.21 UTC+1 skrev vibin dhas:
Hi,
I came across the following error while indexing when I have deleted
some index folders from ES cluster
UnavailableShardsException[[2012-03-07][0] [2] shardIt, [0] active :
Timeout waiting for [1m], request:
org.elasticsearch.action.bulk.BulkShardRequest@7403e02a]
But I have not deleted "2012-03-07" folder.
Note : Indexing was working fine before deleting Index folders.
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.