[
https://issues.apache.org/jira/browse/ASTERIXDB-2095?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16247840#comment-16247840
]
ASF subversion and git services commented on ASTERIXDB-2095:
------------------------------------------------------------
Commit c90f1e38af3fc59a019a8b551eac43ea8ef3cdd5 in asterixdb's branch
refs/heads/master from [~mhubail]
[ https://git-wip-us.apache.org/repos/asf?p=asterixdb.git;h=c90f1e3 ]
[ASTERIXDB-1871][ASTERIXDB-2095] Stop Consumer Thread on Deallocate
- user model changes: no
- storage format changes: no
- interface changes: no
Details:
- Currently there is a chance that a MaterializingPipelinedPartition
is deallocated before the consuming thread starts (e.g. due to job
abort) and therefore the consuming thread will not be interrupted
leading to leaked threads and files. This change checks if partition
was deallocated before the consumer starts, then the consumer thread
cleans up any files then exits.
- Make TaskAttemptId non-final class to mock it.
- Add test case.
Change-Id: I18c9fb085c149f41a202fff83aa6ec3aaeba6a77
Reviewed-on: https://asterix-gerrit.ics.uci.edu/2143
Sonar-Qube: Jenkins <[email protected]>
Tested-by: Jenkins <[email protected]>
Integration-Tests: Jenkins <[email protected]>
Contrib: Jenkins <[email protected]>
Reviewed-by: Till Westmann <[email protected]>
> Leaked threads in SqlppExecutionWithCancellationTest
> ----------------------------------------------------
>
> Key: ASTERIXDB-2095
> URL: https://issues.apache.org/jira/browse/ASTERIXDB-2095
> Project: Apache AsterixDB
> Issue Type: Bug
> Reporter: Abdullah Alamoudi
> Assignee: Murtadha Hubail
>
> https://asterix-jenkins.ics.uci.edu/job/asterix-gerrit-cancellation-test/org.apache.asterix$asterix-app/863/testReport/junit/org.apache.asterix.test.runtime/SqlppExecutionWithCancellationTest/org_apache_asterix_test_runtime_SqlppExecutionWithCancellationTest/
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)