-
Notifications
You must be signed in to change notification settings - Fork 2.6k
Make sure when --es.num-replicas=0, ES indices have number_of_replica=0 not 1 #371
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Personally I would rather have a parameter called "replication factor" that defines the total number of copies of the data, similar to Cassandra. Then the setting I know that this would go against the nomenclature of ES configuration, thus a bit controversial. |
@yurishkuro that should be ok, but as you already pointed out it goes against ES' nomenclature and might be confusing to ES users, also will cause issue with folks who are already relying on this parameter. |
maybe we can keep the command line switch name & meaning the same but default it to something like |
Another option is we change default value for |
…cing#377) * Makefile use GNU sed and force thrift to use the same user * sed hack to run -i in BSD and GNU version * try -i.bak workaround * Add comment to makefile
…rtracing#376) except for crossdock images
* Update to Apache 2.0 License Per https://github.com/uber/jaeger/issues/252 * update in actual files
We're expanding our production deployment of jaeger at UA!
This is required of CNCF projects.
Signed-off-by: Yuri Shkuro <ys@uber.com>
* Collect ES bulk metrics Signed-off-by: Pavol Loffay <ploffay@redhat.com> * Fix tests Signed-off-by: Pavol Loffay <ploffay@redhat.com>
The `ProcessorConfiguration` can be exported, but the custom type `model` and `protocol` can not, so it's hard to new a `ProcessorConfiguration` outside the pacaage. Signed-off-by: kun <oiooj@qq.com>
* Binding all interfaces on hotrod Signed-off-by: Guilherme Baufaker Rêgo <gbaufake@redhat.com> * Hotrod Containerized on Docker Signed-off-by: Guilherme Baufaker Rêgo <gbaufake@redhat.com> * Moving HotRod Containerized to Hotrod folder and some minor adjustments on Dockerfile Signed-off-by: Guilherme Baufaker Rêgo <gbaufake@redhat.com> * Copy only Hotrod binary to Dockerfile - exposing more ports on Dockerfile and copy only binary to Dockerfile Signed-off-by: Guilherme Baufaker Rêgo <gbaufake@redhat.com>
Signed-off-by: zkanda <hi@zkanda.io>
Signed-off-by: Yuri Shkuro <ys@uber.com>
Signed-off-by: Pavol Loffay <ploffay@redhat.com>
The calls to Add should execute before the statement creating the goroutine or other event to be waited for. Signed-off-by: kun <oiooj@qq.com>
…tracing#712) Signed-off-by: Prithvi Raj <p.r@uber.com>
Signed-off-by: Yuri Shkuro <ys@uber.com>
…nerator seeds (jaegertracing#718) Signed-off-by: Yuri Shkuro <ys@uber.com>
Signed-off-by: Eundoo Song <eundoo.song@gmail.com>
…g#725) Signed-off-by: Yuri Shkuro <ys@uber.com>
…ng#726) * Use different namespaces for Cassandra primary and archive storage * Fix a bug where archive factory wasn't used in query/main * Use new expvar metrics module from jaeger-lib 1.4.0 Signed-off-by: Yuri Shkuro <ys@uber.com>
…aegertracing#735) Signed-off-by: Juraci Paixão Kröhling <juraci@kroehling.de>
…gertracing#732) (jaegertracing#733) Signed-off-by: Yuri Shkuro <ys@uber.com>
Signed-off-by: Louis-Etienne Dorval <louis-etienne.dorval@ticketmaster.com>
* Publish hotrod to dockerub Signed-off-by: Pavol Loffay <ploffay@redhat.com> * Fix review comments Signed-off-by: Pavol Loffay <ploffay@redhat.com> * Add env to dockerfile to handle collector hostport Signed-off-by: Pavol Loffay <ploffay@redhat.com> * Use alpine Signed-off-by: Pavol Loffay <ploffay@redhat.com> * Use scratch and entrypoint hotrod all Signed-off-by: Pavol Loffay <ploffay@redhat.com> * Remove cd - Signed-off-by: Pavol Loffay <ploffay@redhat.com> * Fix cd Signed-off-by: Pavol Loffay <ploffay@redhat.com> * Add ls Signed-off-by: Pavol Loffay <ploffay@redhat.com> * Remove bindata.go Signed-off-by: Pavol Loffay <ploffay@redhat.com> * Add wait until 200 Signed-off-by: Pavol Loffay <ploffay@redhat.com>
Signed-off-by: Pavol Loffay <ploffay@redhat.com>
…#753) Signed-off-by: Pavol Loffay <ploffay@redhat.com>
There's a new PR #754, but the discussion above was left unresolved. @pavolloffay Since you were doing work with ES and its configuration, do you have an opinion? cc @manannayak |
Resolves #369
ES number of replicas was getting set to 1 even when specifying --es.num-replicas=0 when starting collector and query.
Before fix:
output of localhost:9200/_cluster/health?pretty
ES cluster health check shows status 'yellow' and you will notice active_primary_shards=4 and unassigned_shards=4, which means some indexes are configured with value replicas=1, this can be confirmed by checking output of :
http://localhost:9200/jaeger-span-2017-09-02/_settings?pretty
Verified after fix:
output of http://localhost:9200/_cluster/health?pretty
After fix output of http://localhost:9200/jaeger-span-2017-09-02/_settings?pretty