2016-03-10 41 views
1

我使用卡桑德拉 - mesos框架的最新jar文件(通過使用此傑森文件:https://teamcity.mesosphere.io/repository/download/Oss_Mesos_Cassandra_CassandraFramework/97399:id/marathon.json),但得到以下錯誤:部署卡桑德拉 - mesos與馬拉松框架

I0310 13:19:34.699774 16389 sched.cpp:264] No credentials provided. Attempting to register without authentication I0310 13:19:34.701026 16389 sched.cpp:819] Got error 'Completed framework attempted to re-register' I0310 13:19:34.701038 16389 sched.cpp:1625] Asked to abort the driver I0310 13:19:34.701364 16389 sched.cpp:861] Aborting framework '20160309-183453-2497969674-5050-19271-0001' I0310 13:19:34.719744 16373 sched.cpp:1591] Asked to stop the driver I0310 13:19:34.719784 16389 sched.cpp:835] Stopping framework '20160309-183453-2497969674-5050-19271-0001'

任何想法?

+1

您好內,並且歡迎堆棧溢出,這只是我發送給新成員的一條消息,以幫助您解決問題。新用戶的學習曲線並非如此陡峭,但瞭解如何使用堆棧並不總是顯而易見的。請花幾分鐘時間看看這裏[問],這也很重要,看這裏.. [mcve] ..此外,如果答案對你有效,請點擊答案左邊的勾號,以便該問題被標記爲已回答,並確保發佈該問題的人獲得聲望。乾杯。 –

回答

1

錯誤說Completed framework attempted to re-register這意味着框架保持其狀態某處(可能在Zookeeper中,但無法通過marathon.json訪問您的URL進行驗證),因此會嘗試以此狀態存儲的框架ID開始。但是,該框架ID已被註銷,並且Mesos不允許您再次使用相同的ID來啓動框架。

對此的解決方案是要麼爲框架存儲選擇不同的znode,要麼在啓動框架之前刪除現有的znode。

0

非常感謝:-)。現在正在工作。但是當我試圖檢查動物園的cassandra-mesos時,我得到以下錯誤:mesos-resolve zk:// mesos-master-2:2181/cassandra-mesos/cassandra-mesos-fw 2016-03-13 12: 46:22,428:26613(0x7fa4fa843700):ZOO_INFO @ log_env @ 712:客戶端環境:zookeeper.version = zookeeper C客戶端3.4.5 2016-03-13 12:46:22,428:26613(0x7fa4fa843700):ZOO_INFO @ log_env @ 716 :客戶端環境:host.name = mesos-slave-1 2016-03-13 12:46:22,428:26613(0x7fa4fa843700):ZOO_INFO @ log_env @ 723:客戶端環境:os.name = Linux 2016-03-13 12:46:22,428:26613(0x7fa4fa843700):ZOO_INFO @ log_env @ 724:客戶端環境:os.arch = 3.10.0-327.4.4.el7.x86_64 2016-03-13 12:46:22,428:26613(0x7fa4fa843700 ):ZOO_INFO @ log_env @ 725:客戶端環境:os.version =#1 SMP星期二1月5日16:07:00 UTC 2016 2016-03-13 12:46:22,428:26613(0x7fa4fa843700):ZOO_INFO @ log_env @ 733:客戶端環境:user.name = root 2016-03-13 12:46:22,428:26613(0x7fa4fa843700):ZOO_INFO @ log_env @ 741:客戶端環境:user.home =/root 2016-03- 13 12:46:22,428:26613(0x7fa4fa843700):ZOO_INFO @ log_env @ 753:客戶端環境:user.dir =/ephemeral/cassandra-mesos 2016-03-13 12:46:22,428:26613(0x7fa4fa843700):ZOO_INFO @ zookeeper_init @ 786:啓動客戶端連接,host = mesos-master-2:2181 sessionTimeout = 10000 watcher = 0x7fa5023200b0 sessionId = 0 sessionPasswd = context = 0x7fa4d8001ec0 flags = 0 2016-03-13 12:46:22,429:26613(0x7fa4f6628700) :ZOO_INFO @ check_events @ 1703:發起連接到服務器[10.254.227.148:2181] 2016-03-13 12:46:22,434:26613(0x7fa4f6628700):ZOO_INFO @ check_events @ 1750:服務器上的會話建立完成[10.254.227.148 :2181],sessionId = 0x25364fb9f3a0020,協商超時= 10000 警告:在InitGoogleLogging()寫入到STDERR I0313 12:46:22.434587 26616 group.cpp:313]連接到ZooKeeper的組進程(組1)@ 10.254.235.46:56890) I0313 12:46:22.434659 26616 group.cpp:787]同步組操作:隊列大小(連接,取消,數據)=(0,0,0) I0313 12:46:22.434670 26616 group.cpp:385]嘗試創建路徑'/ cassandra- mesos /卡桑德拉-mesos-FW」在動物園管理員 無法從檢測主 'ZK:// mesos主-2:2181 /卡桑德拉-mesos /卡桑德拉-mesos-FW' 5secs