S3 / FS and Cluster Health


(Kenneth Loafman) #1

Hi,

I had a 'cluster' of one node using the FS gateway and it stayed green.
I switched to the S3 gateway and the cluster will not build the replica
shards, thus is staying yellow. Is this a known limitation of the S3
gateway, or is there something I'm missing.

Setup was copied from
http://www.elasticsearch.com/docs/elasticsearch/cloud/aws/s3_gateway/
except for credentials and bucket name, of course.

...Thanks,
...Ken


(Shay Banon) #2

When you have a single node, replicas will not be allocated to it (it make
no sense to allocate a replica of a shard on the same node the shard exists
on). Its not really related to the gateway type. Are you sure you got green
health when a single node? Maybe you created an index without any replicas
in that case?

-shay.banon

On Sat, Aug 14, 2010 at 6:13 PM, Kenneth Loafman
kenneth.loafman@gmail.comwrote:

Hi,

I had a 'cluster' of one node using the FS gateway and it stayed green.
I switched to the S3 gateway and the cluster will not build the replica
shards, thus is staying yellow. Is this a known limitation of the S3
gateway, or is there something I'm missing.

Setup was copied from
http://www.elasticsearch.com/docs/elasticsearch/cloud/aws/s3_gateway/
except for credentials and bucket name, of course.

...Thanks,
...Ken


(Kenneth Loafman) #3

I understand. The replicas must have been created when there were two
nodes a week ago. That implies that green status means that there are
replicas, but they may be seriously out of date.

...Ken

Shay Banon wrote:

When you have a single node, replicas will not be allocated to it (it
make no sense to allocate a replica of a shard on the same node the
shard exists on). Its not really related to the gateway type. Are you
sure you got green health when a single node? Maybe you created an index
without any replicas in that case?

-shay.banon

On Sat, Aug 14, 2010 at 6:13 PM, Kenneth Loafman
<kenneth.loafman@gmail.com mailto:kenneth.loafman@gmail.com> wrote:

Hi,

I had a 'cluster' of one node using the FS gateway and it stayed green.
I switched to the S3 gateway and the cluster will not build the replica
shards, thus is staying yellow.  Is this a known limitation of the S3
gateway, or is there something I'm missing.

Setup was copied from
http://www.elasticsearch.com/docs/elasticsearch/cloud/aws/s3_gateway/
except for credentials and bucket name, of course.

...Thanks,
...Ken

(system) #4