Giter Club home page Giter Club logo

Comments (12)

sfoulkes avatar sfoulkes commented on July 28, 2024

sfoulkes: Are we not using the async stageout stuff for this?

from crabserver.

DMWMBot avatar DMWMBot commented on July 28, 2024

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.

DMWMBot avatar DMWMBot commented on July 28, 2024

riahi: The remote directories of users outputs (equivalent to user_remote_dir in CRAB2) parameter is still missing in WMSpec.

from crabserver.

ericvaandering avatar ericvaandering commented on July 28, 2024

ewv: Yes, I know. I will get to it soon, I hope.

from crabserver.

spigad avatar spigad commented on July 28, 2024

spiga: what's giving problem here #1330 is what should be covered by this thicket too.

from crabserver.

ericvaandering avatar ericvaandering commented on July 28, 2024

ewv: Please review.

Patch propagates a setting of arguments['UserSubDir'] down to StageOut.py as self.step.userSubDir, similarly to asyncDest.

from crabserver.

ericvaandering avatar ericvaandering commented on July 28, 2024

ewv: Pre-requisite for fixing the LFN issue. Please review.

from crabserver.

spigad avatar spigad commented on July 28, 2024

spiga: It seems fine to me. Hassen could you have a look?

from crabserver.

DMWMBot avatar DMWMBot commented on July 28, 2024

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.

DMWMBot avatar DMWMBot commented on July 28, 2024

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.

ericvaandering avatar ericvaandering commented on July 28, 2024

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.

DMWMBot avatar DMWMBot commented on July 28, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.