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

GH-35635: [C++][CI] Preserve root when ignoring host on PathFromUriHelper to fix HDFS tests #36063

Merged
merged 1 commit into from
Jun 20, 2023

Conversation

raulcd
Copy link
Member

@raulcd raulcd commented Jun 14, 2023

Rationale for this change

As discussed on the issue the HDFS filesystem should be returning / if the entire path is /

What changes are included in this PR?

Change behavior of helper PathFromUriHelper when ignoring host to preserve /

Are these changes tested?

On CI and archery.

Are there any user-facing changes?

No

@raulcd
Copy link
Member Author

raulcd commented Jun 14, 2023

@github-actions crossbow submit testhdfs

@github-actions github-actions bot added the awaiting committer review Awaiting committer review label Jun 14, 2023
@github-actions
Copy link

Revision: 902203d

Submitted crossbow builds: ursacomputing/crossbow @ actions-b0ca0b5418

Task Status
test-conda-python-3.10-hdfs-2.9.2 Github Actions
test-conda-python-3.10-hdfs-3.2.1 Github Actions

@raulcd raulcd changed the title GH-35635: [C++][CI] Preserve root when when ignoring host on PathFromUriHelper to fix HDFS tests GH-35635: [C++][CI] Preserve root when ignoring host on PathFromUriHelper to fix HDFS tests Jun 14, 2023
@raulcd raulcd marked this pull request as ready for review June 14, 2023 14:45
@raulcd raulcd requested a review from westonpace June 14, 2023 14:45
@raulcd
Copy link
Member Author

raulcd commented Jun 14, 2023

@westonpace do you think this approach is ok?

Copy link
Member

@westonpace westonpace left a comment

Choose a reason for hiding this comment

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

Yes, this looks correct to me. Thanks for investigating!

@westonpace westonpace merged commit f959a2e into apache:main Jun 20, 2023
35 of 36 checks passed
@github-actions github-actions bot added awaiting merge Awaiting merge and removed awaiting committer review Awaiting committer review labels Jun 20, 2023
@conbench-apache-arrow
Copy link

Conbench analyzed the 6 benchmark runs on commit f959a2e0.

There were no benchmark performance regressions. 🎉

The full Conbench report has more details.

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.

[CI][C++] TestHadoopFileSystem.FileSystemFromUri fails on our nightly hdfs tests
2 participants