Uploaded image for project: 'ROOT'
  1. ROOT
  2. ROOT-9884

accessing file with XRootD protocol fails

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open (View Workflow)
    • Priority: High
    • Resolution: Unresolved
    • Affects Version/s: 5.34/00, 6.08/06, 6.12/06
    • Fix Version/s: None
    • Component/s: Core Libraries, Other
    • Labels:
      None
    • Environment:

      SLC6

      GCC 62 (x86_64-slc6-gcc62-opt)

    • Development:

      Description

      Different ways to access a root file via XRootD behave differently for some files.

      I tested starting root and then opening the file via "TFile::Open()"

      as opposed to opening the root file directly when starting root by "root -l <file>". In some cases the latter prints just the error "file has size 0, skipping"

      With XRootD logging enabled, the test configurations are shown below.
      The logfiles are attached (since the files will certainly not be readable from outside LHCb)

      You will find that the part "?svcClass=lhcbUser" is dropped in the latter approach, probably leading to the error (although simply dropping the part leads to a different error)

      This works:

      XRD_LOGLEVEL=Dump root -l -b -q -x -e 'TFile* f = TFile::Open("root://clhcbstager.ads.rl.ac.uk//castor/ads.rl.ac.uk/prod/lhcb/user/t/tmombach/2018_12/243285/243285337/BsMuMu_ntuples.root?svcClass=lhcbUser")'

      (see access_good.log)

      While this doesn't:

      XRD_LOGLEVEL=Dump root -l -b -q -x 'root://clhcbstager.ads.rl.ac.uk//castor/ads.rl.ac.uk/prod/lhcb/user/t/tmombach/2018_12/243285/243285337/BsMuMu_ntuples.root?svcClass=lhcbUser'

      (see access_bad.log)

      And this doesn't work either:

      XRD_LOGLEVEL=Dump root -l -b -q -x -e 'TFile* f = TFile::Open("root://clhcbstager.ads.rl.ac.uk//castor/ads.rl.ac.uk/prod/lhcb/user/t/tmombach/2018_12/243285/243285337/BsMuMu_ntuples.root")'

      (see access_good_drop_part.log)

        Attachments

        1. access_bad.log
          16 kB
        2. access_good_drop_part.log
          22 kB
        3. access_good.log
          49 kB

          Activity

            People

            • Assignee:
              pcanal Philippe Canal
              Reporter:
              tmombach Titus Mombacher
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated: