• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

apache / carbondata / 1078
76%

Build:
DEFAULT BRANCH: master
Ran 27 Sep 2018 08:55AM UTC
Jobs 1
Files 1012
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

pending completion
1078

push

jenkins

ravipesala
[HOTFIX] Fix NPE in LRU cache when entry from the same table is getting evicted to load another entry from same table

Problem
When driver LRU cache size is configured to a small value then on running concurrent queries sometimes while loading the block dataMap in LRU cache one of the dataMap entries from the same table is getting deleted because of shortage of space. Due to this in the flow after loading the dataMap cache NPE is thrown.
This is because when an cacheable entry is removed from LRU cache then invalidate is called on that cacheable entry to clear the unsafe memory used by that entry. Invalidate method makes the references null and clears the unsafe memory which leads to NPE when accessed again.

Solution
Currently dataMap cache uses unsafe offheap memory for datamap caching. To avoid this the code is modified to use unsafe with onheap so that JVM itself takes care of clearing the memory when required. We do not require to explicitly set the references to null.

This closes #2759

60469 of 75058 relevant lines covered (80.56%)

1.06 hits per line

Jobs
ID Job ID Ran Files Coverage
1 1078.1 27 Sep 2018 08:55AM UTC 0
80.56
Source Files on build 1078
Detailed source file information is not available for this build.
  • Back to Repo
  • Jenkins Build #1078
  • 2a4f5300 on github
  • Prev Build on master (#1076)
  • Next Build on master (#1081)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc