Project

General

Profile

Bug #23655

fife_wrap: job_output.hash and add_location don't work together

Added by Marc Mengel 11 months ago. Updated 11 months ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Target version:
Start date:
11/25/2019
Due date:
% Done:

0%

Estimated time:
Duration:

Description

fife_wrap needs to add the hash dir to the location as well, we just need to make sure we compute it the same (md5 of filename)...

History

#1 Updated by Marc Mengel 11 months ago

  • Subject changed from fife_wrap: output_file.hash and add_location don't work together to fife_wrap: job_output.hash and add_location don't work together

#2 Updated by Marc Mengel 11 months ago

Okay so a draft of this is in 1097a75, basically compute the same hash of the filename
and add the directory path when you add locations, if we're doing the --hash option.

Needs testing...

#3 Updated by Marc Mengel 11 months ago

Okay, so with 8bbce22, we pass a quick test of using --hash with --add_location, and the location even appears to be the right one(!).

<bel-kwinith:/scratch/mengel/co/cd/fife_utils/test$>  ifdh ls /pnfs/fnal.gov/usr/nova/scratch/users/mengel/b0/96
/pnfs/fnal.gov/usr/nova/scratch/users/mengel/b0/96/
/pnfs/fnal.gov/usr/nova/scratch/users/mengel/b0/96/bar-94695fdc-8eee-49a5-aa5a-a19b9b3b9449.root

<bel-kwinith:/scratch/mengel/co/cd/fife_utils/test$> samweb -e samdev locate-file bar-94695fdc-8eee-49a5-aa5a-a19b9b3b9449.root
dcache:/pnfs/nova/scratch/users/mengel/b0/96

#4 Updated by Marc Mengel 11 months ago

  • Target version set to v3_3

#5 Updated by Marc Mengel 11 months ago

  • Status changed from New to Closed

Also available in: Atom PDF