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

[BUG] Add support for reading partial files to HDFS repository #9513

Closed
andrross opened this issue Aug 23, 2023 · 0 comments · Fixed by #9524
Closed

[BUG] Add support for reading partial files to HDFS repository #9513

andrross opened this issue Aug 23, 2023 · 0 comments · Fixed by #9524
Assignees
Labels

Comments

@andrross
Copy link
Member

andrross commented Aug 23, 2023

This method is unimplemented: https://github.com/opensearch-project/OpenSearch/blob/main/plugins/repository-hdfs/src/main/java/org/opensearch/repositories/hdfs/HdfsBlobContainer.java#L127-L130

I believe it can be implemented by opening a file stream, seeking to the desired position, and limiting the resulting stream to the specified length.

Related #9291

andrross added a commit to andrross/OpenSearch that referenced this issue Aug 23, 2023
@andrross andrross self-assigned this Aug 23, 2023
andrross added a commit to andrross/OpenSearch that referenced this issue Aug 23, 2023
andrross added a commit that referenced this issue Aug 24, 2023
opensearch-trigger-bot bot pushed a commit that referenced this issue Aug 24, 2023
Resolves #9513

Signed-off-by: Andrew Ross <[email protected]>
(cherry picked from commit 762c70b)
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
andrross pushed a commit that referenced this issue Aug 24, 2023
Resolves #9513


(cherry picked from commit 762c70b)

Signed-off-by: Andrew Ross <[email protected]>
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
austintlee pushed a commit to austintlee/OpenSearch that referenced this issue Aug 25, 2023
Gaganjuneja pushed a commit to Gaganjuneja/OpenSearch that referenced this issue Aug 28, 2023
Gaganjuneja pushed a commit to Gaganjuneja/OpenSearch that referenced this issue Aug 28, 2023
kkmr pushed a commit to kkmr/OpenSearch that referenced this issue Aug 28, 2023
kaushalmahi12 pushed a commit to kaushalmahi12/OpenSearch that referenced this issue Sep 12, 2023
brusic pushed a commit to brusic/OpenSearch that referenced this issue Sep 25, 2023
shiv0408 pushed a commit to Gaurav614/OpenSearch that referenced this issue Apr 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant