arvados-cli 0.1.20140508093433 → 0.1.20140508132447

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/bin/crunch-job +13 -7
  3. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: ad76fee2cc5b55b00d9609adb40bf9d2e64a2de7
4
- data.tar.gz: a5f61c3bac711389844f3f9ab55ad23913e823e2
3
+ metadata.gz: d0b625126b0539a5c8c878c0aaeeb211508c1573
4
+ data.tar.gz: 2930818b533aeb33c97c692980ce8631c03bc9c7
5
5
  SHA512:
6
- metadata.gz: 912802165a58efd0624cca059dcefbffd994e84f6aa1bb92c198b56b67f96ae1d2ffa10ef2306fd6d0d75e12fd4125ee88d09e8a499a1a5237091de258174fcb
7
- data.tar.gz: 8b4f102bc2e00e56e4e4297a6404db128f7e374e67d484fd93381b579bc121078a7b705e248ac342c6f05330d20dac731638dc58da993a14cf39763f665add03
6
+ metadata.gz: 6ee01641003f4828d5f0f4e114b577410dbfe1df61b89b199eb46838a997427725a971a1015983312da0f0c9ff62e27a267d7298ae6c9c761264553e68ae0140
7
+ data.tar.gz: 26e344439c946ab0318feef5370215b8c894f66725a8f14b3f72c48fca0c21851c6e990a7a9b49cbbb5d9789fa1066bd9f9853167e18afe03e65f96210d92918
data/bin/crunch-job CHANGED
@@ -946,13 +946,19 @@ sub reapchildren
946
946
  delete $proc{$pid};
947
947
 
948
948
  # Load new tasks
949
- my $newtask_list = $arv->{'job_tasks'}->{'list'}->execute(
950
- 'where' => {
951
- 'created_by_job_task_uuid' => $Jobstep->{'arvados_task'}->{uuid}
952
- },
953
- 'order' => 'qsequence'
954
- );
955
- foreach my $arvados_task (@{$newtask_list->{'items'}}) {
949
+ my $newtask_list = [];
950
+ my $newtask_results;
951
+ do {
952
+ $newtask_results = $arv->{'job_tasks'}->{'list'}->execute(
953
+ 'where' => {
954
+ 'created_by_job_task_uuid' => $Jobstep->{'arvados_task'}->{uuid}
955
+ },
956
+ 'order' => 'qsequence',
957
+ 'offset' => scalar(@$newtask_list),
958
+ );
959
+ push(@$newtask_list, @{$newtask_results->{items}});
960
+ } while (@{$newtask_results->{items}});
961
+ foreach my $arvados_task (@$newtask_list) {
956
962
  my $jobstep = {
957
963
  'level' => $arvados_task->{'sequence'},
958
964
  'failures' => 0,
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: arvados-cli
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.20140508093433
4
+ version: 0.1.20140508132447
5
5
  platform: ruby
6
6
  authors:
7
7
  - Arvados Authors
@@ -146,7 +146,7 @@ dependencies:
146
146
  - - ~>
147
147
  - !ruby/object:Gem::Version
148
148
  version: '0.8'
149
- description: This is the Arvados SDK CLI gem, git revision 14c312c452e0e010d617c02a33b94a178632ac26
149
+ description: This is the Arvados SDK CLI gem, git revision 16af0b22def5b80a1861788907a2fc45b14e3273
150
150
  email: gem-dev@curoverse.com
151
151
  executables:
152
152
  - arv