doris FE启动异常:org.yaml.snakeyaml.representer.Representer: method <init>()V not found

doris FF启动异常,异常信息如下:

 

 

2023-11-01 09:53:22,691 INFO (main|1) [PaloFe.start():124] Palo FE starting...
2023-11-01 09:53:22,699 INFO (main|1) [FrontendOptions.analyzePriorityCidrs():107] configured prior_cidrs value: 10.252.226.5/24
2023-11-01 09:53:22,719 INFO (main|1) [FrontendOptions.init():87] local address: /10.252.226.5.
2023-11-01 09:53:22,876 INFO (main|1) [ConsistencyChecker.initWorkTime():106] consistency checker will work from 23:00 to 23:00
2023-11-01 09:53:23,598 INFO (main|1) [PrivTable.addEntry():83] add priv entry: global priv. host: %, user: root, priv: , set by resolver: false, domain user ident: null
2023-11-01 09:53:23,601 INFO (main|1) [PaloAuth.setPasswordInternal():1250] finished to set password for 'root'@'%'. is replay: true
2023-11-01 09:53:23,602 INFO (main|1) [PaloAuth.grantInternal():936] finished to grant privilege. is replay: true
2023-11-01 09:53:23,602 INFO (main|1) [PaloAuth.grantInternal():968] finished to grant resource privilege. is replay: true
2023-11-01 09:53:23,602 INFO (main|1) [PaloAuth.createUserInternal():772] finished to create user: 'root'@'%', is replay: true
2023-11-01 09:53:23,603 INFO (main|1) [PrivTable.addEntry():83] add priv entry: global priv. host: %, user: admin, priv: , set by resolver: false, domain user ident: null
2023-11-01 09:53:23,603 INFO (main|1) [PaloAuth.setPasswordInternal():1250] finished to set password for 'admin'@'%'. is replay: true
2023-11-01 09:53:23,603 INFO (main|1) [PaloAuth.grantInternal():936] finished to grant privilege. is replay: true
2023-11-01 09:53:23,603 INFO (main|1) [PaloAuth.grantInternal():968] finished to grant resource privilege. is replay: true
2023-11-01 09:53:23,603 INFO (main|1) [PaloAuth.createUserInternal():772] finished to create user: 'admin'@'%', is replay: true
2023-11-01 09:53:23,690 INFO (main|1) [Env.getHelperNodes():1228] get helper nodes: [10.252.226.5:9010]
2023-11-01 09:53:23,697 INFO (main|1) [Env.getClusterIdAndRole():1103] finished to get cluster id: 85935729, role: FOLLOWER and node name: 10.252.226.5_9010_1695191501454
2023-11-01 09:53:23,706 INFO (main|1) [MetaReader.read():71] start load image from /data/gdp/3.0.0.0/doris/doris-meta/image/image.1081014. is ckpt: false
2023-11-01 09:53:23,761 INFO (main|1) [MetaHeader.read():74] Image header length: 21, format: COR1.
2023-11-01 09:53:23,763 INFO (main|1) [MetaFooter.read():84] Image footer length: 599, indices: [header:29, masterInfo:50, frontends:74, backends:493, datasource:3392, db:3472, loadJob:2062222, alterJob:2062247, recycleBin:2062283, globalVariable:2062299, cluster:2066384, broker:2066572, resources:2066576, exportJob:2066606, syncJob:2066610, backupHandler:2066614, paloAuth:2066622, transactionState:2071191, colocateTableIndex:2071207, routineLoadJobs:2071215, loadJobV2:2071219, smallFiles:2071223, plugins:2071227, deleteHandler:2071231, sqlBlockRule:2071262, policy:2071299, mtmvJobManager:2071570]
2023-11-01 09:53:23,767 INFO (main|1) [Env.loadHeaderCOR1():1698] finished replay header from image
2023-11-01 09:53:23,787 INFO (main|1) [Env.loadMasterInfo():1709] finished replay masterInfo from image
2023-11-01 09:53:23,788 INFO (main|1) [Env.loadFrontends():1726] finished replay frontends from image
2023-11-01 09:53:24,275 INFO (main|1) [Env.loadCatalog():1978] finished replay catalog from image
2023-11-01 09:53:24,500 INFO (main|1) [InternalCatalog.loadDb():3439] finished replay databases from image
2023-11-01 09:53:24,501 INFO (main|1) [Env.loadLoadJob():1783] finished replay loadJob from image
2023-11-01 09:53:24,502 INFO (main|1) [Env.loadAlterJob():1817] finished replay alterJob from image
2023-11-01 09:53:24,502 INFO (main|1) [Env.loadRecycleBin():1908] finished replay recycleBin from image
2023-11-01 09:53:24,526 INFO (main|1) [Env.loadGlobalVariable():1915] finished replay globalVariable from image
2023-11-01 09:53:24,532 INFO (main|1) [InternalCatalog.loadCluster():3323] finished replay cluster from image
2023-11-01 09:53:24,532 INFO (main|1) [Env.loadBrokers():4737] finished replay brokerMgr from image
2023-11-01 09:53:24,533 INFO (main|1) [Env.loadResources():1939] finished replay resources from image
2023-11-01 09:53:24,533 INFO (main|1) [Env.loadExportJob():1800] finished replay exportJob from image
2023-11-01 09:53:24,533 INFO (main|1) [Env.loadSyncJobs():1808] finished replay syncJobMgr from image
2023-11-01 09:53:24,533 INFO (main|1) [Env.loadBackupHandler():1872] finished replay backupHandler from image
2023-11-01 09:53:24,537 INFO (main|1) [Env.loadPaloAuth():1885] finished replay paloAuth from image
2023-11-01 09:53:24,537 INFO (main|1) [Env.loadTransactionState():1893] finished replay transactionState from image
2023-11-01 09:53:24,537 INFO (main|1) [Env.loadColocateTableIndex():1921] finished replay colocateTableIndex from image
2023-11-01 09:53:24,537 INFO (main|1) [Env.loadRoutineLoadJobs():1927] finished replay routineLoadJobs from image
2023-11-01 09:53:24,537 INFO (main|1) [Env.loadLoadJobsV2():1933] finished replay loadJobsV2 from image
2023-11-01 09:53:24,537 INFO (main|1) [Env.loadSmallFiles():1945] finished replay smallFiles from image
2023-11-01 09:53:24,537 INFO (main|1) [Env.loadPlugins():5041] finished replay plugins from image
2023-11-01 09:53:24,704 INFO (main|1) [Env.loadDeleteHandler():1878] finished replay deleteHandler from image
2023-11-01 09:53:24,705 INFO (main|1) [Env.loadSqlBlockRule():1953] finished replay sqlBlockRule from image
2023-11-01 09:53:24,708 INFO (main|1) [Env.loadPolicy():1964] finished replay policy from image
2023-11-01 09:53:24,708 INFO (main|1) [MetaReader.read():104] finished to load image in 1002 ms
2023-11-01 09:53:25,977 INFO (UNKNOWN 10.252.226.5_9010_1695191501454(-1)|1) [BDBEnvironment.setup():162] add helper[10.252.226.5:9010] as ReplicationGroupAdmin
2023-11-01 09:53:25,982 WARN (UNKNOWN 10.252.226.5_9010_1695191501454(-1)|1) [Env.notifyNewFETypeTransfer():2377] notify new FE type transfer: UNKNOWN
2023-11-01 09:53:26,008 INFO (stateListener|84) [Env$4.runOneCycle():2400] begin to transfer FE type from INIT to UNKNOWN
2023-11-01 09:53:26,008 INFO (stateListener|84) [Env$4.runOneCycle():2487] finished to transfer FE type to UNKNOWN
2023-11-01 09:53:26,021 WARN (RepNode 10.252.226.5_9010_1695191501454(-1)|72) [Env.notifyNewFETypeTransfer():2377] notify new FE type transfer: FOLLOWER
2023-11-01 09:53:26,022 INFO (stateListener|84) [Env$4.runOneCycle():2400] begin to transfer FE type from UNKNOWN to FOLLOWER
2023-11-01 09:53:26,023 INFO (stateListener|84) [BDBHA.addHelperSocket():241] add 10.252.226.6:9010 to helper sockets
2023-11-01 09:53:26,024 INFO (stateListener|84) [BDBHA.addHelperSocket():241] add 10.252.226.7:9010 to helper sockets
2023-11-01 09:53:26,027 INFO (replayer|87) [Env.replayJournal():2504] replayed journal id is 1081014, replay to journal id is 1099132
2023-11-01 09:53:26,033 INFO (replayer|87) [Env.setMaster():3629] setMaster MasterInfo:MasterInfo: ip=10.252.226.5 httpPort=8130 rpcPort=9020
2023-11-01 09:53:26,110 INFO (UNKNOWN 10.252.226.5_9010_1695191501454(-1)|1) [Env.waitForReady():896] wait catalog to be ready. FE type: UNKNOWN. is ready: false, counter: 1
2023-11-01 09:53:26,127 INFO (replayer|87) [Env.setMaster():3629] setMaster MasterInfo:MasterInfo: ip=10.252.226.7 httpPort=8130 rpcPort=9020
2023-11-01 09:53:26,273 INFO (replayer|87) [Env.setMaster():3629] setMaster MasterInfo:MasterInfo: ip=10.252.226.7 httpPort=8130 rpcPort=9020
2023-11-01 09:53:26,280 INFO (replayer|87) [PrivTable.addEntry():83] add priv entry: global priv. host: %, user: default_cluster:grg_sjtb, priv: , set by resolver: false, domain user ident: null
2023-11-01 09:53:26,281 INFO (replayer|87) [PaloAuth.setPasswordInternal():1250] finished to set password for 'default_cluster:grg_sjtb'@'%'. is replay: true
2023-11-01 09:53:26,282 INFO (replayer|87) [PrivTable.addEntry():83] add priv entry: database privilege. user: default_cluster:grg_sjtb, host: %, ctl: internal, db: default_cluster:information_schema, priv: Select_priv , set by resolver: false
2023-11-01 09:53:26,283 INFO (replayer|87) [PaloAuth.grantInternal():936] finished to grant privilege. is replay: true
2023-11-01 09:53:26,283 INFO (replayer|87) [PaloAuth.createUserInternal():772] finished to create user: 'default_cluster:grg_sjtb'@'%', is replay: true
2023-11-01 09:53:26,297 INFO (replayer|87) [CatalogRecycleBin.recycleDatabase():146] recycle db[76002-default_cluster:hqtest]
2023-11-01 09:53:26,299 INFO (replayer|87) [PaloAuth.grantInternal():936] finished to grant privilege. is replay: true
2023-11-01 09:53:26,299 INFO (replayer|87) [PaloAuth.grantInternal():936] finished to grant privilege. is replay: true
2023-11-01 09:53:26,304 INFO (replayer|87) [Env.replayJournal():2504] replayed journal id is 1099132, replay to journal id is 1099159
2023-11-01 09:53:26,311 INFO (UNKNOWN 10.252.226.5_9010_1695191501454(-1)|1) [Env.waitForReady():890] catalog is ready. FE type: UNKNOWN
2023-11-01 09:53:26,449 INFO (UNKNOWN 10.252.226.5_9010_1695191501454(-1)|1) [FeServer.start():78] thrift server started.
2023-11-01 09:53:26,567 INFO (UNKNOWN 10.252.226.5_9010_1695191501454(-1)|1) [RestartApplicationListener.onApplicationStartingEvent():93] Restart disabled due to System property 'spring.devtools.restart.enabled' being set to false
2023-11-01 09:53:26,849 ERROR (UNKNOWN 10.252.226.5_9010_1695191501454(-1)|1) [SpringApplication.reportFailure():824] Application run failed
java.lang.NoSuchMethodError: org.yaml.snakeyaml.representer.Representer: method <init>()V not found
    at org.springframework.boot.env.OriginTrackedYamlLoader.createYaml(OriginTrackedYamlLoader.java:76) ~[spring-boot-2.7.3.jar:2.7.3]
    at org.springframework.boot.env.OriginTrackedYamlLoader.createYaml(OriginTrackedYamlLoader.java:71) ~[spring-boot-2.7.3.jar:2.7.3]
    at org.springframework.beans.factory.config.YamlProcessor.process(YamlProcessor.java:164) ~[spring-shade-5-1.0.2-SNAPSHOT.jar:1.0.2-SNAPSHOT]
    at org.springframework.boot.env.OriginTrackedYamlLoader.load(OriginTrackedYamlLoader.java:84) ~[spring-boot-2.7.3.jar:2.7.3]
    at org.springframework.boot.env.YamlPropertySourceLoader.load(YamlPropertySourceLoader.java:50) ~[spring-boot-2.7.3.jar:2.7.3]
    at org.springframework.boot.context.config.StandardConfigDataLoader.load(StandardConfigDataLoader.java:54) ~[spring-boot-2.7.3.jar:2.7.3]
    at org.springframework.boot.context.config.StandardConfigDataLoader.load(StandardConfigDataLoader.java:36) ~[spring-boot-2.7.3.jar:2.7.3]
    at org.springframework.boot.context.config.ConfigDataLoaders.load(ConfigDataLoaders.java:107) ~[spring-boot-2.7.3.jar:2.7.3]
    at org.springframework.boot.context.config.ConfigDataImporter.load(ConfigDataImporter.java:128) ~[spring-boot-2.7.3.jar:2.7.3]
    at org.springframework.boot.context.config.ConfigDataImporter.resolveAndLoad(ConfigDataImporter.java:86) ~[spring-boot-2.7.3.jar:2.7.3]
    at org.springframework.boot.context.config.ConfigDataEnvironmentContributors.withProcessedImports(ConfigDataEnvironmentContributors.java:116) ~[spring-boot-2.7.3.jar:2.7.3]
    at org.springframework.boot.context.config.ConfigDataEnvironment.processInitial(ConfigDataEnvironment.java:240) ~[spring-boot-2.7.3.jar:2.7.3]
    at org.springframework.boot.context.config.ConfigDataEnvironment.processAndApply(ConfigDataEnvironment.java:227) ~[spring-boot-2.7.3.jar:2.7.3]
    at org.springframework.boot.context.config.ConfigDataEnvironmentPostProcessor.postProcessEnvironment(ConfigDataEnvironmentPostProcessor.java:102) ~[spring-boot-2.7.3.jar:2.7.3]
    at org.springframework.boot.context.config.ConfigDataEnvironmentPostProcessor.postProcessEnvironment(ConfigDataEnvironmentPostProcessor.java:94) ~[spring-boot-2.7.3.jar:2.7.3]
    at org.springframework.boot.env.EnvironmentPostProcessorApplicationListener.onApplicationEnvironmentPreparedEvent(EnvironmentPostProcessorApplicationListener.java:102) ~[spring-boot-2.7.3.jar:2.7.3]
    at org.springframework.boot.env.EnvironmentPostProcessorApplicationListener.onApplicationEvent(EnvironmentPostProcessorApplicationListener.java:87) ~[spring-boot-2.7.3.jar:2.7.3]
    at org.springframework.context.event.SimpleApplicationEventMulticaster.doInvokeListener(SimpleApplicationEventMulticaster.java:176) ~[spring-context-5.3.22.jar:5.3.22]
    at org.springframework.context.event.SimpleApplicationEventMulticaster.invokeListener(SimpleApplicationEventMulticaster.java:169) ~[spring-context-5.3.22.jar:5.3.22]
    at org.springframework.context.event.SimpleApplicationEventMulticaster.multicastEvent(SimpleApplicationEventMulticaster.java:143) ~[spring-context-5.3.22.jar:5.3.22]
    at org.springframework.context.event.SimpleApplicationEventMulticaster.multicastEvent(SimpleApplicationEventMulticaster.java:131) ~[spring-context-5.3.22.jar:5.3.22]
    at org.springframework.boot.context.event.EventPublishingRunListener.environmentPrepared(EventPublishingRunListener.java:85) ~[spring-boot-2.7.3.jar:2.7.3]
    at org.springframework.boot.SpringApplicationRunListeners.lambda$environmentPrepared$2(SpringApplicationRunListeners.java:66) ~[spring-boot-2.7.3.jar:2.7.3]
    at java.util.ArrayList.forEach(ArrayList.java:1257) ~[?:1.8.0_202]
    at org.springframework.boot.SpringApplicationRunListeners.doWithListeners(SpringApplicationRunListeners.java:120) ~[spring-boot-2.7.3.jar:2.7.3]
    at org.springframework.boot.SpringApplicationRunListeners.doWithListeners(SpringApplicationRunListeners.java:114) ~[spring-boot-2.7.3.jar:2.7.3]
    at org.springframework.boot.SpringApplicationRunListeners.environmentPrepared(SpringApplicationRunListeners.java:65) ~[spring-boot-2.7.3.jar:2.7.3]
    at org.springframework.boot.SpringApplication.prepareEnvironment(SpringApplication.java:344) ~[spring-boot-2.7.3.jar:2.7.3]
    at org.springframework.boot.SpringApplication.run(SpringApplication.java:302) ~[spring-boot-2.7.3.jar:2.7.3]
    at org.springframework.boot.builder.SpringApplicationBuilder.run(SpringApplicationBuilder.java:164) ~[spring-boot-2.7.3.jar:2.7.3]
    at org.apache.doris.httpv2.HttpServer.start(HttpServer.java:134) ~[doris-fe.jar:1.2-SNAPSHOT]
    at org.apache.doris.PaloFe.start(PaloFe.java:160) ~[doris-fe.jar:1.2-SNAPSHOT]
    at org.apache.doris.PaloFe.main(PaloFe.java:73) ~[doris-fe.jar:1.2-SNAPSHOT]
2023-11-01 09:53:27,181 INFO (replayer|87) [Env.replayJournal():2504] replayed journal id is 1099159, replay to journal id is 1099160
2023-11-01 09:53:29,628 INFO (replayer|87) [Env.replayJournal():2504] replayed journal id is 1099160, replay to journal id is 1099161
2023-11-01 09:53:32,186 INFO (replayer|87) [Env.replayJournal():2504] replayed journal id is 1099161, replay to journal id is 1099162

 

1、web 页面访问  异常

2、SHOW PROC '/frontends';   正常

3、进程  正常
 
doris_home/lib目录下存在响应jar包:
[root@pnode5 lib]# ll snakeyaml*
-rw-r--r-- 1 hadoop hadoop 334803 10月 31 16:40 snakeyaml-2.0.jar

 

从其他节点,copy fe目录过来修改IP重启,依然存在这个问题
 

 

posted @ 2023-11-01 14:46  江南叶少  阅读(3235)  评论(0编辑  收藏  举报