[jira] [Resolved] (CARBONDATA-2520) datamap writers are not getting closed on task failure

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Resolved] (CARBONDATA-2520) datamap writers are not getting closed on task failure

Akash R Nilugal (Jira)

     [ https://issues.apache.org/jira/browse/CARBONDATA-2520?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jacky Li resolved CARBONDATA-2520.
----------------------------------
       Resolution: Fixed
    Fix Version/s: 1.4.0

> 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
>            Priority: Minor
>             Fix For: 1.4.0
>
>          Time Spent: 3.5h
>  Remaining Estimate: 0h
>
> *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)