Hi,
I checked the index stats by visiting
http://localhost:9200/raw/_stats?pretty
{
"_shards" : {
"total" : 10,
"successful" : 5,
"failed" : 0
},
There are totally 10 shards, 5 successful, 0 failed. But where are the
missing 5 shards? Any insights?
Thanks a lot!
Jingzhao
--
You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearch+unsubscribe@googlegroups.com .
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/72aeee90-8a28-4d1c-929e-3d1d3c4a03bd%40googlegroups.com .
For more options, visit https://groups.google.com/d/optout .
jprante
(Jörg Prante)
November 23, 2014, 4:54pm
2
If you have a single node cluster, they are unassigned.
Jörg
On Sat, Nov 22, 2014 at 8:38 PM, Jingzhao Ou jingzhao.ou@gmail.com wrote:
Hi,
I checked the index stats by visiting
http://localhost:9200/raw/_stats?pretty
{
"_shards" : {
"total" : 10,
"successful" : 5,
"failed" : 0
},
There are totally 10 shards, 5 successful, 0 failed. But where are the
missing 5 shards? Any insights?
Thanks a lot!
Jingzhao
--
You received this message because you are subscribed to the Google Groups
"elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an
email to elasticsearch+unsubscribe@googlegroups.com .
To view this discussion on the web visit
https://groups.google.com/d/msgid/elasticsearch/72aeee90-8a28-4d1c-929e-3d1d3c4a03bd%40googlegroups.com
https://groups.google.com/d/msgid/elasticsearch/72aeee90-8a28-4d1c-929e-3d1d3c4a03bd%40googlegroups.com?utm_medium=email&utm_source=footer
.
For more options, visit https://groups.google.com/d/optout .
--
You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearch+unsubscribe@googlegroups.com .
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/CAKdsXoGkn6g%2BW1Fj5fjvggK5XZMxbzHNqHW9e4QY4o%3D6ocidSA%40mail.gmail.com .
For more options, visit https://groups.google.com/d/optout .
Hi, Jörg,
Yes, I got that now. On my development PC, I changed things in
elasticsearch.yml to
index.number_of_shards: 1
index.number_of_replicas: 0
The stats output becomes:
"_shards" : {
"total" : 1,
"successful" : 1,
"failed" : 0
},
Thanks a lot for your help!
Jingzhao
On Sunday, November 23, 2014 8:55:02 AM UTC-8, Jörg Prante wrote:
If you have a single node cluster, they are unassigned.
Jörg
--
You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearch+unsubscribe@googlegroups.com .
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/38cb6a00-0175-41b6-ac4c-770689cd07d6%40googlegroups.com .
For more options, visit https://groups.google.com/d/optout .
The 5 that were not assigned is that because you set a limit on the max
shards per node?
On Sunday, November 23, 2014 11:24:34 PM UTC+5:30, Jingzhao Ou wrote:
Hi, Jörg,
Yes, I got that now. On my development PC, I changed things in
elasticsearch.yml to
index.number_of_shards: 1
index.number_of_replicas: 0
The stats output becomes:
"_shards" : {
"total" : 1,
"successful" : 1,
"failed" : 0
},
Thanks a lot for your help!
Jingzhao
On Sunday, November 23, 2014 8:55:02 AM UTC-8, Jörg Prante wrote:
If you have a single node cluster, they are unassigned.
Jörg
--
You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearch+unsubscribe@googlegroups.com .
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/4d6af1b8-3e02-4200-8b90-be168305b8e2%40googlegroups.com .
For more options, visit https://groups.google.com/d/optout .
Hi, Ajay,
The 5 that were not assigned is that because you set a limit on the max
shards per node?
I don't see any limit on the max shards per node. I did a Google search and
cannot find such parameter. I cannot only see memory limits. Mind sharing
more details?
Thanks a lot for your help.
Jingzhao
--
You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearch+unsubscribe@googlegroups.com .
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/566cee35-d4df-42fc-9895-31677b4b46c0%40googlegroups.com .
For more options, visit https://groups.google.com/d/optout .
See the section on "Total shards per node".
Power insights and outcomes with the Elasticsearch Platform and AI. See into your data and find answers that matter with enterprise solutions designed to help you build, observe, and protect. Try Elasticsearch free today.
On Monday, November 24, 2014 12:15:54 AM UTC+5:30, Jingzhao Ou wrote:
Hi, Ajay,
The 5 that were not assigned is that because you set a limit on the max
shards per node?
I don't see any limit on the max shards per node. I did a Google search
and cannot find such parameter. I cannot only see memory limits. Mind
sharing more details?
Thanks a lot for your help.
Jingzhao
--
You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearch+unsubscribe@googlegroups.com .
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/fbdc79fa-112a-4549-b198-04f45ed65093%40googlegroups.com .
For more options, visit https://groups.google.com/d/optout .