Skip to content

Conversation

@luozenglin
Copy link
Contributor

@luozenglin luozenglin commented Oct 27, 2023

Proposed changes

The image file of our cluster reaches 2.3G. After the checkpoint, Followers synchronize the image timeout, resulting in the continuous increase of the bdb directory.

related pr: #25768

Further comments

If this is a relatively large or complex change, kick off the discussion at dev@doris.apache.org by explaining why you chose the solution you did and what alternatives you considered, etc...

@luozenglin
Copy link
Contributor Author

run buildall

@doris-robot
Copy link

(From new machine)TeamCity pipeline, clickbench performance test result:
the sum of best hot time: 46.81 seconds
stream load tsv: 556 seconds loaded 74807831229 Bytes, about 128 MB/s
stream load json: 20 seconds loaded 2358488459 Bytes, about 112 MB/s
stream load orc: 64 seconds loaded 1101869774 Bytes, about 16 MB/s
stream load parquet: 32 seconds loaded 861443392 Bytes, about 25 MB/s
insert into select: 29.0 seconds inserted 10000000 Rows, about 344K ops/s
storage size: 17161847382 Bytes

Copy link
Contributor

@dataroaring dataroaring left a comment

Choose a reason for hiding this comment

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

LGTM

@github-actions github-actions bot added the approved Indicates a PR has been approved by one committer. label Oct 27, 2023
@github-actions
Copy link
Contributor

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

@github-actions
Copy link
Contributor

PR approved by anyone and no changes requested.

Copy link
Contributor

@yiguolei yiguolei left a comment

Choose a reason for hiding this comment

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

LGTM

@yiguolei yiguolei merged commit 2464a22 into apache:master Oct 27, 2023
dutyu pushed a commit to dutyu/doris that referenced this pull request Oct 28, 2023
…#26003)

The image file of our cluster reaches 2.3G. After the checkpoint, Followers synchronize the image timeout, resulting in the continuous increase of the bdb directory.

related pr: apache#25768
XuJianxu pushed a commit to XuJianxu/doris that referenced this pull request Dec 14, 2023
…#26003)

The image file of our cluster reaches 2.3G. After the checkpoint, Followers synchronize the image timeout, resulting in the continuous increase of the bdb directory.

related pr: apache#25768
dataroaring 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
```
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
```
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. dev/2.0.3-merged reviewed

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants