Idea #4312
closed
[Crunch] crunch-job should report current Python SDK version at start of each task
Added by Tom Clegg over 10 years ago.
Updated about 10 years ago.
Description
In the epic command line crunch-job uses to start each task, add something like
((pip freeze 2>/dev/null | grep arvados) || dpkg --show '*arvados*')
(or, hopefully, some less clunky way of accommodating both pip and deb installs)
- Description updated (diff)
- Category set to Crunch
- Target version changed from Arvados Future Sprints to 2014-11-19 sprint
- Assigned To set to Tom Clegg
- Target version changed from 2014-11-19 sprint to 2014-12-10 sprint
- Target version changed from 2014-12-10 sprint to 2015-01-07 sprint
- Status changed from New to In Progress
- Assigned To changed from Tom Clegg to Peter Amstutz
At
38891ae
- Seems wasteful to run the commands at all when task>0 and logging is disabled. But simpler=good, so I'm OK with it.
- Extra set of parens around the commands. Harmless, but might as well fix this and then merge.
Noticed, incidentally, that TASK_SEQUENCE
above this change should probably be TASK_QSEQUENCE
if the goal is to only log stuff from one task per job...
Thanks.
- Status changed from In Progress to Resolved
- % Done changed from 50 to 100
Applied in changeset arvados|commit:5523be76b00bc58cf9568cf7a1353326c6795cac.
Also available in: Atom
PDF