Skip to content

[Bug] First time startup not working on Ubuntu 24.04 / FE Exception #60536

@cruftex

Description

@cruftex

Search before asking

  • I had searched in the issues and found no similar issues.

Version

I tried 4.0.1, 4.0.3, 3.0.8 and 3.1.3

What's Wrong?

Doris FE is not starting and throws Exceptions. BE is stopping after a while.

Relevant exception from the log:

fe-1  | Caused by: java.lang.NullPointerException: Cannot invoke "jdk.internal.platform.CgroupInfo.getMountPoint()" because "anyController" is null
fe-1  |         at jdk.internal.platform.cgroupv2.CgroupV2Subsystem.getInstance(CgroupV2Subsystem.java:81) ~[?:?]
fe-1  |         at jdk.internal.platform.CgroupSubsystemFactory.create(CgroupSubsystemFactory.java:113) ~[?:?]
fe-1  |         at jdk.internal.platform.CgroupMetrics.getInstance(CgroupMetrics.java:167) ~[?:?]
fe-1  |         at jdk.internal.platform.SystemMetrics.instance(SystemMetrics.java:29) ~[?:?]
fe-1  |         at jdk.internal.platform.Metrics.systemMetrics(Metrics.java:58) ~[?:?]
fe-1  |         at jdk.internal.platform.Container.metrics(Container.java:43) ~[?:?]
fe-1  |         at com.sun.management.internal.OperatingSystemImpl.<init>(OperatingSystemImpl.java:182) ~[?:?]
fe-1  |         at com.sun.management.internal.PlatformMBeanProviderImpl.getOperatingSystemMXBean(PlatformMBeanProviderImpl.java:280) ~[?:?]
fe-1  |         at com.sun.management.internal.PlatformMBeanProviderImpl$3.nameToMBeanMap(PlatformMBeanProviderImpl.java:199) ~[?:?]
fe-1  |         at sun.management.spi.PlatformMBeanProvider$PlatformComponent.getMBeans(PlatformMBeanProvider.java:195) ~[?:?]
fe-1  |         at java.lang.management.ManagementFactory.getPlatformMXBean(ManagementFactory.java:687) ~[?:?]
fe-1  |         at java.lang.management.ManagementFactory.getOperatingSystemMXBean(ManagementFactory.java:389) ~[?:?]
fe-1  |         at com.sleepycat.je.utilint.JVMSystemUtils.<clinit>(JVMSystemUtils.java:49) ~[je-18.3.14-doris-SNAPSHOT.jar:18.3.14-doris-SNAPSHOT]
fe-1  |         at com.sleepycat.je.dbi.MemoryBudget.calcMaxMemory(MemoryBudget.java:750) ~[je-18.3.14-doris-SNAPSHOT.jar:18.3.14-doris-SNAPSHOT]
fe-1  |         at com.sleepycat.je.dbi.MemoryBudget.<init>(MemoryBudget.java:701) ~[je-18.3.14-doris-SNAPSHOT.jar:18.3.14-doris-SNAPSHOT]
fe-1  |         at com.sleepycat.je.dbi.EnvironmentImpl.<init>(EnvironmentImpl.java:643) ~[je-18.3.14-doris-SNAPSHOT.jar:18.3.14-doris-SNAPSHOT]
fe-1  |         at com.sleepycat.je.rep.impl.RepImpl.<init>(RepImpl.java:328) ~[je-18.3.14-doris-SNAPSHOT.jar:18.3.14-doris-SNAPSHOT]
fe-1  |         at jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) ~[?:?]
fe-1  |         at jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:77) ~[?:?]
fe-1  |         at jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) ~[?:?]
fe-1  |         at java.lang.reflect.Constructor.newInstanceWithCaller(Constructor.java:499) ~[?:?]
fe-1  |         at java.lang.reflect.Constructor.newInstance(Constructor.java:480) ~[?:?]
fe-1  |         at com.sleepycat.je.dbi.DbEnvPool.loadRepImpl(DbEnvPool.java:261) ~[je-18.3.14-doris-SNAPSHOT.jar:18.3.14-doris-SNAPSHOT]

What You Expected?

I can connect with mysql client

How to Reproduce?

I am using Ubuntu 24.04 with Ubuntu packaged docker (docker.io)
The docker version is: Docker version 28.2.2, build 28.2.2-0ubuntu1~24.04.1

Followed: https://doris.apache.org/docs/3.x/gettingStarted/quick-start

wget https://doris.apache.org/files/start-doris.sh
bash start-doris.sh

Anything Else?

I will investigate a bit more. Found some hints here:
oracle/graal#4831

Are you willing to submit PR?

  • Yes I am willing to submit a PR!

Code of Conduct

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions