Skip to content

Conversation

alerman
Copy link
Collaborator

@alerman alerman commented Aug 8, 2025

No description provided.

keith-ratcliffe and others added 15 commits August 8, 2025 00:38
WIP adapt DW PR#2568 to use accumulo PR#4898

These draft changes build on #2568 with the following differences.

 * Compute bulkv2 load plans using new unreleased APIs in accumulo PR
   4898
 * The table splits are loaded at the beginning of writing to rfiles
   instead of at the end.  Not sure about the overall implications on
   on memory use in reducers of this change.  The load plan could
   be computed after the rfile is closed using a new API in 4898 if
   defering the loading of tablet splits is desired.
 * Switches to using accumulo public APIs for writing rfiles instaead of
   internal accumulo methods. Well public once they are actually
   released.
 * The algorithm to compute the load plan does less work per key/value.
   Should be rougly constant time vs log(N).
 * Adds a simple SortedList class.  This reason this was added is that
   this code does binary searches on list, however it was not certain
   those list were actually sorted.  If the list was not sorted it would
   not cause exceptions in binary search but could lead to incorrect load
   plans and lost data. This new SortedList class ensures list are
   sorted and allows this assurance to travel around in the code.  Maybe
   this change should be its own PR.
Block zookeeper deps from accumulo

Version mismatchs between zookeeper-jute was causing build failures.
Excluded the zookeeper deps to ensure the correct zookeeper version was
pulled in from elsewhere.
Removes SortedList for now
- Remove V2_LOCAL_MAPPING mode since it is unused
- Additional log4j updates for slf4j 2.x compatibility
- Quickstart fixes
- Other minor cleanup
@alerman
Copy link
Collaborator Author

alerman commented Aug 8, 2025

Replaces and closes #2727

@alerman alerman mentioned this pull request Aug 8, 2025
@alerman alerman enabled auto-merge August 12, 2025 18:39
@alerman alerman disabled auto-merge August 12, 2025 18:39
Copy link
Collaborator

@ddanielr ddanielr left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Changes look good.
There are minor dep exclusions that can be cleaned up in a follow-on PR.
Given the scope of changes, it's ideal to get this merged in now vs waiting for everything to be perfect.

@alerman alerman added the linked label Aug 13, 2025
@alerman alerman added this pull request to the merge queue Aug 13, 2025
Merged via the queue into integration with commit 674fb29 Aug 13, 2025
8 checks passed
skyler-kv pushed a commit that referenced this pull request Aug 26, 2025
Co-authored-by: keith-ratcliffe <[email protected]>
Co-authored-by: Daniel Roberts ddanielr <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants