[jira] [Commented] (CARBONDATA-2570) Carbon SDK Reader, second time reader instance have an issue in cluster test

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

[jira] [Commented] (CARBONDATA-2570) Carbon SDK Reader, second time reader instance have an issue in cluster test

Akash R Nilugal (Jira)

    [ https://issues.apache.org/jira/browse/CARBONDATA-2570?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16497707#comment-16497707 ]

xubo245 commented on CARBONDATA-2570:
-------------------------------------

Can you give the test step and exception info in here?

> Carbon SDK Reader, second time reader instance have an issue in cluster test
> ----------------------------------------------------------------------------
>
>                 Key: CARBONDATA-2570
>                 URL: https://issues.apache.org/jira/browse/CARBONDATA-2570
>             Project: CarbonData
>          Issue Type: Bug
>            Reporter: Ajantha Bhat
>            Assignee: Ajantha Bhat
>            Priority: Major
>
> Debugged the issue, This is happening only in cluster. Not in local.
> root cause: old table's blocklet datamap is not cleared.
>  
> solution: In CarbonReader.close()  API used for clearing datamap is not clearing all the datamap in cluster
> so change
> DataMapStoreManager.getInstance().getDefaultDataMap(queryModel.getTable()).clear();
> to
> DataMapStoreManager.getInstance()
> .clearDataMaps({color:#660e7a}queryModel{color}.getTable().getAbsoluteTableIdentifier());
>  
>  



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)