Ajantha Bhat created CARBONDATA-2570:
----------------------------------------
Summary: 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
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)