Akash R Nilugal created CARBONDATA-2520:
-------------------------------------------
Summary: datamap writers are not getting closed on task failure
Key: CARBONDATA-2520
URL:
https://issues.apache.org/jira/browse/CARBONDATA-2520 Project: CarbonData
Issue Type: Bug
Components: data-load
Reporter: Akash R Nilugal
Assignee: Akash R Nilugal
*Problem:* The datamap writers registered to listener are closed or finished only in case of load success case and not in any failure case. So when tesing lucene, it is found that, after task is failed and the writer is not closed, so the write.lock file written in the index folder of lucene is still exists, so when next task comes to write index in same directory, it fails with the error lock file already exists.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)