Dear XRootD developers,
We had a report of problems accessing XRootD files with ROOT tools. E.g.
# /usr/bin/root -l root://red-gridftp12.unl.edu//store/example.root
Warning in <TApplication::GetOptions>: file
root://red-gridftp12.unl.edu//store/example.root has size 0, skipping
We're using xrootd-hdfs at our site, and it turns out the plugin returns
zero for both inode and device number, which causes XRootD to flag the
file as offline:
Flags: 24 (Offline|IsReadable)
And ROOT doesn't return stat info for offline files[1], leading to the
"size 0, skipping" warning.
In an old issue[2], Brian Bockelman asked about modifying the
xrootd-hdfs plugin to return 1 for inode number to avoid the issue with
files being flagged as offline. I've tested this change, and it does
make the root client behave as expected. Are there any negative
consequences expected from this fix?
Regards,
John
[1]
https://github.com/root-project/root/blame/v6-22-08/net/netxng/src/TNetXNGSystem.cxx#L210-L213
[2] https://github.com/xrootd/xrootd/issues/403#issuecomment-249675669
########################################################################
Use REPLY-ALL to reply to list
To unsubscribe from the XROOTD-L list, click the following link:
https://listserv.slac.stanford.edu/cgi-bin/wa?SUBED1=XROOTD-L&A=1
|