arvados-cli 0.1.20150120194251 → 0.1.20150121183928

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 +5 -1
  3. metadata +3 -3
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: a04342c6fc40b6c05addbc1c94164b264de9b41e
4
- data.tar.gz: 742246a0aec057dcf3fc93ff329f4b205ef014bb
3
+ metadata.gz: 2943fea5fd2753f9336bb8c860c159f97d184718
4
+ data.tar.gz: 1887ce217972e9e91cdce8e0e44884b99fd50065
5
5
  SHA512:
6
- metadata.gz: 71c5acbe9cc14e883930bc2c28235f6488a339b557679b2cd5e9272143b335115883a15d0e6e81c706c21cacc6a63295b6994a3fc3f258566ce2a17e54455961
7
- data.tar.gz: 5e5306184e850748f8453180c884defbd2c2af408bc13722ce53b52f99ee3114a9ff50a5e3eb91088c4107a03391cf6df1e2c3e3b717399cbccbc8f6b4320e96
6
+ metadata.gz: a4e77cf418857b91a0548fd4a913ca9cac4f46c21e9f0ce5ced020ac546d046ca116d924d7234f20a21e8f5e832dea7dded6434b686994bebd10d1d0060903a5
7
+ data.tar.gz: d60b601e81956409d9a145d3904cec7bfd6b1cc2c9813a05b7502127476a2f5272e96ad2babcbb2eca8e8ec80c87e27589069876082e658fc2ebd5a5d8c2df59
data/bin/crunch-job CHANGED
@@ -356,8 +356,12 @@ if (!defined $no_clear_tmp) {
356
356
  my $cleanpid = fork();
357
357
  if ($cleanpid == 0)
358
358
  {
359
+ # Find FUSE mounts that look like Keep mounts (the mount path has the
360
+ # word "keep") and unmount them. Then clean up work directories.
361
+ # TODO: When #5036 is done and widely deployed, we can get rid of the
362
+ # regular expression and just unmount everything with type fuse.keep.
359
363
  srun (["srun", "--nodelist=$nodelist", "-D", $ENV{'TMPDIR'}],
360
- ['bash', '-c', 'if mount | grep -q $JOB_WORK/; then for i in $JOB_WORK/*keep $CRUNCH_TMP/task/*.keep; do /bin/fusermount -z -u $i; done; fi; sleep 1; rm -rf $JOB_WORK $CRUNCH_INSTALL $CRUNCH_TMP/task $CRUNCH_TMP/src*']);
364
+ ['bash', '-ec', 'mount -t fuse,fuse.keep | awk \'($3 ~ /\ykeep\y/){print $3}\' | xargs -r -n 1 fusermount -u -z; sleep 1; rm -rf $JOB_WORK $CRUNCH_INSTALL $CRUNCH_TMP/task $CRUNCH_TMP/src*']);
361
365
  exit (1);
362
366
  }
363
367
  while (1)
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: arvados-cli
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.20150120194251
4
+ version: 0.1.20150121183928
5
5
  platform: ruby
6
6
  authors:
7
7
  - Arvados Authors
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-01-20 00:00:00.000000000 Z
11
+ date: 2015-01-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: arvados
@@ -178,7 +178,7 @@ dependencies:
178
178
  - - "<"
179
179
  - !ruby/object:Gem::Version
180
180
  version: 1.0.0
181
- description: Arvados command line tools, git commit 279c6f8bc69a3edfcf7213e0c1b7621f60a46c06
181
+ description: Arvados command line tools, git commit ef969ca8dabe571a9866a7b3b7c39098785022fa
182
182
  email: gem-dev@curoverse.com
183
183
  executables:
184
184
  - arv