首页 > 其他分享 >doris FE启动异常:org.yaml.snakeyaml.representer.Representer: method <init>()V not found

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

时间:2023-11-01 14:56:41浏览次数:34  
标签:11 INFO 01 09 snakeyaml representer yaml 53 2023

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重启,依然存在这个问题  

 

标签:11,INFO,01,09,snakeyaml,representer,yaml,53,2023
From: https://www.cnblogs.com/sandyyeh/p/17803104.html

相关文章

  • SAP Fiori Elements 应用里的 ui5.yaml 文件详解试读版
    本教程第4篇文章,我们介绍了本地启动SAPFioriElements应用的三种模式。4.SAPFioriElements本地应用启动的三种模式辨析以默认方式即命令行yarnstart启动之后,项目文件夹里的ui5.yaml文件会默认被加载并解析。ui5.yaml这个文件,在本地开发FreestyleUI5时也会遇到,笔......
  • SAP Fiori Elements 应用里的 ui5-local.yaml
    SAPFioriElements是SAP的一种开发框架,用于快速构建SAPFiori应用程序。SAPFioriElements应用程序的一个重要方面是模拟服务器(mockserver),它允许在本地开发环境中模拟OData服务,以便在没有真实后端服务的情况下进行开发和测试。ui5-local.yaml文件用于配置本地开发环境,......
  • Spring @ConfigurationProperties Yaml语法配置List和Map:List<String>、List<Obj>、L
    yaml语法数据结构可以用类似大纲的缩排方式呈现,结构通过缩进来表示,连续的项目通过减号“-”来表示,map结构里面的key/value对用冒号“:”来分隔。例子:配置类YmalConfig:importcn.hutool.json.JSONUtil;importlombok.Data;importorg.springframework.boot.context.properti......
  • pytest-yaml 测试平台-3.创建执行任务定时执行用例
    前言当项目用例编写完成后,需设置执行策略,可以用到定时任务设置每天几点执行。或者间隔几个小时执行一次。创建定时任务创建任务勾选需要执行的项目以及运行环境触发器可以支持2种方式:interval间隔多久触发和cron表达式定时执行方式1:interval触发器,间隔10分钟执行一次,......
  • pytest + yaml 框架 -55. raw 不转义模板语法
    前言在yaml文件中,设置的引用变量语法是${var},最近有小伙伴提到一个需求:请求参数的内容需要有特殊符号${var},希望不被转义,不要引用变量,直接用原始数据即可。raw忽略模板语法Jinja2提供了"raw"语句来忽略所有模板语法。语法示例{%raw%}hello${var}world!{%endraw%......
  • 什么是yaml格式与json格式
    什么是yaml格式与json格式yaml格式:文件名格式以.yml.yaml为后缀,用空格缩进表示字段的层级关系,可读性高,易于人类管理yaml格式布尔值类型:只有在是true/false时为真,假的意识例:debug:true 布尔值类型debug:"true"字符串类型​debug:false  布尔值类型debu......
  • SpringBoot——yaml配置文件
    yaml简介YAML是"YAMLAin'taMarkupLanguage"(YAML不是一种标记语言)。在开发的这种语言时,YAML的意思其实是:"YetAnotherMarkupLanguage"(是另一种标记语言)。设计目标,就是方便人类读写层次分明,更适合做配置文件使用.yaml或.yml作为文件后缀基本语法大小写敏感使......
  • pytest-yaml 测试平台-1.新增项目和用例
    前言基于pytest-yaml-yoyo框架写的接口测试平台,在web网页平台上维护yaml测试用例,执行用例,并查看allure报告。pytest-yaml-yoyo框架简介pytest-yaml-yoyo框架是上海-悠悠2023年自主开发的pytest结合yaml框架。gitee项目地址https://gitee.com/yoyoketang/pytest-yaml-yoyo......
  • 虚拟环境中安装ruamel.yaml
    在虚拟环境中安装ruamel.yaml时发现并未把ruamel安装到虚拟环境中解决方法:将安装到外部的两个包复制到虚拟环境Lib→site-pakeages中......
  • PyYaml反序列化
    PyYaml反序列化之前做题还是比赛的时候碰到过一次,不是很懂原理,最近整理成知识块出来。PyYaml使用方法!!标签用于描述yaml文件存储的数据转化为python对象的解析格式importyamlimportospoc1="!!python/object/apply:nt.system[calc.exe]"poc2='!!python/object/new......