I keep getting cluster health status of Yellow

So today is the first day I started testing with the cluster health api and
I am constantly getting yellow which based on the documentation indicates
replicas have not been allocated.
My build is from master and I'm testing with one local instance running. Any
ideas on what could be causing this?

My config is pretty basic:

cluster:
name: Test

node:
data: true

http:
enabled: true

gateway:
type: fs
fs:
location: /tmp/elasticsearch/data/cluster
index :
number_of_shards : 5
number_of_replicas : 4
analysis :
analyzer :
standard :
type : standard

store:
type: memory
memory:
cache_size: 100m
buffer_size: 10k

Thanks

Here's my understanding:

If you don't have enough machines to host all your replicas, then yes, your status will be yellow.

You'd need 5 running instances to be green.

Andrew

On 29/06/2010, at 11:04 AM, Samuel Doyle wrote:

So today is the first day I started testing with the cluster health api and I am constantly getting yellow which based on the documentation indicates replicas have not been allocated.
My build is from master and I'm testing with one local instance running. Any ideas on what could be causing this?

My config is pretty basic:

cluster:
name: Test

node:
data: true

http:
enabled: true

gateway:
type: fs
fs:
location: /tmp/elasticsearch/data/cluster
index :
number_of_shards : 5
number_of_replicas : 4
analysis :
analyzer :
standard :
type : standard

store:
type: memory
memory:
cache_size: 100m
buffer_size: 10k

Thanks

Click herehttps://www.mailcontrol.com/sr/wQw0zmjPoHdJTZGyOCrrhg== to report this email as spam.

Andrew Harvey / Developer
lexer

m/
t/ +61 2 9019 6379
w/ http://lexer.com.au

Help put an end to whaling. Visit www.givewhalesavoice.com.auhttp://www.givewhalesavoice.com.au/


Please consider the environment before printing this email
This email transmission is confidential and intended solely for the person or organisation to whom it is addressed. If you are not the intended recipient, you must not copy, distribute or disseminate the information, or take any action in relation to it and please delete this e-mail. Any views expressed in this message are those of the individual sender, except where the send specifically states them to be the views of any organisation or employer. If you have received this message in error, do not open any attachment but please notify the sender (above). This message has been checked for all known viruses powered by McAfee.

For further information visit http://www.mcafee.com/us/threat_center/default.asp
Please rely on your own virus check as no responsibility is taken by the sender for any damage rising out of any virus infection this communication may contain.

This message has been scanned for malware by Websense. www.websense.com

Ah I see, thanks for the info.

S.D.

On Mon, Jun 28, 2010 at 6:06 PM, Andrew Harvey
Andrew.Harvey@lexer.com.auwrote:

Here's my understanding:

If you don't have enough machines to host all your replicas, then yes, your
status will be yellow.

You'd need 5 running instances to be green.

Andrew

On 29/06/2010, at 11:04 AM, Samuel Doyle wrote:

So today is the first day I started testing with the cluster health api and
I am constantly getting yellow which based on the documentation indicates
replicas have not been allocated.
My build is from master and I'm testing with one local instance running.
Any ideas on what could be causing this?

My config is pretty basic:

cluster:
name: Test

node:
data: true

http:
enabled: true

gateway:
type: fs
fs:
location: /tmp/elasticsearch/data/cluster
index :
number_of_shards : 5
number_of_replicas : 4
analysis :
analyzer :
standard :
type : standard

store:
type: memory
memory:
cache_size: 100m
buffer_size: 10k

Thanks

Click here https://www.mailcontrol.com/sr/wQw0zmjPoHdJTZGyOCrrhg== to
report this email as spam.

Andrew Harvey / Developer lexer

m/ t/ +61 2 9019 6379 w/ http://lexer.com.au

Help put an end to whaling. Visit www.givewhalesavoice.com.au

Please consider the environment before printing this email
This email transmission is confidential and intended solely for the person
or organisation to whom it is addressed. If you are not the intended
recipient, you must not copy, distribute or disseminate the information, or
take any action in relation to it and please delete this e-mail. Any views
expressed in this message are those of the individual sender, except where
the send specifically states them to be the views of any organisation or
employer. If you have received this message in error, do not open any
attachment but please notify the sender (above). This message has been
checked for all known viruses powered by McAfee.

For further information visit
Advanced Research Center | Trellix
Please rely on your own virus check as no responsibility is taken by the
sender for any damage rising out of any virus infection this communication
may contain.

This message has been scanned for malware by Websense. www.websense.com

Actually, the shard allocation mechanism does not allocate a shard and its
replica on the same node, though it does allocate different shards on the
same node. So, you will need two nodes to get cluster state of green.

-shay.banon

On Tue, Jun 29, 2010 at 4:17 AM, Samuel Doyle samueldoyle@gmail.com wrote:

Ah I see, thanks for the info.

S.D.

On Mon, Jun 28, 2010 at 6:06 PM, Andrew Harvey <Andrew.Harvey@lexer.com.au

wrote:

Here's my understanding:

If you don't have enough machines to host all your replicas, then yes,
your status will be yellow.

You'd need 5 running instances to be green.

Andrew

On 29/06/2010, at 11:04 AM, Samuel Doyle wrote:

So today is the first day I started testing with the cluster health api
and I am constantly getting yellow which based on the documentation
indicates replicas have not been allocated.
My build is from master and I'm testing with one local instance running.
Any ideas on what could be causing this?

My config is pretty basic:

cluster:
name: Test

node:
data: true

http:
enabled: true

gateway:
type: fs
fs:
location: /tmp/elasticsearch/data/cluster
index :
number_of_shards : 5
number_of_replicas : 4
analysis :
analyzer :
standard :
type : standard

store:
type: memory
memory:
cache_size: 100m
buffer_size: 10k

Thanks

Click here https://www.mailcontrol.com/sr/wQw0zmjPoHdJTZGyOCrrhg== to
report this email as spam.

Andrew Harvey / Developer lexer

m/ t/ +61 2 9019 6379 w/ http://lexer.com.au

Help put an end to whaling. Visit www.givewhalesavoice.com.au

Please consider the environment before printing this email
This email transmission is confidential and intended solely for the person
or organisation to whom it is addressed. If you are not the intended
recipient, you must not copy, distribute or disseminate the information, or
take any action in relation to it and please delete this e-mail. Any views
expressed in this message are those of the individual sender, except where
the send specifically states them to be the views of any organisation or
employer. If you have received this message in error, do not open any
attachment but please notify the sender (above). This message has been
checked for all known viruses powered by McAfee.

For further information visit
Advanced Research Center | Trellix
Please rely on your own virus check as no responsibility is taken by the
sender for any damage rising out of any virus infection this communication
may contain.

This message has been scanned for malware by Websense. www.websense.com