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

apache / carbondata / 422
76%

Build:
DEFAULT BRANCH: master
Ran 10 May 2018 05:14PM UTC
Jobs 1
Files 1017
Run time 3min
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
422

push

jenkins

ravipesala
[CARBONDATA-2417] [SDK Writer] SDK writer goes to infinite wait when consumer thread goes dead

Problem:
SDK Writer going into infinte loop in case of multi-threaded scenario

Analysis:
In multi-threaded scenarios where multiple instances of writer thread are trying to add a row to the RowBatch, addition to given batch size cannot be ensured as addition process is not synchronized and it can lead to ArrayIndexOutOfBound Exception or data loss/mismatch issues.
If multiple writer threads are adding the data to RowBatch and immediately after launching all the threads closeWriter is called, in that case we don't know when all the data is finished writing by all the threads but we are returning immediately from close writer after setting the close flag to true. This does not ensure complete processing of data.

Solution:
Make the row addition logic synchronized and modify the code in closeWriter to ensure data completeness.

This closes #2286

1 of 1 new or added line in 1 file covered. (100.0%)

51496 of 68799 relevant lines covered (74.85%)

1.0 hits per line

Jobs
ID Job ID Ran Files Coverage
1 422.1 10 May 2018 05:14PM UTC 0
74.85
Source Files on build 422
Detailed source file information is not available for this build.
  • Back to Repo
  • Jenkins Build #422
  • fe436c3e on github
  • Prev Build on master (#421)
  • Next Build on master (#423)
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