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]<javascript:>
> > 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] <javascript:>.
>> 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 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/9a0bd096-ce5d-4f2e-9f2d-9c5c34fd374b%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to