Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[hotfix][test] Initializing MiniDFSCluster avoid using deprecated methods. #5236

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

slfan1989
Copy link
Contributor

What changes were proposed in this pull request?

I have been recently tracking the issue of upgrading Hadoop from 3.3.6 to 3.4.0. During this process, I identified an improvement point: we are using deprecated methods while initializing MiniDFSCluster. Currently, four unit tests utilize deprecated methods, while others use the recommended ones. Instead of creating a JIRA ticket, I am attempting to fix it directly using a hotfix approach.

Why are the changes needed?

It is better to use the recommended method.

Does this PR introduce any user-facing change?

No.

Is the change a dependency upgrade?

No.

How was this patch tested?

This pr is upgrading the code for unit tests, and the upgraded code won't introduce any other issues.

Copy link

sonarcloud bot commented May 5, 2024

Quality Gate Passed Quality Gate passed

Issues
0 New issues
0 Accepted issues

Measures
0 Security Hotspots
No data about Coverage
No data about Duplication

See analysis details on SonarCloud

@zhangbutao
Copy link
Contributor

@slfan1989 IMO, though this is a hotfix , we still need a JIRA to track this change. :)

@slfan1989
Copy link
Contributor Author

@slfan1989 IMO, though this is a hotfix , we still need a JIRA to track this change. :)

@zhangbutao Thanks for your suggestion! I will create a JIRA to follow this change.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
3 participants