[
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)