projects
/
arvados.git
/ commitdiff
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5624fec
)
11121: Add owner_uuid to output collection on crunch-job
author
Lucas Di Pentima <lucas@curoverse.com>
Thu, 16 Feb 2017 17:00:59 +0000
(14:00 -0300)
committer
Lucas Di Pentima <lucas@curoverse.com>
Thu, 16 Feb 2017 17:00:59 +0000
(14:00 -0300)
sdk/cli/bin/crunch-job
patch
|
blob
|
history
diff --git
a/sdk/cli/bin/crunch-job
b/sdk/cli/bin/crunch-job
index caa8047ce401df7c2e9961910cca9abd40ae8600..ae0c5010f759462d6f6dbd026113cdf0c08c28b3 100755
(executable)
--- a/
sdk/cli/bin/crunch-job
+++ b/
sdk/cli/bin/crunch-job
@@
-1602,9
+1602,10
@@
sub create_output_collection
import arvados
import sys
print (arvados.api("v1").collections().
- create(body={"manifest_text": sys.stdin.read()}).
+ create(body={"manifest_text": sys.stdin.read(),
+ "owner_uuid": sys.argv[2]}).
execute(num_retries=int(sys.argv[1]))["portable_data_hash"])
-}, retry_count());
+}, retry_count()
, $Job->{owner_uuid}
);
my $task_idx = -1;
my $manifest_size = 0;