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

apache / carbondata / 1078 / 1
76%
master: 76%

Build:
DEFAULT BRANCH: master
Ran 27 Sep 2018 08:55AM UTC
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

27 Sep 2018 08:55AM UTC coverage: 80.563% (+1.8%) from 78.753%
1078.1

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

Source Files on job 1078.1
  • Tree
  • List 0
  • Changed 142
  • Source Changed 9
  • Coverage Changed 142
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 1078
  • 2a4f5300 on github
  • Prev Job for on master (#1076.1)
  • Next Job for on master (#1081.1)
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