I see, but now I'm curious on why it takes so long for you to create aliases, 30 secs seems to be a reasonable default.
On Wed, Jan 29, 2014 at 9:26 PM, Ahaduzzaman Munna < [email protected]> wrote: > Yes, I feel its little inconvenient not to have that default value > configurable via the config file or an API. I hope ES team do something > about it. > I didn't want to touch my code rather I wanted to have some global > configurable setting to make my life easy .... > > > On Wed, Jan 29, 2014 at 12:07 PM, Luca Cavanna <[email protected]>wrote: > >> The master node timeout is configurable on each call using the >> master_timeout parameter. There's no global default exposed as settings >> though. >> >> Cheers >> Luca >> >> On Wednesday, January 29, 2014 6:32:07 PM UTC+1, Ivan Brusic wrote: >>> >>> It appears that this value is not configurable. IMHO, it should be, so >>> perhaps you should open an issue on Github and see if the elasticsearch >>> team agrees. Better yet, submit a pull request. :) >>> >>> -- >>> Ivan >>> >>> >>> On Tue, Jan 28, 2014 at 1:08 PM, Ahaduzzaman Munna < >>> [email protected]> wrote: >>> >>>> Getting timeout exceptions like below for different index operations. >>>> Below one shows for "index-aliases" operation. I would like to know how >>>> can I configure this timeout value in elasticsearch.yml so that I configure >>>> it once and I do not have to worry about this timeout exception. >>>> >>>> org.elasticsearch.cluster.metadata.ProcessClusterEventTimeoutException: >>>> failed to process cluster event (index-aliases) within 30s >>>> at org.elasticsearch.cluster.service.InternalClusterService$2$1. >>>> run(InternalClusterService.java:237) >>>> at java.util.concurrent.ThreadPoolExecutor.runWorker( >>>> ThreadPoolExecutor.java:1145) >>>> at java.util.concurrent.ThreadPoolExecutor$Worker.run( >>>> ThreadPoolExecutor.java:615) >>>> at java.lang.Thread.run(Thread.java:744) >>>> >>>> >>>> I saw in elasticsearch code that >>>> >>>> public abstract class MasterNodeOperationRequest<T extends >>>> MasterNodeOperationRequest> extends ActionRequest<T> { >>>> >>>> public static TimeValue DEFAULT_MASTER_NODE_TIMEOUT = >>>> TimeValue.timeValueSeconds(30); >>>> >>>> protected TimeValue masterNodeTimeout = DEFAULT_MASTER_NODE_TIMEOUT; >>>> >>>> >>>> Thanks, >>>> Munna >>>> >>>> -- >>>> 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 [email protected]. >>>> To view this discussion on the web visit https://groups.google.com/d/ >>>> msgid/elasticsearch/8ee9ef0f-e1f2-4230-a7cf-1dfec4eee9b7% >>>> 40googlegroups.com. >>>> For more options, visit https://groups.google.com/groups/opt_out. >>>> >>> >>> -- >> You received this message because you are subscribed to a topic in the >> Google Groups "elasticsearch" group. >> To unsubscribe from this topic, visit >> https://groups.google.com/d/topic/elasticsearch/JksDMKjvKvA/unsubscribe. >> To unsubscribe from this group and all its topics, send an email to >> [email protected]. >> To view this discussion on the web visit >> https://groups.google.com/d/msgid/elasticsearch/9a0bd096-ce5d-4f2e-9f2d-9c5c34fd374b%40googlegroups.com >> . >> For more options, visit https://groups.google.com/groups/opt_out. >> > > -- > You received this message because you are subscribed to a topic in the > Google Groups "elasticsearch" group. > To unsubscribe from this topic, visit > https://groups.google.com/d/topic/elasticsearch/JksDMKjvKvA/unsubscribe. > To unsubscribe from this group and all its topics, send an email to > [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/elasticsearch/CACAuqNukAczguh7zjfwi3kTVzTekkFz%2BMSw0Vm_9xx2K7va05Q%40mail.gmail.com > . > For more options, visit https://groups.google.com/groups/opt_out. > -- 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 [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/CADdZ9MWk1M4Anqv_c7_BxFhas_CLXtzqQpzzFdG8v-k%3DwQC59w%40mail.gmail.com. For more options, visit https://groups.google.com/groups/opt_out.
