macos m1 pro上启动失败

Viewed 17
2025-04-02 00:40:33,436 INFO (main|1) [DorisFE.printVersion():379] Build version: doris-2.0.15.1
2025-04-02 00:40:33,475 INFO (main|1) [DorisFE.printVersion():380] Build time: Tue, 19 Nov 2024 15:58:57 CST
2025-04-02 00:40:33,477 INFO (main|1) [DorisFE.printVersion():381] Build info: qa-regression-nodes-agent
2025-04-02 00:40:33,480 INFO (main|1) [DorisFE.printVersion():382] Build hash: git://qa-regression-nodes-agent@279e7f0d39c20ac541488b1e78b7bd1523ed8878
2025-04-02 00:40:33,486 INFO (main|1) [DorisFE.printVersion():383] Java compile version: openjdk full version "1.8.0_392-b12"
2025-04-02 00:40:33,510 INFO (main|1) [DorisFE.start():143] Doris FE starting...
2025-04-02 00:40:33,553 INFO (main|1) [FrontendOptions.initAddrUseIp():99] local address: /172.28.10.2.
2025-04-02 00:40:36,198 INFO (main|1) [ConsistencyChecker.initWorkTime():106] consistency checker will work from 23:00 to 23:00
2025-04-02 00:40:41,350 INFO (main|1) [PrivTable.addEntry():89] add priv entry: Node_priv Admin_priv 
2025-04-02 00:40:41,358 INFO (main|1) [PrivTable.addEntry():89] add priv entry: Admin_priv 
2025-04-02 00:40:41,609 INFO (main|1) [PrivTable.addEntry():89] add priv entry: database privilege.ctl: internal, db: default_cluster:information_schema, priv: Select_priv 
2025-04-02 00:40:41,618 INFO (main|1) [PrivTable.addEntry():89] add priv entry: database privilege.ctl: internal, db: default_cluster:mysql, priv: Select_priv 
2025-04-02 00:40:41,629 INFO (main|1) [PrivTable.addEntry():89] add priv entry: origWorkloadGroup:normal, priv:Usage_priv 
2025-04-02 00:40:41,636 INFO (main|1) [Auth.createUserInternal():484] finished to create user: 'root'@'%', is replay: true
2025-04-02 00:40:41,642 INFO (main|1) [PrivTable.addEntry():89] add priv entry: database privilege.ctl: internal, db: default_cluster:information_schema, priv: Select_priv 
2025-04-02 00:40:41,653 INFO (main|1) [PrivTable.addEntry():89] add priv entry: database privilege.ctl: internal, db: default_cluster:mysql, priv: Select_priv 
2025-04-02 00:40:41,661 INFO (main|1) [PrivTable.addEntry():89] add priv entry: origWorkloadGroup:normal, priv:Usage_priv 
2025-04-02 00:40:41,665 INFO (main|1) [Auth.createUserInternal():484] finished to create user: 'admin'@'%', is replay: true
2025-04-02 00:40:42,761 INFO (main|1) [Env.getSelfHostPort():1245] get self node: HostInfo{host='172.28.10.2', port=9010}
2025-04-02 00:40:42,767 INFO (main|1) [Env.getHelperNodes():1299] get helper nodes: [HostInfo{host='172.28.10.2', port=9010}]
2025-04-02 00:40:42,936 INFO (main|1) [Env.getClusterIdAndRole():1010] very first time to start this node. role: FOLLOWER, node name: fe_5c97830b_af7a_4660_908a_6e5092175b5c
2025-04-02 00:40:42,964 INFO (main|1) [Env.getClusterIdAndRole():1052] add self frontend: name: fe_5c97830b_af7a_4660_908a_6e5092175b5c, role: FOLLOWER, 172.28.10.2:9010, is alive: true
2025-04-02 00:40:42,970 INFO (main|1) [Env.getClusterIdAndRole():1170] finished to get cluster id: 552129208, isElectable: true, role: FOLLOWER and node name: fe_5c97830b_af7a_4660_908a_6e5092175b5c
2025-04-02 00:40:43,068 INFO (main|1) [Env.loadImage():1787] image does not exist: /opt/apache-doris/fe/doris-meta/image/image.0
2025-04-02 00:40:54,192 ERROR (main|1) [BDBEnvironment.setup():208] error to open replicated environment. will exit.
com.sleepycat.je.EnvironmentFailureException: (JE 18.3.12) fe_5c97830b_af7a_4660_908a_6e5092175b5c(-1):/opt/apache-doris/fe/doris-meta/bdb Can not register /opt/apache-doris/fe/doris-meta/bdb or its sub-directories to WatchService. UNEXPECTED_EXCEPTION: Unexpected internal Exception, may have side effects. Environment is invalid and must be closed.
	at com.sleepycat.je.log.FileDeletionDetector.<init>(FileDeletionDetector.java:145) ~[je-18.3.14-doris-SNAPSHOT.jar:18.3.14-doris-SNAPSHOT]
	at com.sleepycat.je.log.FileManager.<init>(FileManager.java:456) ~[je-18.3.14-doris-SNAPSHOT.jar:18.3.14-doris-SNAPSHOT]
	at com.sleepycat.je.dbi.EnvironmentImpl.<init>(EnvironmentImpl.java:646) ~[je-18.3.14-doris-SNAPSHOT.jar:18.3.14-doris-SNAPSHOT]
	at com.sleepycat.je.rep.impl.RepImpl.<init>(RepImpl.java:328) ~[je-18.3.14-doris-SNAPSHOT.jar:18.3.14-doris-SNAPSHOT]
	at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) ~[?:1.8.0_352-352]
	at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62) ~[?:1.8.0_352-352]
	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) ~[?:1.8.0_352-352]
	at java.lang.reflect.Constructor.newInstance(Constructor.java:423) ~[?:1.8.0_352-352]
	at com.sleepycat.je.dbi.DbEnvPool.loadRepImpl(DbEnvPool.java:261) ~[je-18.3.14-doris-SNAPSHOT.jar:18.3.14-doris-SNAPSHOT]
	at com.sleepycat.je.dbi.DbEnvPool.getEnvironment(DbEnvPool.java:195) ~[je-18.3.14-doris-SNAPSHOT.jar:18.3.14-doris-SNAPSHOT]
	at com.sleepycat.je.Environment.makeEnvironmentImpl(Environment.java:278) ~[je-18.3.14-doris-SNAPSHOT.jar:18.3.14-doris-SNAPSHOT]
	at com.sleepycat.je.Environment.<init>(Environment.java:258) ~[je-18.3.14-doris-SNAPSHOT.jar:18.3.14-doris-SNAPSHOT]
	at com.sleepycat.je.rep.ReplicatedEnvironment.<init>(ReplicatedEnvironment.java:605) ~[je-18.3.14-doris-SNAPSHOT.jar:18.3.14-doris-SNAPSHOT]
	at com.sleepycat.je.rep.ReplicatedEnvironment.<init>(ReplicatedEnvironment.java:464) ~[je-18.3.14-doris-SNAPSHOT.jar:18.3.14-doris-SNAPSHOT]
	at com.sleepycat.je.rep.ReplicatedEnvironment.<init>(ReplicatedEnvironment.java:538) ~[je-18.3.14-doris-SNAPSHOT.jar:18.3.14-doris-SNAPSHOT]
	at org.apache.doris.journal.bdbje.BDBEnvironment.setup(BDBEnvironment.java:179) ~[doris-fe.jar:1.2-SNAPSHOT]
	at org.apache.doris.journal.bdbje.BDBJEJournal.open(BDBJEJournal.java:394) ~[doris-fe.jar:1.2-SNAPSHOT]
	at org.apache.doris.persist.EditLog.open(EditLog.java:1140) ~[doris-fe.jar:1.2-SNAPSHOT]
	at org.apache.doris.catalog.Env.initialize(Env.java:916) ~[doris-fe.jar:1.2-SNAPSHOT]
	at org.apache.doris.DorisFE.start(DorisFE.java:165) ~[doris-fe.jar:1.2-SNAPSHOT]
	at org.apache.doris.DorisFE.main(DorisFE.java:84) ~[doris-fe.jar:1.2-SNAPSHOT]
Caused by: java.io.IOException: Function not implemented
	at sun.nio.fs.LinuxWatchService.<init>(LinuxWatchService.java:64) ~[?:1.8.0_352-352]
	at sun.nio.fs.LinuxFileSystem.newWatchService(LinuxFileSystem.java:47) ~[?:1.8.0_352-352]
	at com.sleepycat.je.log.FileDeletionDetector.<init>(FileDeletionDetector.java:85) ~[je-18.3.14-doris-SNAPSHOT.jar:18.3.14-doris-SNAPSHOT]
	... 20 more

version: '3'
services:
  docker-fe:
    image: "registry.cn-hangzhou.aliyuncs.com/jh-lanss/doris:fe-arm64-2.0.15"
    container_name: "doris-fe"
    hostname: "fe"
    environment:
      - FE_SERVERS=fe1:172.28.10.2:9010
      - FE_ID=1
    ports:
      - 8030:8030
      - 9030:9030
    volumes:
      - ./data/fe/doris-meta:/opt/apache-doris/fe/doris-meta
      - ./data/fe/log:/opt/apache-doris/fe/log
    networks:
      doris_net:
        ipv4_address: 172.28.10.2  
  docker-be:
    image: "registry.cn-hangzhou.aliyuncs.com/jh-lanss/doris:be-arm64-2.0.15"
    container_name: "doris-be"
    hostname: "be"
    depends_on:
      - docker-fe
    environment:
      - FE_SERVERS=fe1:172.28.10.2:9010
      - BE_ADDR=172.28.10.3:9050
      - vm.max_map_count=2000000
    ports:
      - 8040:8040
    volumes:
      - ./data/be/storage:/opt/apache-doris/be/storage
      - ./data/be/log:/opt/apache-doris/be/log
    networks:
      doris_net:
        ipv4_address: 172.28.10.3  
        
networks:
  doris_net:
    ipam:
      config:
        - subnet: 172.28.10.0/24

0 Answers