Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

download-files: xrootd protocol #24

Closed
tiborsimko opened this issue Aug 6, 2020 · 3 comments · Fixed by #75
Closed

download-files: xrootd protocol #24

tiborsimko opened this issue Aug 6, 2020 · 3 comments · Fixed by #75
Assignees

Comments

@tiborsimko
Copy link
Member

In addition to http protocol implemented in #22, we should add support for xrootd protocol which provides more bandwidth.

Check whether client system contains xrootd commands (xrdcp) or Python libraries (xrootd).

If yes, enable support for --protocol root.

If not, report help string what people has to do do install them.

This is not an MVP functionality for the first public release; it can be added later.

@tiborsimko
Copy link
Member Author

Regarding Python libraries, we could use upstream xrootd or even our xrootdpyfs.

@ParthS007
Copy link
Member

ParthS007 commented Oct 19, 2020

Both options look good to me. 👍

How to choose b/w these two 😅 ?

google/s2geometry#87 (comment)

@ParthS007 ParthS007 self-assigned this Oct 20, 2020
@tiborsimko
Copy link
Member Author

This will need to amend also Dockerfile to have xrootd support there. There are two options:

a) Currently we are based on python:3.8-slim which is basically a stripped-down Debian distribution. Either we compile xrootd there in the usual way, or look forxrootd packages, e.g. for Ubuntu 18.04 LTS one can use:

$ echo 'deb http://storage-ci.web.cern.ch/storage-ci/debian/xrootd/ bionic master' >> /etc/apt/sources.list
$ curl -sL http://storage-ci.web.cern.ch/storage-ci/storageci.key | apt-key add -
$ apt-get update
$ apt-get install xrootd-client

b) We can switch our base image to CentOS7, which is what CERN batch farms typically use, where xrootd can be installed via EPEL:

$ yum install epel-release
$ yum update
$ yum install xrootd-client

Note that we have some prior art in opendata.cern.ch repository (see its Dockerfile) or in reana-env-root6 (this is for ROOT, but analogously one can do xrootd).

@ParthS007 please let me know if you shall look into adding xrootd to our Docker image yourself or whether I should.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants