[ARVADOS] created: 1.3.0-1018-g1fd7b7089

Git user git at public.curoverse.com
Wed Jun 5 16:50:16 UTC 2019


        at  1fd7b7089dd0027d36e46c2e1fbb44aee4cc1e66 (commit)


commit 1fd7b7089dd0027d36e46c2e1fbb44aee4cc1e66
Author: Ward Vandewege <wvandewege at veritasgenetics.com>
Date:   Wed Jun 5 12:49:27 2019 -0400

    Crunch-job needs to call the python executable from our sdk package for
    collating job output.
    
    refs #9945
    
    Arvados-DCO-1.1-Signed-off-by: Ward Vandewege <wvandewege at veritasgenetics.com>

diff --git a/sdk/cli/bin/crunch-job b/sdk/cli/bin/crunch-job
index b98df8a66..242dff708 100755
--- 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().

-----------------------------------------------------------------------


hooks/post-receive
-- 




More information about the arvados-commits mailing list