Skip to content

Removes hadoop.fs.Path from RecoveryPath#6262

Open
ddanielr wants to merge 1 commit intoapache:mainfrom
ddanielr:feature/wal-recovery-cleanup
Open

Removes hadoop.fs.Path from RecoveryPath#6262
ddanielr wants to merge 1 commit intoapache:mainfrom
ddanielr:feature/wal-recovery-cleanup

Conversation

@ddanielr
Copy link
Copy Markdown
Contributor

Most uses of RecoveryPath were using toString() on the returned object or using new Path() on an existing string to create the new recoveryPath.

This PR removes the need to create various path objects to use RecoveryPath.
It also completely removes the use of hadoop.fs.Path in RecoveryPath and handles the path validation via string manipulation.

This allows the walPath to be processed without multiple getParent calls.

The old method was moved into the test code for behavior validation.

Removes the need to create various path objects to use RecoveryPath
Processes the Path object without multiple getParent calls
@ddanielr ddanielr added this to the 4.0.0 milestone Mar 27, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant