请稍等 ...
×

采纳答案成功!

向帮助你的同学说点啥吧!感谢那些助人为乐的人

mesos-master.sh启动失败

启动代码

./mesos-master.sh --zk=zk://192.168.232.191:2181/mesos,192.168.232.192:2181/mesos,192.168.232.193:2181/mesos --port=5050 --log_dir=/var/log/mesos --cluster=test-cluster --quorum=2 --work_dir=/var/lib/mesos

错误信息

193:2181/mesos/log_replicas/0000000010' in ZooKeeper
I0905 18:14:02.899897 11163 group.cpp:700] Trying to get '/mesos,192.168.232.192:2181/mesos,192.168.232.193:2181/mesos/log_replicas/0000000011' in ZooKeeper
I0905 18:14:02.906261 11170 network.hpp:485] ZooKeeper group PIDs: { log-replica(1)@127.0.1.1:5050 }
F0905 18:14:03.813362 11170 master.cpp:1653] Recovery failed: Failed to recover registrar: Failed to perform fetch within 1mins
*** Check failure stack trace: ***
    @     0x7f5e27d27a70  google::LogMessage::Fail()
    @     0x7f5e27d279b8  google::LogMessage::SendToLog()
    @     0x7f5e27d27370  google::LogMessage::Flush()
    @     0x7f5e27d2a4fa  google::LogMessageFatal::~LogMessageFatal()
    @     0x7f5e253a80bf  mesos::internal::master::fail()
    @     0x7f5e254eece7  _ZSt13__invoke_implIvRPFvRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES7_EJRPKcS7_EET_St14__invoke_otherOT0_DpOT1_
    @     0x7f5e254d8fe4  _ZSt8__invokeIRPFvRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES7_EJRPKcS7_EENSt15__invoke_resultIT_JDpT0_EE4typeEOSF_DpOSG_
    @     0x7f5e254b6a2a  _ZNSt5_BindIFPFvRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES7_EPKcSt12_PlaceholderILi1EEEE6__callIvJS7_EJLm0ELm1EEEET_OSt5tupleIJDpT0_EESt12_Index_tupleIJXspT1_EEE
    @     0x7f5e2548cf18  _ZNSt5_BindIFPFvRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES7_EPKcSt12_PlaceholderILi1EEEEclIJS7_EvEET0_DpOT_
    @     0x7f5e2545de50  _ZZNK7process6FutureI7NothingE8onFailedISt5_BindIFPFvRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESC_EPKcSt12_PlaceholderILi1EEEEvEERKS2_OT_NS2_6PreferEENKUlOSK_SC_E_clESQ_SC_
    @     0x7f5e25532a46  _ZN5cpp176invokeIZNK7process6FutureI7NothingE8onFailedISt5_BindIFPFvRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESE_EPKcSt12_PlaceholderILi1EEEEvEERKS4_OT_NS4_6PreferEEUlOSM_SE_E_JSM_SE_EEEDTclcl7forwardISP_Efp_Espcl7forwardIT0_Efp0_EEESQ_DpOSU_
    @     0x7f5e255281a9  _ZN6lambda8internal7PartialIZNK7process6FutureI7NothingE8onFailedISt5_BindIFPFvRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESF_EPKcSt12_PlaceholderILi1EEEEvEERKS5_OT_NS5_6PreferEEUlOSN_SF_E_JSN_SL_EE13invoke_expandISU_St5tupleIJSN_SL_EESX_IJSF_EEJLm0ELm1EEEEDTcl6invokecl7forwardISQ_Efp_Espcl6expandcl3getIXT2_EEcl7forwardIT0_Efp0_EEcl7forwardIT1_Efp2_EEEESR_OS10_N5cpp1416integer_sequenceImJXspT2_EEEEOS11_
    @     0x7f5e25521a9a  _ZNO6lambda8internal7PartialIZNK7process6FutureI7NothingE8onFailedISt5_BindIFPFvRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESF_EPKcSt12_PlaceholderILi1EEEEvEERKS5_OT_NS5_6PreferEEUlOSN_SF_E_JSN_SL_EEclIJSF_EEEDTcl13invoke_expandcl4movedtdefpT1fEcl4movedtdefpT10bound_argsEcvN5cpp1416integer_sequenceImJLm0ELm1EEEE_Ecl16forward_as_tuplespcl7forwardIT_Efp_EEEEDpOS10_
    @     0x7f5e2551d41a  _ZN5cpp176invokeIN6lambda8internal7PartialIZNK7process6FutureI7NothingE8onFailedISt5_BindIFPFvRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESH_EPKcSt12_PlaceholderILi1EEEEvEERKS7_OT_NS7_6PreferEEUlOSP_SH_E_JSP_SN_EEEJSH_EEEDTclcl7forwardISS_Efp_Espcl7forwardIT0_Efp0_EEEST_DpOSY_
    @     0x7f5e2551a9ab  _ZN6lambda8internal6InvokeIvEclINS0_7PartialIZNK7process6FutureI7NothingE8onFailedISt5_BindIFPFvRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESI_EPKcSt12_PlaceholderILi1EEEEvEERKS8_OT_NS8_6PreferEEUlOSQ_SI_E_JSQ_SO_EEEJSI_EEEvSU_DpOT0_
    @     0x7f5e25517a1a  _ZNO6lambda12CallableOnceIFvRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEE10CallableFnINS_8internal7PartialIZNK7process6FutureI7NothingE8onFailedISt5_BindIFPFvS8_S8_EPKcSt12_PlaceholderILi1EEEEvEERKSH_OT_NSH_6PreferEEUlOSR_S8_E_JSR_SP_EEEEclES8_
    @     0x55a99ff56e6f  _ZNO6lambda12CallableOnceIFvRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEEclES8_
    @     0x55a99ff51f60  _ZN7process8internal3runIN6lambda12CallableOnceIFvRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEEEJSB_EEEvOSt6vectorIT_SaISF_EEDpOT0_
    @     0x55a99ff4b9d2  process::Future<>::fail()
    @     0x7f5e24e207aa  process::Promise<>::fail()
    @     0x7f5e254b23c9  process::internal::thenf<>()
    @     0x7f5e2552bcef  _ZN5cpp176invokeIPFvON6lambda12CallableOnceIFN7process6FutureI7NothingEERKN5mesos8internal8RegistryEEEESt10unique_ptrINS3_7PromiseIS5_EESt14default_deleteISH_EERKNS4_IS9_EEEJSD_SK_SN_EEEDTclcl7forwardIT_Efp_Espcl7forwardIT0_Efp0_EEEOSQ_DpOSR_
    @     0x7f5e25524c2f  _ZN6lambda8internal7PartialIPFvONS_12CallableOnceIFN7process6FutureI7NothingEERKN5mesos8internal8RegistryEEEESt10unique_ptrINS3_7PromiseIS5_EESt14default_deleteISH_EERKNS4_IS9_EEEJSD_SK_St12_PlaceholderILi1EEEE13invoke_expandISP_St5tupleIJSD_SK_SR_EESU_IJSN_EEJLm0ELm1ELm2EEEEDTcl6invokecl7forwardIT_Efp_Espcl6expandcl3getIXT2_EEcl7forwardIT0_Efp0_EEcl7forwardIT1_Efp2_EEEEOSX_OSY_N5cpp1416integer_sequenceImJXspT2_EEEEOSZ_
    @     0x7f5e2551f326  _ZNO6lambda8internal7PartialIPFvONS_12CallableOnceIFN7process6FutureI7NothingEERKN5mesos8internal8RegistryEEEESt10unique_ptrINS3_7PromiseIS5_EESt14default_deleteISH_EERKNS4_IS9_EEEJSD_SK_St12_PlaceholderILi1EEEEclIJSN_EEEDTcl13invoke_expandcl4movedtdefpT1fEcl4movedtdefpT10bound_argsEcvN5cpp1416integer_sequenceImJLm0ELm1ELm2EEEE_Ecl16forward_as_tuplespcl7forwardIT_Efp_EEEEDpOSX_
    @     0x7f5e2551c431  _ZN5cpp176invokeIN6lambda8internal7PartialIPFvONS1_12CallableOnceIFN7process6FutureI7NothingEERKN5mesos8internal8RegistryEEEESt10unique_ptrINS5_7PromiseIS7_EESt14default_deleteISJ_EERKNS6_ISB_EEEJSF_SM_St12_PlaceholderILi1EEEEEJSP_EEEDTclcl7forwardIT_Efp_Espcl7forwardIT0_Efp0_EEEOSV_DpOSW_
    @     0x7f5e25519867  _ZN6lambda8internal6InvokeIvEclINS0_7PartialIPFvONS_12CallableOnceIFN7process6FutureI7NothingEERKN5mesos8internal8RegistryEEEESt10unique_ptrINS6_7PromiseIS8_EESt14default_deleteISK_EERKNS7_ISC_EEEJSG_SN_St12_PlaceholderILi1EEEEEJSQ_EEEvOT_DpOT0_
    @     0x7f5e25515dea  _ZNO6lambda12CallableOnceIFvRKN7process6FutureIN5mesos8internal8RegistryEEEEE10CallableFnINS_8internal7PartialIPFvONS0_IFNS2_I7NothingEERKS5_EEESt10unique_ptrINS1_7PromiseISE_EESt14default_deleteISN_EES8_EJSJ_SQ_St12_PlaceholderILi1EEEEEEclES8_
    @     0x7f5e254d616d  _ZNO6lambda12CallableOnceIFvRKN7process6FutureIN5mesos8internal8RegistryEEEEEclES8_
    @     0x7f5e255cc7e3  _ZN7process8internal3runIN6lambda12CallableOnceIFvRKNS_6FutureIN5mesos8internal8RegistryEEEEEEJRS8_EEEvOSt6vectorIT_SaISF_EEDpOT0_
    @     0x7f5e255c1906  process::Future<>::fail()
    @     0x7f5e255f5c42  _ZSt13__invoke_implIbRMN7process6FutureIN5mesos8internal8RegistryEEEFbRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEERS5_JSD_EET_St19__invoke_memfun_refOT0_OT1_DpOT2_
    @     0x7f5e255f39f6  _ZSt8__invokeIRMN7process6FutureIN5mesos8internal8RegistryEEEFbRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEJRS5_SD_EENSt15__invoke_resultIT_JDpT0_EE4typeEOSJ_DpOSK_
Aborted (core dumped)

这是怎么原因造成的,使用系统ubuntu18.04。虚拟机1核2G

正在回答 回答被采纳积分+3

3回答

00豆浆油条00 2019-12-11 20:31:28

兄弟 我也遇到类似问题了  你当时是怎么解决的呀

0 回复 有任何疑惑可以回复我~
慕慕8372095 2019-11-08 15:36:41

添加ip也没有用

F1108 15:33:54.515161  2365 master.cpp:1706] Recovery failed: Failed to recover registrar: Failed to perform fetch within 1mins

*** Check failure stack trace: ***

    @     0x7fb4851cc24e  google::LogMessage::Fail()

    @     0x7fb4851cc1ad  google::LogMessage::SendToLog()

    @     0x7fb4851cbbbe  google::LogMessage::Flush()

    @     0x7fb4851ce8f2  google::LogMessageFatal::~LogMessageFatal()

    @     0x7fb483403a6d  mesos::internal::master::fail()

    @     0x7fb483532e9e  _ZNSt5_BindIFPFvRKSsS1_EPKcSt12_PlaceholderILi1EEEE6__callIvJS1_EJLm0ELm1EEEET_OSt5tupleIJDpT0_EESt12_Index_tupleIJXspT1_EEE

    @     0x7fb483500b58  std::_Bind<>::operator()<>()

    @     0x7fb4834c4349  _ZZNK7process6FutureI7NothingE8onFailedISt5_BindIFPFvRKSsS6_EPKcSt12_PlaceholderILi1EEEEvEERKS2_OT_NS2_6PreferEENKUlOSE_S6_E_clESK_S6_

    @     0x7fb4835b1a35  _ZN5cpp176invokeIZNK7process6FutureI7NothingE8onFailedISt5_BindIFPFvRKSsS8_EPKcSt12_PlaceholderILi1EEEEvEERKS4_OT_NS4_6PreferEEUlOSG_S8_E_ISG_S8_EEEDTclcl7forwardIT_Efp_Espcl7forwardIT0_Efp0_EEEOSO_DpOSP_

    @     0x7fb4835a59c0  _ZN6lambda8internal7PartialIZNK7process6FutureI7NothingE8onFailedISt5_BindIFPFvRKSsS9_EPKcSt12_PlaceholderILi1EEEEvEERKS5_OT_NS5_6PreferEEUlOSH_S9_E_JSH_SF_EE13invoke_expandISO_St5tupleIJSH_SF_EESR_IJS9_EEJLm0ELm1EEEEDTcl6invokecl7forwardISK_Efp_Espcl6expandcl3getIXT2_EEcl7forwardIT0_Efp0_EEcl7forwardIT1_Efp2_EEEESL_OSU_N5cpp1416integer_sequenceImJXspT2_EEEEOSV_

    @     0x7fb48359d534  _ZNO6lambda8internal7PartialIZNK7process6FutureI7NothingE8onFailedISt5_BindIFPFvRKSsS9_EPKcSt12_PlaceholderILi1EEEEvEERKS5_OT_NS5_6PreferEEUlOSH_S9_E_JSH_SF_EEclIJS9_EEEDTcl13invoke_expandcl4movedtdefpT1fEcl4movedtdefpT10bound_argsEcvN5cpp1416integer_sequenceImJLm0ELm1EEEE_Ecl16forward_as_tuplespcl7forwardIT_Efp_EEEEDpOSU_

    @     0x7fb483597a70  _ZN5cpp176invokeIN6lambda8internal7PartialIZNK7process6FutureI7NothingE8onFailedISt5_BindIFPFvRKSsSB_EPKcSt12_PlaceholderILi1EEEEvEERKS7_OT_NS7_6PreferEEUlOSJ_SB_E_ISJ_SH_EEEISB_EEEDTclcl7forwardIT_Efp_Espcl7forwardIT0_Efp0_EEEOSS_DpOST_

    @     0x7fb483593d15  _ZN6lambda8internal6InvokeIvEclINS0_7PartialIZNK7process6FutureI7NothingE8onFailedISt5_BindIFPFvRKSsSC_EPKcSt12_PlaceholderILi1EEEEvEERKS8_OT_NS8_6PreferEEUlOSK_SC_E_ISK_SI_EEEISC_EEEvOT_DpOT0_

    @     0x7fb4835903e6  _ZNO6lambda12CallableOnceIFvRKSsEE10CallableFnINS_8internal7PartialIZNK7process6FutureI7NothingE8onFailedISt5_BindIFPFvS2_S2_EPKcSt12_PlaceholderILi1EEEEvEERKSB_OT_NSB_6PreferEEUlOSL_S2_E_ISL_SJ_EEEEclES2_

    @     0x55b1a298bda0  _ZNO6lambda12CallableOnceIFvRKSsEEclES2_

    @     0x55b1a2986d79  _ZN7process8internal3runIN6lambda12CallableOnceIFvRKSsEEEJS5_EEEvOSt6vectorIT_SaIS9_EEDpOT0_

    @     0x55b1a2980032  process::Future<>::fail()

    @     0x7fb482f7be10  process::Promise<>::fail()

    @     0x7fb48352e56b  process::internal::thenf<>()

    @     0x7fb4835aa935  _ZN5cpp176invokeIPFvON6lambda12CallableOnceIFN7process6FutureI7NothingEERKN5mesos8internal8RegistryEEEESt10unique_ptrINS3_7PromiseIS5_EESt14default_deleteISH_EERKNS4_IS9_EEEJSD_SK_SN_EEEDTclcl7forwardIT_Efp_Espcl7forwardIT0_Efp0_EEEOSQ_DpOSR_

    @     0x7fb4835a216a  _ZN6lambda8internal7PartialIPFvONS_12CallableOnceIFN7process6FutureI7NothingEERKN5mesos8internal8RegistryEEEESt10unique_ptrINS3_7PromiseIS5_EESt14default_deleteISH_EERKNS4_IS9_EEEJSD_SK_St12_PlaceholderILi1EEEE13invoke_expandISP_St5tupleIJSD_SK_SR_EESU_IJSN_EEJLm0ELm1ELm2EEEEDTcl6invokecl7forwardIT_Efp_Espcl6expandcl3getIXT2_EEcl7forwardIT0_Efp0_EEcl7forwardIT1_Efp2_EEEEOSX_OSY_N5cpp1416integer_sequenceImJXspT2_EEEEOSZ_

    @     0x7fb48359ae4c  _ZNO6lambda8internal7PartialIPFvONS_12CallableOnceIFN7process6FutureI7NothingEERKN5mesos8internal8RegistryEEEESt10unique_ptrINS3_7PromiseIS5_EESt14default_deleteISH_EERKNS4_IS9_EEEISD_SK_St12_PlaceholderILi1EEEEclIISN_EEEDTcl13invoke_expandcl4movedtdefpT1fEcl4movedtdefpT10bound_argsEcvN5cpp1416integer_sequenceImILm0ELm1ELm2EEEE_Ecl16forward_as_tuplespcl7forwardIT_Efp_EEEEDpOSX_

    @     0x7fb483596a70  _ZN5cpp176invokeIN6lambda8internal7PartialIPFvONS1_12CallableOnceIFN7process6FutureI7NothingEERKN5mesos8internal8RegistryEEEESt10unique_ptrINS5_7PromiseIS7_EESt14default_deleteISJ_EERKNS6_ISB_EEEISF_SM_St12_PlaceholderILi1EEEEEISP_EEEDTclcl7forwardIT_Efp_Espcl7forwardIT0_Efp0_EEEOSV_DpOSW_

    @     0x7fb483592b2b  lambda::internal::Invoke<>::operator()<>()

    @     0x7fb48358e2f2  _ZNO6lambda12CallableOnceIFvRKN7process6FutureIN5mesos8internal8RegistryEEEEE10CallableFnINS_8internal7PartialIPFvONS0_IFNS2_I7NothingEERKS5_EEESt10unique_ptrINS1_7PromiseISE_EESt14default_deleteISN_EES8_EISJ_SQ_St12_PlaceholderILi1EEEEEEclES8_

    @     0x7fb483557fa0  _ZNO6lambda12CallableOnceIFvRKN7process6FutureIN5mesos8internal8RegistryEEEEEclES8_

    @     0x7fb48362174a  _ZN7process8internal3runIN6lambda12CallableOnceIFvRKNS_6FutureIN5mesos8internal8RegistryEEEEEEJRS8_EEEvOSt6vectorIT_SaISF_EEDpOT0_

    @     0x7fb48361523b  process::Future<>::fail()

    @     0x7fb4836477b5  std::_Mem_fn<>::operator()<>()

    @     0x7fb483645a14  _ZNSt5_BindIFSt7_Mem_fnIMN7process6FutureIN5mesos8internal8RegistryEEEFbRKSsEES6_St12_PlaceholderILi1EEEE6__callIbIS8_EILm0ELm1EEEET_OSt5tupleIIDpT0_EESt12_Index_tupleIIXspT1_EEE

    @     0x7fb4836420f0  _ZNSt5_BindIFSt7_Mem_fnIMN7process6FutureIN5mesos8internal8RegistryEEEFbRKSsEES6_St12_PlaceholderILi1EEEEclIJS8_EbEET0_DpOT_

    @     0x7fb48363c6ad  _ZZNK7process6FutureIN5mesos8internal8RegistryEE8onFailedISt5_BindIFSt7_Mem_fnIMS4_FbRKSsEES4_St12_PlaceholderILi1EEEEbEERKS4_OT_NS4_6PreferEENKUlOSG_S9_E_clESM_S9_

Aborted


0 回复 有任何疑惑可以回复我~
提问者 信号旗xin 2019-09-06 16:04:16

添加--ip=参数


````

./build/bin/mesos-master.sh --zk=zk://192.168.232.191:2181/mesos,192.168.232.192:2181/mesos,192.168.232.193:2181/mesos --port=5050 --log_dir=/var/log/mesos --cluster=test-cluster --quorum=2 --work_dir=/var/lib/mesos --ip=

`````

0 回复 有任何疑惑可以回复我~
问题已解决,确定采纳
还有疑问,暂不采纳
DevOps理论+实践之路
  • 参与学习       461    人
  • 解答问题       30    个

DevOps就是你从程序员通往架构师的快速通道

了解课程
意见反馈 帮助中心 APP下载
官方微信