airavata-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Lahiru Gunathilake <glah...@gmail.com>
Subject Re: [GSOC] Status update
Date Tue, 22 Jul 2014 15:05:24 GMT
This is a good solution from Jcloud side to use Futures for monitoring
since in EC2 jobs we don't monitor the progress of jobs but we just want to
know when the job is done.

Good work Nipun !

Regards
Lahiru


On Tue, Jul 22, 2014 at 10:49 AM, Nipun Udara <y.b.n.udara@gmail.com> wrote:

> Hi lahiru,
>
> Thanks for the feedback. Each time a job is submited Jclouds return
> ListenableFuture<ExecResponse>. we can add a listner to the
> ListenableFuture which will call the Listener once the job is done. Then
> the listener will invoke the JcloudsOutHandler or handle according to the
> jobstate in ExecResponse . Provider will call JCloudsMonitorHandler invoke
> method and then it will  create a new JCloudsMonitorID which hold
> JobExecutionContext and ListenableFuture for the job and add it to the
> runningQueue of monitor and monitor will take a one each time and add
> listener to it.
>
> sure i will make a document about the provider and handlers used in this.
>
> Regards
> Nipun Udara  .
>
>
>
> On Tue, Jul 22, 2014 at 7:31 PM, Lahiru Gunathilake <glahiru@gmail.com>
> wrote:
>
>> Hi Nipun,
>>
>> Thanks for the status update, can you bit explain how you have done this ?
>>
>> As part of the final conclusion can you provide an article type of a
>> thing, which describe how to use this feature with airavata with some
>> steps. And Please provide another document which explains developer guide
>> where you explain what libraries you have used and how these
>> handlers/providers works.
>>
>> Regards
>> Lahiru
>>
>>
>> On Mon, Jul 21, 2014 at 2:58 PM, Nipun Udara <y.b.n.udara@gmail.com>
>> wrote:
>>
>>> Hi all
>>>
>>> I have  added JCloudsMonitor and  Monitoringhandler so that job
>>> submission to ec2 host can be done asyncrounously. The changes are [1]
>>>
>>> [1] -
>>> https://github.com/nipun123/gfac-jclouds/tree/master/src/main/java/org/apache/airavata/gfac/jclouds/Monitoring
>>>
>>> Regards
>>> Nipun Udara
>>>
>>>
>>>
>>
>>
>> --
>> System Analyst Programmer
>> PTI Lab
>> Indiana University
>>
>
>
>
> --
> Nipun Udara
>
> *Undergraduate*
> *Department of Computer Science & Engineering*
> *University of Moratuwa*
> *Sri Lanka*
>
>


-- 
System Analyst Programmer
PTI Lab
Indiana University

Mime
View raw message