• Doris0.11.38拓展FE为高可用时不能启动


    按照官方说法Doris的FE从节点的第一次启动必须是:./bin/start_fe.sh --helper host:port --daemon

    否则就会出现元数据的以下错误,所以不要测试从节点的启动也需要上面的命令,不能用普通的启动FE的命令,

    ERROR 1 [BDBEnvironment.setup():195] error to open replicated environment. will exit.
    com.sleepycat.je.EnvironmentFailureException: Environment invalid because of previous exception: (JE 7.3.7) 10.227.96.25_9110_1557800838823(-1):/
    home/palo/palo/fe/palo-meta/bdb recoveryTracker should overlap or follow on disk last VLSN of 99,937,900 recoveryFirst= 99,937,902 UNEXPECTED
    _STATE_FATAL: Unexpected internal state, unable to continue. Environment is invalid and must be closed.
    at com.sleepycat.je.EnvironmentFailureException.unexpectedState(EnvironmentFailureException.java:443) ~[je-7.3.7.jar:7.3.7]
    at com.sleepycat.je.rep.vlsn.VLSNIndex.merge(VLSNIndex.java:1573) ~[je-7.3.7.jar:7.3.7]
    at com.sleepycat.je.rep.vlsn.VLSNIndex.init(VLSNIndex.java:1483) ~[je-7.3.7.jar:7.3.7]
    at com.sleepycat.je.rep.vlsn.VLSNIndex.(VLSNIndex.java:422) ~[je-7.3.7.jar:7.3.7]
    at com.sleepycat.je.rep.impl.RepImpl.preRecoveryCheckpointInit(RepImpl.java:567) ~[je-7.3.7.jar:7.3.7]
    at com.sleepycat.je.recovery.RecoveryManager.recover(RecoveryManager.java:461) ~[je-7.3.7.jar:7.3.7]
    at com.sleepycat.je.dbi.EnvironmentImpl.finishInit(EnvironmentImpl.java:841) ~[je-7.3.7.jar:7.3.7]
    at com.sleepycat.je.dbi.DbEnvPool.getEnvironment(DbEnvPool.java:222) ~[je-7.3.7.jar:7.3.7]
    at com.sleepycat.je.Environment.makeEnvironmentImpl(Environment.java:267) ~[je-7.3.7.jar:7.3.7]
    at com.sleepycat.je.Environment.(Environment.java:252) ~[je-7.3.7.jar:7.3.7]
    at com.sleepycat.je.rep.ReplicatedEnvironment.(ReplicatedEnvironment.java:607) ~[je-7.3.7.jar:7.3.7]
    at com.sleepycat.je.rep.ReplicatedEnvironment.(ReplicatedEnvironment.java:466) ~[je-7.3.7.jar:7.3.7]
    at com.sleepycat.je.rep.ReplicatedEnvironment.(ReplicatedEnvironment.java:540) ~[je-7.3.7.jar:7.3.7]
    at org.apache.doris.journal.bdbje.BDBEnvironment.setup(BDBEnvironment.java:146) [palo-fe.jar:?]
    at org.apache.doris.journal.bdbje.BDBJEJournal.open(BDBJEJournal.java:313) [palo-fe.jar:?]
    at org.apache.doris.persist.EditLog.open(EditLog.java:719) [palo-fe.jar:?]
    at org.apache.doris.catalog.Catalog.initialize(Catalog.java:645) [palo-fe.jar:?]
    at org.apache.doris.service.FeServer.setup(FeServer.java:44) [palo-fe.jar:?]
    at org.apache.doris.PaloFe.main(PaloFe.java:102) [palo-fe.jar:?]

    若出现这个问题,反复重启是不行的,需要你将你的元数据文件夹palo-meta重命名,重新建立这个文件夹,

    例如你在配置文件里配置了storage_root_path,则需要用上述方法操作,

    再./bin/start_fe.sh --helper host:port --daemon就行了,

  • 相关阅读:
    QtDBus快速入门
    论Qt容器与STL
    JS中的!=、== 、!==、===的用法和区别
    JS操作JSON总结
    select2使用方法总结
    Entity Framework插入数据报错:Validation failed for one or more entities. See 'EntityValidationErrors' property for more details.
    Windows登录类型及安全日志解析
    <script type="text/html"></script> js模版使用
    在 C# 中,(int) ,Int32.Parse() 和 Convert.toInt32() 三种方法的区别
    关于session,cookie,Cache
  • 原文地址:https://www.cnblogs.com/1394htw/p/12843326.html
Copyright © 2020-2023  润新知