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

HDDS-4391. UnixPath.toUri() is expensive. #1536

Merged
merged 1 commit into from
Oct 30, 2020

Conversation

bharatviswa504
Copy link
Contributor

What changes were proposed in this pull request?

Use Hadoop FS API to normalize, which do not use UnixPath.

@jojochuang tested with this change, and we see now normalize is not showing up in profiler.

What is the link to the Apache JIRA

https://issues.apache.org/jira/browse/HDDS-4391

How was this patch tested?

Existing tests, specially TestNormalizePaths which are already there.

@bharatviswa504
Copy link
Contributor Author

bharatviswa504 commented Oct 30, 2020

Screen Shot 2020-10-29 at 5 17 45 PM

Thank You @jojochuang for testing and sharing the profiler output, now in profiler, this is not showing up like before.

@bharatviswa504 bharatviswa504 merged commit 8d3d6e4 into apache:master Oct 30, 2020
@bharatviswa504
Copy link
Contributor Author

Thank You @jojochuang for the review

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.

2 participants