Details
-
Bug
-
Status: Resolved
-
Minor
-
Resolution: Fixed
-
2.0.0
-
None
-
None
Description
After select query the cache is doubled and the drop metacache is not removing the cache in Spark 2.1 Carbon for the Index Server
Show metacache after load command:
show metacache on table uniqdata;
---------------------------------------------------------
Field | Size | Comment | Cache Location |
---------------------------------------------------------
Index | 0 B | 0/1 index files cached | DRIVER |
Dictionary | 0 B | DRIVER | |
Index | 769 B | 1/1 index files cached | INDEX SERVER |
Dictionary | 0 B | INDEX SERVER |
---------------------------------------------------------–
Show metacache after select query:
-------------------------------------------------------------
Field | Size | Comment | Cache Location |
-------------------------------------------------------------
Index | 0 B | 0/1 index files cached | DRIVER |
Dictionary | 318.53 KB | DRIVER | |
Index | 1.5 KB | 2/1 index files cached | INDEX SERVER |
Dictionary | 318.53 KB | INDEX SERVER |
-------------------------------------------------------------–
Show metacache after drop metacache command:
-------------------------------------------------------------
Field | Size | Comment | Cache Location |
-------------------------------------------------------------
Index | 0 B | 0/1 index files cached | DRIVER |
Dictionary | 318.53 KB | DRIVER |
| Index | 769 B | 1/1 index files cached | INDEX SERVER |
Dictionary | 318.53 KB | INDEX SERVER |
-------------------------------------------------------------