falcon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ruslan Ostafiychuk (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (FALCON-699) "startTime" and "endTime" from InstancesResult aren't "Date" now
Date Tue, 09 Sep 2014 14:00:40 GMT

     [ https://issues.apache.org/jira/browse/FALCON-699?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Ruslan Ostafiychuk updated FALCON-699:
--------------------------------------
    Attachment: FALCON-699.patch

> "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: Bug
>          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)

Mime
View raw message