apache / apache/hudi

Use custom (mocked) FS w/ custom scheme in TestHoodieLogFormat

Open
#15,712 0 comments 0 reactions 0 assignees View on GitHub
area:tests from-jira priority:high
Dominant language
Java
Stars
6.2k
Forks
2.5k
Avg merge
2d 8h
Merged PRs (30d)
111

Description

Use custom (mocked) FS w/ custom scheme, so that we don't need to call setAccessible (which is deprecated in JDK 17)

https://github.com/apache/hudi/pull/6830#discussion_r1086202983

## JIRA info

- Link: https://issues.apache.org/jira/browse/HUDI-5614
- Type: Test

Contributor guide

No contributing guide indexed for this repository

Research direction

Start with the TestHoodieLogFormat test and review the linked pull request discussion for the current use of setAccessible. Replace that test setup with a custom mocked filesystem using a custom scheme, then verify the test passes without relying on the deprecated JDK 17 access call.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
testing
Issue type
Refactor
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.