Skip to content

Proposal for input data resolution format #8309

@chrisburr

Description

@chrisburr

A file like dirac_job_input.json should be written by the InputDataPolicy module containing:

{
    # Zero or more LFNs from the JDL
    "LFN:/vo/first/lfn": {
        # List of replicas, mixture of protocols and sites, ordered by priority
        "replicas": [
            {
                "url": "/current/working/directory/xxx.dst",
                "se": "LOCAL-USER"
            },
            {
                "url": "https://host1.invald/vo/first/lfn",
                "se": "EXAMPLE-USER"
            },
            {
                "url": "root://host2.invald//vo/first/lfn",
                "se": "EXAMPLE-USER"
            },
            {
                "url": "https://host3.invald/vo/first/lfn",
                "se": "OTHER-USER"
            },
            {
                "url": "root://host4.invald/vo/first/lfn",
                "se": "OTHER-USER"
            }
        ],
        # We can extend to this contain other file-level metadata
        # For now this seems reasonable to me
        "size_bytes": 123456,
        "checksum": {
            "adler32": "ffffff"
        }
    }
}

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions