projects
/
arvados.git
/ commitdiff
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
390c019
)
Crunch-job needs to call the python executable from our sdk package for
1.4.0
author
Ward Vandewege <wvandewege@veritasgenetics.com>
Wed, 5 Jun 2019 16:49:27 +0000
(12:49 -0400)
committer
Ward Vandewege <wvandewege@veritasgenetics.com>
Wed, 5 Jun 2019 17:55:44 +0000
(13:55 -0400)
collating job output.
refs #9945
Arvados-DCO-1.1-Signed-off-by: Ward Vandewege <wvandewege@veritasgenetics.com>
sdk/cli/bin/crunch-job
patch
|
blob
|
history
diff --git
a/sdk/cli/bin/crunch-job
b/sdk/cli/bin/crunch-job
index b98df8a66faf66afd479647bb9ebb210c2a022ed..242dff708be2800f29cc6969bde1cb8952e04a6f 100755
(executable)
--- a/
sdk/cli/bin/crunch-job
+++ b/
sdk/cli/bin/crunch-job
@@
-1634,7
+1634,9
@@
sub create_output_collection
Log (undef, "collate");
my ($child_out, $child_in);
- my $pid = open2($child_out, $child_in, 'python', '-c', q{
+ # This depends on the python-arvados-python-client package, which needs to be installed
+ # on the machine running crunch-dispatch (typically, the API server).
+ my $pid = open2($child_out, $child_in, '/usr/share/python2.7/dist/python-arvados-python-client/bin/python', '-c', q{
import arvados
import sys
print (arvados.api("v1").collections().