You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@falcon.apache.org by "Ruslan Ostafiychuk (JIRA)" <ji...@apache.org> on 2014/09/09 15:57:28 UTC

[jira] [Created] (FALCON-699) "startTime" and "endTime" from Instances aren't "Date" now

Ruslan Ostafiychuk created FALCON-699:
-----------------------------------------

             Summary: "startTime" and "endTime" from Instances 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


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)