Hi all,
I have googled a lot but found nothing about the logic for
allocation of shard and replica when node joins the cluster.
If it's not evenly distributed shards and replicas, can I controll
allocation of shards and replicas?
What I mean manually controll the allocation of shards and replicas
in order to making a balance.
any pointer is a great help, thanks.
Hi all,
I have googled a lot but found nothing about the logic for
allocation of shard and replica when node joins the cluster.
If it's not evenly distributed shards and replicas, can I controll
allocation of shards and replicas?
What I mean manually controll the allocation of shards and replicas
in order to making a balance.
any pointer is a great help, thanks.
As Ivan mentioned, the default algorithm is in EvenShardsCountAllocator. As
you can see from the name, it tries to allocate shards evenly across all
nodes in the cluster. In other words it tries to allocate the same number
of shards on each node.
You can create your own Allocator, but there is nothing to manual assign
shards. I think there is something new in 0.20
--
Ivan
On Mon, Oct 22, 2012 at 7:53 PM, SuoNayi <suo...@gmail.com <javascript:>>wrote:
Hi all,
I have googled a lot but found nothing about the logic for
allocation of shard and replica when node joins the cluster.
If it's not evenly distributed shards and replicas, can I controll
allocation of shards and replicas?
What I mean manually controll the allocation of shards and replicas
in order to making a balance.
any pointer is a great help, thanks.
As Ivan mentioned, the default algorithm is in EvenShardsCountAllocator.
As you can see from the name, it tries to allocate shards evenly across all
nodes in the cluster. In other words it tries to allocate the same number
of shards on each node.
You can create your own Allocator, but there is nothing to manual assign
shards. I think there is something new in 0.20
--
Ivan
On Mon, Oct 22, 2012 at 7:53 PM, SuoNayi suo...@gmail.com wrote:
Hi all,
I have googled a lot but found nothing about the logic for
allocation of shard and replica when node joins the cluster.
If it's not evenly distributed shards and replicas, can I
controll allocation of shards and replicas?
What I mean manually controll the allocation of shards and
replicas in order to making a balance.
any pointer is a great help, thanks.
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.