Comments (10)
metson: Hassen, is this still valid? I think all these changes went in to #95 or am I wrong?
from crabserver.
riahi: Not all changes went to #95. The patches, which went in #95, were to have AsyncStageout as component. I aligned the patches of this ticket with changes done in ticket #95.
from crabserver.
metson: ok, cool thanks Hassen! I'll bring my local repo up to sync with your changes and hopefully commit tonight.
from crabserver.
riahi: Perfect!...Thank you
Hassen
from crabserver.
metson: This patch series looks good, and has been committed.
I have a few questions:
- should TransferManager be removed? (I think yes)
- is ''defaultProxy'' in the config the servers certificate? (I think it should be)
- cleanSpace should probably reuse some code (not sure where from) to issue the appropriate delete command (IIRC lcg-rm is better in some cases) and/or deal with fallback/retries
- getFTServer should read the mapping from a file specified in the configuration, instead of a hardcoded list
- the orderFileAlgo should be replaced by changes to the CouchDB view, and how that's queried.
1 & 2 aren't a big deal (but I'd like to clarify before moving on). 3-5 should probably be separate tickets. If you agree can you open them and add the numbers to this ticket?
from crabserver.
metson: in fact getFTServer could use a database in couch... maybe over complicated.
from crabserver.
metson: oh, and one last thing:
- using subprocess.PIPE for stdin, stderr and stdout can lead to deadlocks when the command is verbose ([http://docs.python.org/library/subprocess.html#convenience-functions for more info]). ftscp is probably noisey enough to be a concern, so we should look at that (e.g. write to a log that is then parsed, rather than reading the stdout)
from crabserver.
metson: (In 8920) Change main class name, add defaultProxy parameter to config, implement ftscp machinery, references #311
From: Simon [email protected]
from crabserver.
riahi: I answer to your questions:
1- Yes, the TransferManager should be removed.
2- The defaultProxy is a valid user certificate in the server. I set this default value to be able to do tests and run transfers since a valid user certificate is needed to transfer files using ftscp as well as to remove files.
3- Yes maybe lcg-rm is better in some case. I'll open a new ticket to issue the appropriate delete command.
4- Yes, here we can use also a configuration file to have a mapping of FTS servers or get needed info from couch
5- I agree that orderFileAlgo should be replaced by changes to the CouchDB views to avoid complicated algorithms. I'll open a new ticket for this.
6- We should maybe evaluate this in an another ticket.
Cheers
Hassen
from crabserver.
metson: Ok, the other tickets are:
3: #337
4: #339
5: #338
Closing this one now.
from crabserver.
Related Issues (20)
- #813: Test dev CRABClient using test2 REST instance and CMSSW_13_0_2 CMSSW release HOT 8
- checktaperecall - sometimes fails without clear cause HOT 4
- Improve PyPI images building process HOT 2
- #814: Test dev CRABClient using test2 REST instance and CMSSW_13_0_2 CMSSW release HOT 7
- RUCIO_Transfers should store also scope in filetransfersdb HOT 2
- rationalize configurations and common functions
- adapt Publisher_rucio to have rucio scope:name in tm_dbs_blockname HOT 2
- fix /opt/rucio/etc/rucio.cfg in pypi contaiiners
- [PyPI] Use local timezone for all images HOT 2
- avoid exiting container on command error HOT 4
- Change entrypoint of TW process to simple binary script
- keep tmp directory in TW only for 6 hours
- #815: Test prod CRABClient using test12 REST instance and CMSSW_13_0_2 CMSSW release HOT 7
- make text select via mouse for copy/paste work in pypi container
- stop extending TapeRecall rule when data is on disk HOT 3
- new DN for cmscrab service account
- FTS_Transfer does not handle external connection and bookkeeping properly, caused some files to be stale in the state "SUBMITTED" HOT 7
- incorrect handling of partial dataset
- Change entrypoint of Publisher process to simple binary script
- #816: Test prod CRABClient using preprod REST instance and CMSSW_13_0_2 CMSSW release HOT 11
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 crabserver.