Print

Print


@simonmichal: Indeed, we are using the `xrootd-hdfs` plugin and also enabling CMS TFC support to XrootD. The configuration lines we used for this come from the sample configuration file in XRootD for hadoop (xrootd.sample.hdfs.cfg)
```
# Add Hadoop support
xrootd.fslib /usr/lib64/libXrdOfs.so
ofs.osslib /usr/lib64/libXrdHdfs.so

# Integrate with CMS TFC, placed in /etc/xrootd/storage.xml
oss.namelib /usr/lib64/libXrdCmsTfc.so file:/etc/xrootd/storage.xml?protocol=hadoop
```
where the mapping for the hadoop protocol in storage.xml is:
```
<!-- Hadoop protocol rules-->
  <lfn-to-pfn protocol="hadoop" destination-match=".*" path-match="//+store/(.*)"        result="/hadoop/store/$1"/>
  <lfn-to-pfn protocol="hadoop" destination-match=".*" path-match="//+store/user/(.*)"   result="/hadoop/store/user/$1"/>

<!-- Translation rules for PFN to LFN (Physical File Name to Logical File Name -->
  <pfn-to-lfn protocol="hadoop" destination-match=".*" path-match="/hadoop/store/(.*)"         result="/store/$1"/>
```

Let me know if you need more details!


-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/xrootd/xrootd/issues/403#issuecomment-248028833

########################################################################
Use REPLY-ALL to reply to list

To unsubscribe from the XROOTD-DEV list, click the following link:
https://listserv.slac.stanford.edu/cgi-bin/wa?SUBED1=XROOTD-DEV&A=1