标题 doris FE安装部署后启动报错wait catalog to be ready. FE type: UNKNOWN. is ready: false
2021-07-09 11:41:53,586 INFO (main|1) [Catalog.loadImage():1468] image does not exist: /data/lib/doris/doris-meta/image/image.0
2021-07-09 11:41:54,055 INFO (UNKNOWN 172.17.0.1_9010_1625796112090(-1)|1) [BDBEnvironment.setup():157] add helper[202.102.xxxxx:59010] as ReplicationGroupAdmin
2021-07-09 11:41:54,059 WARN (UNKNOWN 172.17.0.1_9010_1625796112090(-1)|1) [Catalog.notifyNewFETypeTransfer():2302] notify new FE type transfer: UNKNOWN
2021-07-09 11:41:54,105 INFO (stateListener|63) [Catalog$4.runOneCycle():2325] begin to transfer FE type from INIT to UNKNOWN
2021-07-09 11:41:54,106 INFO (stateListener|63) [Catalog$4.runOneCycle():2411] finished to transfer FE type to UNKNOWN
2021-07-09 11:41:56,105 INFO (UNKNOWN 172.17.0.1_9010_1625796112090(-1)|1) [Catalog.waitForReady():785] wait catalog to be ready. FE type: UNKNOWN. is ready: false
2021-07-09 11:41:58,105 INFO (UNKNOWN 172.17.0.1_9010_1625796112090(-1)|1) [Catalog.waitForReady():785] wait catalog to be ready. FE type: UNKNOWN. is ready: false
2021-07-09 11:42:00,106 INFO (UNKNOWN 172.17.0.1_9010_1625796112090(-1)|1) [Catalog.waitForReady():785] wait catalog to be ready. FE type: UNKNOWN. is ready: false
2021-07-09 11:42:02,106 INFO (UNKNOWN 172.17.0.1_9010_1625796112090(-1)|1) [Catalog.waitForReady():785] wait catalog to be ready. FE type: UNKNOWN. is ready: false
2021-07-09 11:42:04,107 INFO (UNKNOWN 172.17.0.1_9010_1625796112090(-1)|1) [Catalog.waitForReady():785] wait catalog to be ready. FE type: UNKNOWN. is ready: false
报错原因:
可能之前不正常启动后,导致元数据里面存储了错误信息
解决方法:
清空fe的元数据目录doris-meta下的所有数据。重新启动即可:
sh start_fe.sh --daemon