Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [geclipse-dev] Kill a job from its ID

Hi,

> > At this point, what prevents me from doing it, is that a I cannot
> > cancel a job using its IGridJobID and the matching IGridJobService. Is
> > it possible to add a method to kill a job from its id in the
> > IGridJobService interface?
>
> Yes, I think we can change it. deleteJob accepts IGridJob now, but as I
> can see it can be easily modified to accept IGridJobID instead. It looks
> now that implementations of IGridService only use job parameter to get
> jobID. We will try to do changes tomorrow.

Sure it makes a lot of sense, and we had 
    IGridJobService#getJobStatus( IGridJobID, monitor) 
anyways.

I would simply replace
  IGridJobService#deleteJob( IGridJob , IProgressMonitor )
with
  IGridJobService#deleteJob( IGridJobID , IProgressMonitor )

The only issue seems to be the need for a couple of changes in 
GliteWMSService/GliteJobAPI for passing the VO.

Cheers, Ariel


Back to the top