GitHub user jihoonson opened a pull request:

    https://github.com/apache/tajo/pull/815

    TAJO-1875: Resource leak after a query failure

    The main reason is that wrong resource release routine. 
    When TaskManager receives a task start event ```e```, it checks that 
```e``` is the first task start event of the current eb. If so, it create a 
context for the current eb. Here, if an error occurs while creating a eb 
context, the resource assigned for ```e``` must be released. 
    However, in the current implementation, the resource release routine 
requires a task attempt id which will not exist with an eb start failure. As a 
result, resource manager loses the resource assigned for ```e```.

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/jihoonson/tajo-2 TAJO-1875

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/tajo/pull/815.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #815
    
----
commit bdaa0c10866424bb300670cd1f47ad9a0776b101
Author: Jihoon Son <[email protected]>
Date:   2015-10-08T08:07:46Z

    TAJO-1875

----


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---

Reply via email to