carbondata-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From zzcclp <...@git.apache.org>
Subject [GitHub] carbondata pull request #1266: [CARBONDATA-1393] Avoid to throw NPE when exe...
Date Fri, 18 Aug 2017 09:13:10 GMT
GitHub user zzcclp opened a pull request:

    https://github.com/apache/carbondata/pull/1266

    [CARBONDATA-1393] Avoid to throw NPE when execute 'freeMemory' of UnsafeMemoryManager/UnsafeSortMemoryManager.

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

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/zzcclp/carbondata CARBONDATA-1393

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/carbondata/pull/1266.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #1266
    
----
commit f64ed8a385ccb8c704b7e9e532742116eb0ab454
Author: Zhang Zhichao <441586683@qq.com>
Date:   2017-08-18T09:04:50Z

    [CARBONDATA-1393] Avoid to throw NPE when execute 'freeMemory' of UnsafeMemoryManager/UnsafeSortMemoryManager.
    
    Avoid to throw NPE when execute 'freeMemory' of UnsafeMemoryManager/UnsafeSortMemoryManager.

----


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

Mime
View raw message