Skip to content

[DF] Issues with RDataSpec paths using EOS #17449

@TomasDado

Description

@TomasDado

Check duplicate issues.

  • Checked for duplicates

Description

It seems there is some mismatch in the paths when creatind RDataFrame objects using RDataSpec when the input files are stored on EOS.

The corresponding method fills a SampleMap with the identifier filepath+"/"+treenamefor each file in line 443 of the RLoopManager class.
Later, when running the TreeReader, the file linked with the TTree is compared to this metadata entry in line 781 of the same class. When the input file is available locally, this works fine but with files located on eos it causes issues.

The filepath of the format /eos/home-w/name/my/path/file.root is translated to the filepath associated with the TTree later but has the format root://eoshome-w.cern.ch//eos/user/name/my/path/file.root. In summary, the code looks for the key root://eoshome-w.cern.ch//eos/user/na,me/my/path/file.root/reco in a map containing the key /eos/home-w/name/my/path/file.root/reco which leads to a runtime error.

Reproducer

The lines above indicate the problem

ROOT version

ROOT Version: 6.35.01
Built for linuxx8664gcc on Dec 02 2024, 08:38:30
From heads/master@v6-35-01-366-g3dbc5f7f5d

Installation method

build from source

Operating system

Ubuntu 24.10

Additional context

No response

Metadata

Metadata

Labels

Type

No type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions