[Swift-devel] Executing a swift task from Java application

Tim Armstrong tim.g.armstrong at gmail.com
Fri Mar 11 16:02:53 CST 2011


Cool, thanks, that helps a lot - this is about the level of abstraction that
it would be good to work with

- Tim

On Fri, Mar 11, 2011 at 3:30 PM, Mihael Hategan <hategan at mcs.anl.gov> wrote:

> On Fri, 2011-03-11 at 13:26 -0600, Tim Armstrong wrote:
> > Hi swift-devel,
> >   I'm looking currently at using swift to manage files (staging in and
> > out, etc) and execute tasks on behalf of another application.
> >
> > Is it possible to programmatically construct and execute Swift app
> > tasks?
>
> Yes. Swift runs on top of something that can do that.
>
> Here's an example:
>
> http://cogkit.svn.sourceforge.net/viewvc/cogkit/trunk/current/src/cog/modules/abstraction-common/src/org/globus/cog/abstraction/tools/execution/JobSubmission.java?revision=2969&view=markup
>
> Essentially you have a Task which has a Specification (which contains
> the executable and all the details), a provider (which is the mechanism
> used to submit the job - coasters for example), and a service (which may
> have a job manager).
>
> Swift profiles (such as coaster parameters) are directly put into the
> specification attributes.
>
> >  Would it make sense to just use the coasters module on its own
> > without the Swift runtime?
>
> That I can't answer, but I can imagine certain problems for which that
> would be the case. You won't have scheduling, throttling, retries, and
> any of the high level management that swift does though.
>
> Mihael
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/swift-devel/attachments/20110311/d075e449/attachment.html>


More information about the Swift-devel mailing list