Return-Path: X-Original-To: apmail-falcon-dev-archive@minotaur.apache.org Delivered-To: apmail-falcon-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 802DC1147B for ; Wed, 10 Sep 2014 15:27:58 +0000 (UTC) Received: (qmail 82868 invoked by uid 500); 10 Sep 2014 15:27:58 -0000 Delivered-To: apmail-falcon-dev-archive@falcon.apache.org Received: (qmail 82825 invoked by uid 500); 10 Sep 2014 15:27:58 -0000 Mailing-List: contact dev-help@falcon.incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@falcon.incubator.apache.org Delivered-To: mailing list dev@falcon.incubator.apache.org Received: (qmail 82814 invoked by uid 99); 10 Sep 2014 15:27:58 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 10 Sep 2014 15:27:58 +0000 X-ASF-Spam-Status: No, hits=-2001.7 required=5.0 tests=ALL_TRUSTED,RP_MATCHES_RCVD,WEIRD_PORT X-Spam-Check-By: apache.org Received: from [140.211.11.3] (HELO mail.apache.org) (140.211.11.3) by apache.org (qpsmtpd/0.29) with SMTP; Wed, 10 Sep 2014 15:27:36 +0000 Received: (qmail 82128 invoked by uid 99); 10 Sep 2014 15:27:34 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 10 Sep 2014 15:27:34 +0000 Date: Wed, 10 Sep 2014 15:27:34 +0000 (UTC) From: "Ruslan Ostafiychuk (JIRA)" To: dev@falcon.incubator.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (FALCON-699) "startTime" and "endTime" from InstancesResult aren't "Date" now MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/FALCON-699?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Ruslan Ostafiychuk updated FALCON-699: -------------------------------------- Issue Type: Improvement (was: Bug) > "startTime" and "endTime" from InstancesResult aren't "Date" now > ---------------------------------------------------------------- > > Key: FALCON-699 > URL: https://issues.apache.org/jira/browse/FALCON-699 > Project: Falcon > Issue Type: Improvement > Components: merlin > Affects Versions: 0.5 > Reporter: Ruslan Ostafiychuk > Assignee: Ruslan Ostafiychuk > Priority: Critical > Fix For: 0.6 > > Attachments: FALCON-699.patch > > > Instances json example: > {code} > { > "status": "SUCCEEDED", > "message": "default/STATUS\n", > "requestId": "default/3a603aa5-9daa-4d1d-b7e1-8ac656c524d1\n", > "instances": [ > { > "instance": "2010-01-02T09:50Z", > "status": "SUCCEEDED", > "logFile": "http://colo-1.example.com:11000/oozie?job\u003d0000497-140905041548003-oozie-oozi-W", > "cluster": "corp-f1321f5d", > "startTime": "2014-09-09T06:40:07-07:00", > "endTime": "2014-09-09T06:43:51-07:00", > "details": "" > }, > { > "instance": "2010-01-02T09:55Z", > "status": "SUCCEEDED", > "logFile": "http://colo-1.example.com:11000/oozie?job\u003d0000499-140905041548003-oozie-oozi-W", > "cluster": "corp-f1321f5d", > "startTime": "2014-09-09T06:43:52-07:00", > "endTime": "2014-09-09T06:47:36-07:00", > "details": "" > } > ] > } > {code} > Exception: > {code} > com.google.gson.JsonSyntaxException: 2014-09-09T06:40:07-07:00 > ... > at com.google.gson.Gson.fromJson(Gson.java:755) > ... > org.apache.falcon.regression.core.util.InstanceUtil.hitUrl(InstanceUtil.java:189) > ... > org.apache.falcon.regression.core.interfaces.IEntityManagerHelper.getProcessInstanceStatus(IEntityManagerHelper.java:378) > {code} > At least 2 tests fails because of it (LineageApiProcessInstanceTest). -- This message was sent by Atlassian JIRA (v6.3.4#6332)