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 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/CALY%3DcQBs78QWDyaKcL71Spd3775HRT3EN1MZnhn0GakfDkwvSA%40mail.gmail.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to