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

ROOT fails to open files from zip archives in EOS

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Critical
    • Resolution: Fixed
    • 5.34/24
    • None
    • I/O
    • None
    • x86_64-slc6-gcc48

    Description

      We switched to ROOT 5.34/24 in ATLAS TDAQ and with this new version I'm having trouble opening ROOT files that are stored in EOS inside zip archives:

      root [0] TFile* f = TFile::Open("root://eosatlas.cern.ch//eos/atlas/atlascerngroupdisk/tdaq-mon/coca/coca_Histogramming-DQM_001459.zip#r0000176272_lEoR_ATLAS_MDA-Histogramming-DQM_Histogramming-DQM.root")
      Error in <TNetXNGFile::Open>: [ERROR] Server responded with an error: [3011] Unable to open file /eos/atlas/atlascerngroupdisk/tdaq-mon/coca/coca_Histogramming-DQM_001459.zip#r0000176272_lEoR_ATLAS_MDA-Histogramming-DQM_Histogramming-DQM.root; No such file or directory

      I believe that above file URL format is legal and exactly the same code worked OK in our previous production release which used ROOT 5.34/13. It looks like the change that triggered this problem is switch from TXNetFile to TNetXNGFile as a handler for opening root://* files. Apparently TNetXNGFile is having a problem understanding archive file format in URL string.

      I know that setting XNet.UseOldClient: yes in .rootrc fixes this problem (it switches back to TXNetFile) but we cannot use this workaround for every user.

      We would appreciate quick fix for this in the next ROOT5 release.

      Attachments

        Activity

          People

            dhsmith David Smith
            salnikov Andy Salnikov
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: