Skip to content

[regression-test](fix) fix StreamLoadAction bug#51461

Merged
liaoxin01 merged 2 commits into
apache:masterfrom
shuke987:0603-13
Jun 5, 2025
Merged

[regression-test](fix) fix StreamLoadAction bug#51461
liaoxin01 merged 2 commits into
apache:masterfrom
shuke987:0603-13

Conversation

@shuke987

@shuke987 shuke987 commented Jun 3, 2025

Copy link
Copy Markdown
Collaborator

What problem does this PR solve?

fix:
When running stream load on same remote file, sometimes load meets
Caused by: org.apache.http.client.NonRepeatableRequestException: Cannot retry request with a non-repeatable request entity at org.apache.http.impl.execchain.RetryExec.execute(RetryExec.java:108) at org.apache.http.impl.execchain.RedirectExec.execute(RedirectExec.java:110) at org.apache.http.impl.client.InternalHttpClient.doExecute(InternalHttpClient.java:185) ... 100 common frames omitted Caused by: org.apache.http.ConnectionClosedException: Premature end of Content-Length delimited message body (expected: 129,961,387; received: 120,217,793)

This pr try to solve this problem by put resp body into different buffer.

Issue Number: close #xxx

Related PR: #xxx

Problem Summary:

Release note

None

Check List (For Author)

  • Test

    • Regression test
    • Unit Test
    • Manual test (add detailed scripts or steps below)
    • No need to test or manual test. Explain why:
      • This is a refactor/code format and no logic has been changed.
      • Previous test can cover this change.
      • No code files have been changed.
      • Other reason
  • Behavior changed:

    • No.
    • Yes.
  • Does this need documentation?

    • No.
    • Yes.

Check List (For Reviewer who merge this PR)

  • Confirm the release note
  • Confirm test cases
  • Confirm document
  • Add branch pick label

@Thearas

Thearas commented Jun 3, 2025

Copy link
Copy Markdown
Contributor

Thank you for your contribution to Apache Doris.
Don't know what should be done next? See How to process your PR.

Please clearly describe your PR:

  1. What problem was fixed (it's best to include specific error reporting information). How it was fixed.
  2. Which behaviors were modified. What was the previous behavior, what is it now, why was it modified, and what possible impacts might there be.
  3. What features were added. Why was this function added?
  4. Which code was refactored and why was this part of the code refactored?
  5. Which functions were optimized and what is the difference before and after the optimization?

@shuke987 shuke987 marked this pull request as ready for review June 4, 2025 11:01
@shuke987

shuke987 commented Jun 4, 2025

Copy link
Copy Markdown
Collaborator Author

run buildall

@github-actions github-actions Bot added the approved Indicates a PR has been approved by one committer. label Jun 4, 2025
@github-actions

github-actions Bot commented Jun 4, 2025

Copy link
Copy Markdown
Contributor

PR approved by at least one committer and no changes requested.

@github-actions

github-actions Bot commented Jun 4, 2025

Copy link
Copy Markdown
Contributor

PR approved by anyone and no changes requested.

@liaoxin01 liaoxin01 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

LGTM

@liaoxin01 liaoxin01 merged commit 6e2f2ee into apache:master Jun 5, 2025
26 of 27 checks passed
hello-stephen added a commit that referenced this pull request Jun 11, 2025
hello-stephen added a commit that referenced this pull request Jun 11, 2025
Reverts #51461

encounter error when running p2 case: "response:
nulljava.lang.OutOfMemoryError: Java heap space"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

approved Indicates a PR has been approved by one committer. reviewed

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants