Skip to content
This repository has been archived by the owner on May 8, 2024. It is now read-only.

pymesos 0.1.6 VS mesosphere 1.1.0, 取不到 slave id #66

Closed
cntaogong opened this issue Nov 30, 2016 · 1 comment
Closed

pymesos 0.1.6 VS mesosphere 1.1.0, 取不到 slave id #66

cntaogong opened this issue Nov 30, 2016 · 1 comment

Comments

@cntaogong
Copy link

cntaogong commented Nov 30, 2016

环境: pymesos 0.1.6, mesosphere 1.1.0 , dpark 0.3.5
文件: executor.py
函数: reply_status
问题: mesos_pb2.TaskStatus()返回的status对象的slave_id属性是空

def reply_status(driver, task_id, state, data=None):
status = mesos_pb2.TaskStatus()
status.task_id.MergeFrom(task_id)
status.state = state
status.timestamp = time.time()
if data is not None:
status.data = data
driver.sendStatusUpdate(status)

@windreamer
Copy link
Contributor

windreamer commented Nov 30, 2016

fixed douban/pymesos#45

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants