Skip to content

also grab containerId when grabbing directory#1344

Merged
ssalinas merged 4 commits intomasterfrom
mesos_container_id
Nov 21, 2016
Merged

also grab containerId when grabbing directory#1344
ssalinas merged 4 commits intomasterfrom
mesos_container_id

Conversation

@ssalinas
Copy link
Member

@ssalinas ssalinas commented Nov 11, 2016

We currently already do a call to fetch the directory after a task starts, then save that on the SingularityTaskHistory object returned by the api. This extends that a bit to also grab the container id from the executor info (previously only visible by picking apart chunks of the directory name).

/fixes #1204
/cc @pennello

Copy link
Contributor

@tpetr tpetr left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There's a bunch of log lines that just reference fetching the task directory -- could you update those too?


@Singleton
public class SingularityLogSupport implements Managed {
public class SingularityMesosInfoSupport implements Managed {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this class name seems a little vague -- perhaps SingularityMesosExecutorInfoSupport ?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍 renamed

@ssalinas
Copy link
Member Author

@tpetr updated the remaining logging statements

@pennello
Copy link

Extremely exciting.

@ssalinas ssalinas modified the milestone: 0.13.0 Nov 18, 2016
@ssalinas ssalinas merged commit e361b15 into master Nov 21, 2016
@ssalinas ssalinas deleted the mesos_container_id branch November 21, 2016 14:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

expose particular docker-related ID

3 participants