Comments (12)
sfoulkes: Are we not using the async stageout stuff for this?
from crabserver.
riahi: For the async stageout stuff, there is only the async_dest attribute that was added, as user output parameter, in WMSpec to specify the remote destination.
from crabserver.
riahi: The remote directories of users outputs (equivalent to user_remote_dir in CRAB2) parameter is still missing in WMSpec.
from crabserver.
ewv: Yes, I know. I will get to it soon, I hope.
from crabserver.
spiga: what's giving problem here #1330 is what should be covered by this thicket too.
from crabserver.
ewv: Please review.
Patch propagates a setting of arguments['UserSubDir'] down to StageOut.py as self.step.userSubDir, similarly to asyncDest.
from crabserver.
ewv: Pre-requisite for fixing the LFN issue. Please review.
from crabserver.
spiga: It seems fine to me. Hassen could you have a look?
from crabserver.
riahi: The code seems ok to me too but I don't understand why we add this new parameter (publishName) similarly to the asyncDest parameter.
The asyncDest is propagated to the AsyncStageOut across couchDB (into job fwjr) and therefore the AsyncStageOut will pick it from there. The AsyncStageOut gets, from the fwjr, the path (LFN) of the output + site source + asyncDest to transfer the output to the final destination (asyncDest) removing only tmp if it is in the LFN (like /store/tmp/user/username/outputfile.root). Given that, the publishName will not be needed directly by the AsyncStageOut but it will be needed/used to build the LFN of the user output in the closeSE of the WN.
why and in that way this parameter will be propagated in
from crabserver.
riahi: Replying to [comment:14 riahi]:
The code seems ok to me too but I don't understand why we add this new parameter (publishName) similarly to the asyncDest parameter.
The asyncDest is propagated to the AsyncStageOut across couchDB (into job fwjr) and therefore the AsyncStageOut will pick it from there. The AsyncStageOut gets, from the fwjr, the path (LFN) of the output + site source + asyncDest to transfer the output to the final destination (asyncDest) removing only tmp if it is in the LFN (like /store/tmp/user/username/outputfile.root). Given that, the publishName will not be needed directly by the AsyncStageOut but it will be needed/used to build the LFN of the user output in the closeSE of the WN.
from crabserver.
ewv: I guess I don't understand. Aysnc stageout may not need this, but the StageOut step does, right, to know how to do the local stageout from whatever file the user wrote to /store/temp/user/username/PrimaryDS/username-publishName-procVer/ etc?
from crabserver.
riahi: Right. My comment was just to avoid confusion since I see that you have followed the asyncDest parameter implementation to implement the publishName parameter. But as you said, the publishName parameter is needed for the StageOut step.
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.