# I got RejectedExecutionException when tried to close a node

**URL:** <https://discuss.elastic.co/t/i-got-rejectedexecutionexception-when-tried-to-close-a-node/7568>\
**Category:** Elasticsearch\
**Created:** [May 5, 2012, 11:09am UTC](https://discuss.elastic.co/t/i-got-rejectedexecutionexception-when-tried-to-close-a-node/7568 "2012-05-05T11:09:23Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![thomas\_2](https://avatars.discourse-cdn.com/v4/letter/t/b19c9b/32.png) [@thomas\_2](https://discuss.elastic.co/u/thomas_2)\
**Post date:** [May 5, 2012, 11:09am UTC](https://discuss.elastic.co/t/i-got-rejectedexecutionexception-when-tried-to-close-a-node/7568/1 "2012-05-05T11:09:23Z")

</div>

When I tried to close a node, there was an exception as the following.  
Please help me.  
Thanks

May 5, 2012 6:05:06 PM org.elasticsearch.node  
INFO: [Spellcheck] {0.18.5}[27608]: stopping ...  
May 5, 2012 6:05:06 PM org.elasticsearch.node  
INFO: [Spellcheck] {0.18.5}[27608]: stopped  
May 5, 2012 6:05:06 PM org.elasticsearch.node  
INFO: [Spellcheck] {0.18.5}[27608]: closing ...  
Exception in thread "elasticsearch[management]-pool-89-thread-2"  
java.util.concurrent.RejectedExecutionException  
at java.util.concurrent.ThreadPoolExecutor  
$AbortPolicy.rejectedExecution(ThreadPoolExecutor.java:1768)  
at  
java.util.concurrent.ThreadPoolExecutor.reject(ThreadPoolExecutor.java:  
767)  
at  
java.util.concurrent.ThreadPoolExecutor.execute(ThreadPoolExecutor.java:  
658)  
at org.elasticsearch.action.support.BaseAction  
$ThreadedActionListener.onFailure(BaseAction.java:93)  
at  
org.elasticsearch.action.support.master.TransportMasterNodeOperationAction  
$2.run(TransportMasterNodeOperationAction.java:135)  
at java.util.concurrent.ThreadPoolExecutor  
$Worker.runTask(ThreadPoolExecutor.java:886)  
at java.util.concurrent.ThreadPoolExecutor  
$Worker.run(ThreadPoolExecutor.java:908)  
at java.lang.Thread.run(Thread.java:662)  
May 5, 2012 6:05:16 PM org.elasticsearch.node  
INFO: [Spellcheck] {0.18.5}[27608]: closed

---

<div class="post-metadata">

**Author:** ![kimchy](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/kimchy/32/44952_2.png) [@kimchy](https://discuss.elastic.co/u/kimchy)\
**Post date:** [May 9, 2012, 8:32am UTC](https://discuss.elastic.co/t/i-got-rejectedexecutionexception-when-tried-to-close-a-node/7568/2 "2012-05-09T08:32:16Z")

</div>

You can ignore it, its harmless, I will try and not log it in this case.

On Sat, May 5, 2012 at 2:09 PM, thomas [thomas.kant@gmail.com](mailto:thomas.kant@gmail.com) wrote:

> When I tried to close a node, there was an exception as the following.  
> Please help me.  
> Thanks
> 
> May 5, 2012 6:05:06 PM org.elasticsearch.node  
> INFO: [Spellcheck] {0.18.5}[27608]: stopping ...  
> May 5, 2012 6:05:06 PM org.elasticsearch.node  
> INFO: [Spellcheck] {0.18.5}[27608]: stopped  
> May 5, 2012 6:05:06 PM org.elasticsearch.node  
> INFO: [Spellcheck] {0.18.5}[27608]: closing ...  
> Exception in thread "elasticsearch[management]-pool-89-thread-2"  
> java.util.concurrent.RejectedExecutionException  
> at java.util.concurrent.ThreadPoolExecutor  
> $AbortPolicy.rejectedExecution(ThreadPoolExecutor.java:1768)  
> at  
> java.util.concurrent.ThreadPoolExecutor.reject(ThreadPoolExecutor.java:  
> 767)  
> at  
> java.util.concurrent.ThreadPoolExecutor.execute(ThreadPoolExecutor.java:  
> 658)  
> at org.elasticsearch.action.support.BaseAction  
> $ThreadedActionListener.onFailure(BaseAction.java:93)  
> at  
> org.elasticsearch.action.support.master.TransportMasterNodeOperationAction  
> $2.run(TransportMasterNodeOperationAction.java:135)  
> at java.util.concurrent.ThreadPoolExecutor  
> $Worker.runTask(ThreadPoolExecutor.java:886)  
> at java.util.concurrent.ThreadPoolExecutor  
> $Worker.run(ThreadPoolExecutor.java:908)  
> at java.lang.Thread.run(Thread.java:662)  
> May 5, 2012 6:05:16 PM org.elasticsearch.node  
> INFO: [Spellcheck] {0.18.5}[27608]: closed

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [July 6, 2017, 3:29am UTC](https://discuss.elastic.co/t/i-got-rejectedexecutionexception-when-tried-to-close-a-node/7568/3 "2017-07-06T03:29:45Z")

</div>


