apache / apache/accumulo-fluo-recipes

Fix SharedBatchWriter and increase findbugs level

Open
#61 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
19
Forks
19
PR merge metrics
No merged PRs in 30d

Description

In #59, Findbugs was added. It found a bug in the SharedBatchWriter where a static field (exportQueue) is being written to in an instance method (SharedBatchWriter constructor). After this is fixed, the find bugs level should be raised by removing the property findbugs.maxRank from the fluo-recipes parent pom.xml.

Contributor guide

Open the contributing guide

Research direction

Start at the SharedBatchWriter constructor, where exportQueue is written, and inspect the parent pom.xml property findbugs.maxRank. Done means the static-field write is corrected and removing that property raises the FindBugs level without introducing new findings.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
backend, build-system
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.