airavata-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Saminda Wijeratne <samin...@gmail.com>
Subject Re: Workflow monitoring in Client API
Date Wed, 14 Aug 2013 12:40:55 GMT
Yes. Use ProvenanceManager. You can get the list of nodes that was executed
and is currently executing.
List<NodeExecutionData> nodes =
provenanceManager.getWorkflowInstanceData(...,...).getNodeDataList()
Each NodeExecutionData object returned will have a status field.


On Wed, Aug 14, 2013 at 1:46 AM, Nipuni Piyabasi Perera <
nipuni880917@gmail.com> wrote:

> Hi,
>
> Apart from real time monitoring of workflows, does registry store updates
> on workflows that has currently executed? (e.g.: what are the components
> executed, input/output data etc). Real time monitoring can be done using ExecutionManager
> according to this guide [1]. But is it possible to receive up to date data
> without real time monitoring.
>
> [1]
> https://cwiki.apache.org/confluence/display/AIRAVATA/Gateway+Developer+Guide
>
> Thanks,
> Nipuni
>
>
> On Wed, Aug 7, 2013 at 8:54 PM, Harsha Kumara <harsz89@gmail.com> wrote:
>
>> Hi Suresh,
>> That's cool.I'm also willing to participate to the hangout.
>> Thanks,
>> harsha
>>
>>
>> On Wed, Aug 7, 2013 at 8:06 PM, Suresh Marru <smarru@apache.org> wrote:
>>
>>> Nipuni,
>>>
>>> The hangout today at 9.30 IST will be very relevant on this topic. You
>>> may want to attend it and ask questions. Will post a hangout url few
>>> minutes ahead.
>>>
>>> Suresh
>>>
>>> On Aug 7, 2013, at 1:22 AM, Nipuni Piyabasi Perera <
>>> nipuni880917@gmail.com> wrote:
>>>
>>> >
>>> > Hi,
>>> >
>>> > I am implementing Airavata client API and I need to monitor running
>>> workflow status. I have noticed that a "Monitor" can be accessed via
>>>  "ExecutionManager" [1], and it provides startMonitoring() and
>>> stopMonitoring() methods.
>>> > I need to clarify whether it allows to display workflow status
>>> continuously or does it need poll to view status.
>>> >
>>> > [1]
>>> https://svn.apache.org/repos/asf/airavata/tags/airavata-0.7/samples/airavata-client/workflow-run/src/main/java/org/apache/airavata/client/samples/MonitorWorkflow.java
>>> >
>>> > Thanks,
>>> > Nipuni
>>> > --
>>> > Nipuni Piyabasi Perera
>>> > Undergraduate
>>> > Department of Computer Science And Engineering
>>> > University of Moratuwa
>>> > Sri Lanka
>>>
>>>
>>
>>
>> --
>> *Harsha Kumara*
>> *Undergraduate*
>> *Department of Computer Science and Engineering*
>> *University of Moratuwa*
>> *Sri Lanka.*
>>
>
>
>
> --
> Nipuni Piyabasi Perera
> Undergraduate
> Department of Computer Science And Engineering
> University of Moratuwa
> Sri Lanka
>

Mime
View raw message