URL:
<http://savannah.cern.ch/support/?120758>
Summary: xrd stops working after it can't find a file
Project: XROOTD
Submitted by: imacneill
Submitted on: 2011-05-05 00:30
Category: None
Priority: 5 - Normal
Severity: 3 - Normal
Status: None
Privacy: Public
Assigned to: None
Originator Email:
Open/Closed: Open
Discussion Lock: Any
Operating System: GNU/Linux
_______________________________________________________
Details:
Hi,
I'm using a cms issued version of xrootd at UCSD. If it helps to identify
which one I'm using:
$ which xrd
/code/osgcode/cmssoft/cms/slc5_amd64_gcc434/cms/cmssw-patch/CMSSW_4_1_2_patch1/external/slc5_amd64_gcc434/bin/xrd
I'm trying to check by hand a list of files that I'm having trouble accessing
at FNAL via scripts using ROOT with xrootd. If I use the command line utility,
I find that xrd stops working if it can't find a file. After it fails to find
a file, all other commands return no information.
For example, if I try to use stat on a file that xrootd can find, I have no
problems. If I then use stat on a file that xrootd can't find, then no
further commands return output. You can see this below.
$ xrd xrootd.unl.edu
(C) 2004-2010 by the Xrootd group. $Revision: 1.34 $ - Xrootd version:
v20100913-0630-root-2
Welcome to the xrootd command line interface.
Type 'help' for a list of available commands.
root://xrootd.unl.edu:1094//>stat
/store/data/Run2011A/ElectronHad/AOD/PromptReco-v2/000/163/796/7A07340C-1876-E011-9251-003048F024FE.root
Id: 2186138355760 Size: 3479806657 Flags: 16 Modtime: 1304525922
root://cmsstor144.fnal.gov:1093//>stat
/store/data/Run2011A/ElectronHad/AOD/PromptReco-v2/000/163/758/BA0F6400-4C76-E011-94C1-003048F1182E.root
Error 3011: Unable to locate
/store/data/Run2011A/ElectronHad/AOD/PromptReco-v2/000/163/758/BA0F6400-4C76-E011-94C1-003048F1182E.root;
No such file or directory
Id: 0 Size: 0 Flags: 0 Modtime: 0
root://cmsstor144.fnal.gov:1093//>stat
/store/data/Run2011A/ElectronHad/AOD/PromptReco-v2/000/163/758/BA0F6400-4C76-E011-94C1-003048F1182E.root
root://cmsstor144.fnal.gov:1093//>
I see this same behavior for existfile and isfileonline. This of course
defeats the purpose of testing for the existence of a file, if doing so
causes the program to stop working.
Let me know if you need any more information.
Ian
_______________________________________________________
Reply to this item at:
<http://savannah.cern.ch/support/?120758>
_______________________________________________
Message sent via/by LCG Savannah
http://savannah.cern.ch/
|