Comments (3)
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.
from cernopendata-client.
Regarding Python libraries, we could use upstream xrootd or even our xrootdpyfs.
from cernopendata-client.
Both options look good to me. 👍
How to choose b/w these two 😅 ?
google/s2geometry#87 (comment)
from cernopendata-client.
Related Issues (20)
- walker: enrich output with parent directories
- Consistency between top-level CLI notion behind "protocol" and low-level Searcher notion behind "protocol"
- cernopendata-client get-metadata --recid 550 --output-value title
- searcher: JSON Decode error for `--verbose`
- CI: Test on multiple enviornments
- file locations: distinguish between EOSPUBLIC and OPENDATA URIs
- download-files: expose HTTP downloader choice (requests vs pycurl) HOT 1
- download-files: success for 5000, failure for 12341
- installation: xrootd troubles HOT 1
- downloader: CLI breaks when record has no files
- Raise exceptions when using the methods outside the CLI
- Download with docker - where do the files go? HOT 2
- Parallelize Downloads
- cli: add support for multiple filter arguments in the get-metadata command
- Verbose mode in get-file-locations HOT 1
- downloader: partial downloads are marked as success:
- cernopendata-client get-file-locations --recid 282 --protocol xrootd --verbose HOT 1
- searcher: separate out get_list_directory() and friends
- downloader: catch more error situations HOT 4
- downloader: resume interrupted downloads HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cernopendata-client.