Return-Path: X-Original-To: apmail-airavata-dev-archive@www.apache.org Delivered-To: apmail-airavata-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 2CD84D371 for ; Tue, 21 May 2013 15:25:22 +0000 (UTC) Received: (qmail 1729 invoked by uid 500); 21 May 2013 15:25:22 -0000 Delivered-To: apmail-airavata-dev-archive@airavata.apache.org Received: (qmail 1603 invoked by uid 500); 21 May 2013 15:25:22 -0000 Mailing-List: contact dev-help@airavata.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@airavata.apache.org Delivered-To: mailing list dev@airavata.apache.org Received: (qmail 1589 invoked by uid 99); 21 May 2013 15:25:21 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 21 May 2013 15:25:21 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of danushka.menikkumbura@gmail.com designates 209.85.128.48 as permitted sender) Received: from [209.85.128.48] (HELO mail-qe0-f48.google.com) (209.85.128.48) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 21 May 2013 15:25:16 +0000 Received: by mail-qe0-f48.google.com with SMTP id 9so450672qea.35 for ; Tue, 21 May 2013 08:24:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type; bh=CYr9i9HGN/PDuv1UD5qeDdrLxmgXXoijXOhW+i76TR0=; b=AiLwv2hH+s7cwpmqF1svAv1Im3fH8R/VjM7W6QPi2Qg7Y7HfaGsPJqAf4uHCRCHwA6 HUQ2HN0FaMJaalCxMs1CSjJQR9CntvrqpMFHlUg9YNqE94DaEiux7fnh7QSMxa47lK/m 35ldy00T6xKSHq2DQGQMjoLEcapEpXpLALb8YwFhn3HkHa1L3YUadrX7RXJ7NODREpUA En+lD6KoMG3+I0itXIpso8Ugwg853snzkNfgM71W2erg8p2bNAsInOl4WhGBeRdU4wtl AFLgSYGGty74SVU9I0rRdAGrGG+syjjXncAi9JVxV3OzFA9wuf5SfKWspJM7BsuCUjVV A2IQ== X-Received: by 10.49.108.40 with SMTP id hh8mr3164027qeb.39.1369149895327; Tue, 21 May 2013 08:24:55 -0700 (PDT) MIME-Version: 1.0 Received: by 10.49.109.162 with HTTP; Tue, 21 May 2013 08:24:35 -0700 (PDT) In-Reply-To: References: From: Danushka Menikkumbura Date: Tue, 21 May 2013 20:54:35 +0530 Message-ID: Subject: Re: Persisting GFac job data To: dev@airavata.apache.org Content-Type: multipart/alternative; boundary=047d7bea317627e47d04dd3c0d19 X-Virus-Checked: Checked by ClamAV on apache.org --047d7bea317627e47d04dd3c0d19 Content-Type: text/plain; charset=ISO-8859-1 Saminda, I think the data container does not need to have a generic format. We can have a base class that facilitate object serialization/deserialization and let specific meta data structure implement them as required. We get the Registry API to serialize objects and save them in a meta data table (with just two columns?) and to deserialize as they are loaded off the registry. Danushka On Tue, May 21, 2013 at 8:34 PM, Saminda Wijeratne wrote: > It has being apparent more and more that saving the data related to > executing a jobs from the GFac can be useful for many reasons such as, > > debugging > retrying > to make smart decisions on reliability/cost etc. > statistical analysis > > Thus we thought of saving the data related to GFac jobs in the registry in > order to facilitate feature such as above in the future. > > However a GFac job is potentially any sort of computing resource access > (GRAM/UNICORE/EC2 etc.). Therefore we need to come up with a generalized > data structure that can hold the data of any type of resource. Following > are the suggested data to save for a single GFac job execution, > > *experiment id, workflow instance id, node id* - pinpoint the node > execution > *service, host, application description ids *- pinpoint the descriptors > responsible > *local job id* - the unique job id retrieved/generated per execution > [PRIMARY KEY] > *job data* - data related executing the job (eg: the rsl in GRAM) > *submitted, completed time* > *completed status* - whether the job was successfull or ran in to errors > etc. > *metadata* - custom field to add anything user wants > > Your feedback is most welcome. The API related changes will also be > discussed once we have a proper data structure. We are hoping to implement > this within next few days. > > Thanks, > Saminda > --047d7bea317627e47d04dd3c0d19--