[fix](meta) fix timeout for syncing image when FE scales out#51120
Merged
dataroaring merged 1 commit intoapache:masterfrom May 22, 2025
Merged
[fix](meta) fix timeout for syncing image when FE scales out#51120dataroaring merged 1 commit intoapache:masterfrom
dataroaring merged 1 commit intoapache:masterfrom
Conversation
Contributor
|
Thank you for your contribution to Apache Doris. Please clearly describe your PR:
|
Contributor
Author
|
run buildall |
TPC-H: Total hot run time: 33828 ms |
gavinchou
approved these changes
May 21, 2025
Contributor
|
PR approved by at least one committer and no changes requested. |
Contributor
|
PR approved by anyone and no changes requested. |
TPC-DS: Total hot run time: 186926 ms |
ClickBench: Total hot run time: 29.01 s |
github-actions bot
pushed a commit
that referenced
this pull request
May 22, 2025
Related PR: #26003 Problem Summary: > If image file is very huge, it maybe occurs http Read timed out when pulling image from FE Master ```java java.io.IOException: java.net.SocketTimeoutException: Read timed out at org.apache.doris.catalog.Env.getNewImage(Env.java:1664) at org.apache.doris.catalog.Env.getClusterIdAndRole(Env.java:1126) at org.apache.doris.catalog.Env.initialize(Env.java:884) at org.apache.doris.DorisFE.start(DorisFE.java:163) at org.apache.doris.DorisFE.main(DorisFE.java:83) Caused by: java.net.SocketTimeoutException: Read timed out at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62) at sun. reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) at java.lang.reflect.Constructor.newInstance(Constructor.java:423) at sun.net.www.protocol.http.HttpURLConnection$10.run(HttpURLConnection.java:1952) at sun.net.www.protocol.http.HttpURLConnection$10.run(HttpURLConnection.java:1947) at java.security.AccessController.doPrivileged(Native Method) at sun.net.www.protocol.http.HttpURLConnection.getChainedException(HttpURLConnection.iava:1946) at sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1516) at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1500) at org.apache.doris.master.MetaHelper.getResponse(MetaHelper.java:130) at org.apache.doris.master.MetaHelper.getRemoteFile(MetaHelper.java:98) at org.apache.doris.catalog.Env.getNewImage(Env.java:1657) ... 4 more ```
github-actions bot
pushed a commit
that referenced
this pull request
May 22, 2025
Related PR: #26003 Problem Summary: > If image file is very huge, it maybe occurs http Read timed out when pulling image from FE Master ```java java.io.IOException: java.net.SocketTimeoutException: Read timed out at org.apache.doris.catalog.Env.getNewImage(Env.java:1664) at org.apache.doris.catalog.Env.getClusterIdAndRole(Env.java:1126) at org.apache.doris.catalog.Env.initialize(Env.java:884) at org.apache.doris.DorisFE.start(DorisFE.java:163) at org.apache.doris.DorisFE.main(DorisFE.java:83) Caused by: java.net.SocketTimeoutException: Read timed out at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62) at sun. reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) at java.lang.reflect.Constructor.newInstance(Constructor.java:423) at sun.net.www.protocol.http.HttpURLConnection$10.run(HttpURLConnection.java:1952) at sun.net.www.protocol.http.HttpURLConnection$10.run(HttpURLConnection.java:1947) at java.security.AccessController.doPrivileged(Native Method) at sun.net.www.protocol.http.HttpURLConnection.getChainedException(HttpURLConnection.iava:1946) at sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1516) at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1500) at org.apache.doris.master.MetaHelper.getResponse(MetaHelper.java:130) at org.apache.doris.master.MetaHelper.getRemoteFile(MetaHelper.java:98) at org.apache.doris.catalog.Env.getNewImage(Env.java:1657) ... 4 more ```
koarz
pushed a commit
to koarz/doris
that referenced
this pull request
Jun 4, 2025
…51120) Related PR: apache#26003 Problem Summary: > If image file is very huge, it maybe occurs http Read timed out when pulling image from FE Master ```java java.io.IOException: java.net.SocketTimeoutException: Read timed out at org.apache.doris.catalog.Env.getNewImage(Env.java:1664) at org.apache.doris.catalog.Env.getClusterIdAndRole(Env.java:1126) at org.apache.doris.catalog.Env.initialize(Env.java:884) at org.apache.doris.DorisFE.start(DorisFE.java:163) at org.apache.doris.DorisFE.main(DorisFE.java:83) Caused by: java.net.SocketTimeoutException: Read timed out at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62) at sun. reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) at java.lang.reflect.Constructor.newInstance(Constructor.java:423) at sun.net.www.protocol.http.HttpURLConnection$10.run(HttpURLConnection.java:1952) at sun.net.www.protocol.http.HttpURLConnection$10.run(HttpURLConnection.java:1947) at java.security.AccessController.doPrivileged(Native Method) at sun.net.www.protocol.http.HttpURLConnection.getChainedException(HttpURLConnection.iava:1946) at sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1516) at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1500) at org.apache.doris.master.MetaHelper.getResponse(MetaHelper.java:130) at org.apache.doris.master.MetaHelper.getRemoteFile(MetaHelper.java:98) at org.apache.doris.catalog.Env.getNewImage(Env.java:1657) ... 4 more ```
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What problem does this PR solve?
Issue Number: close #xxx
Related PR: #26003
Problem Summary:
Release note
None
Check List (For Author)
Test
Behavior changed:
Does this need documentation?
Check List (For Reviewer who merge this PR)