[jira] [Created] (CARBONDATA-1393) Throw NullPointerException when UnsafeMemoryManager.freeMemory

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

[jira] [Created] (CARBONDATA-1393) Throw NullPointerException when UnsafeMemoryManager.freeMemory

Akash R Nilugal (Jira)
Zhichao  Zhang created CARBONDATA-1393:
------------------------------------------

             Summary: Throw NullPointerException when UnsafeMemoryManager.freeMemory
                 Key: CARBONDATA-1393
                 URL: https://issues.apache.org/jira/browse/CARBONDATA-1393
             Project: CarbonData
          Issue Type: Bug
          Components: core
    Affects Versions: 1.2.0
            Reporter: Zhichao  Zhang
            Assignee: Zhichao  Zhang
            Priority: Minor
             Fix For: 1.2.0


UnsafeMemoryManager.freeMemoryAll(long taskId) may run before freeMemory(long taskId, MemoryBlock memoryBlock), taskIdToMemoryBlockMap.get(taskId) will return null and then throw NPE.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)