falcon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Venkatesh Seetharam (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (FALCON-710) start/end is optional for lifecycle operations
Date Mon, 27 Oct 2014 04:39:34 GMT

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

Venkatesh Seetharam updated FALCON-710:
---------------------------------------
    Attachment: FALCON-710-v2.patch

> start/end is optional for lifecycle operations
> ----------------------------------------------
>
>                 Key: FALCON-710
>                 URL: https://issues.apache.org/jira/browse/FALCON-710
>             Project: Falcon
>          Issue Type: Bug
>    Affects Versions: 0.6
>         Environment: QA
>            Reporter: Karishma Gulati
>            Assignee: Balu Vellanki
>             Fix For: 0.6
>
>         Attachments: FALCON-710-V1.patch, FALCON-710-v2.patch, FALCON-710.patch
>
>
> Given the latest change made in the default behaviour of instance request. the default
values of start and end should be applicable only when getting the status of instances, and
not for APIs like kill and suspend as well. 
> For eg, if the instances of a process created are from the past, and a suspend/kill request
is made without specifying the start and end, all instances of that process are suspended/killed.
> For process validity : start - 2010-01-02T01:00Z and end - 2010-01-02T01:26Z, the URL

> {code}
>  Request Url: http://192.168.138.137:16000/api/instance/kill/process/agregator-coord16-3ca03cba/?colo=*&user.name=karishma
> {code}
> returns the following response
> {code}
> {
>   "status": "SUCCEEDED",
>   "message": "ua1/KILL\n",
>   "requestId": "ua1/09285aae-f571-408c-a8f4-989cba9cbd19\n",
>   "instances": [
>     {
>       "instance": "2010-01-02T01:25Z",
>       "status": "KILLED",
>       "logFile": "http://ip-192-168-138-137:11000/oozie?job\u003d0000894-140828065226481-oozie-oozi-W",
>       "cluster": "corp-953ec81e",
>       "startTime": "2014-09-11T09:29:30Z",
>       "endTime": "2014-09-11T09:29:49Z",
>       "details": ""
>     },
>     {
>       "instance": "2010-01-02T01:20Z",
>       "status": "KILLED",
>       "logFile": "http://ip-192-168-138-137:11000/oozie?job\u003d0000892-140828065226481-oozie-oozi-W",
>       "cluster": "corp-953ec81e",
>       "startTime": "2014-09-11T09:29:28Z",
>       "endTime": "2014-09-11T09:29:50Z",
>       "details": ""
>     },
>     {
>       "instance": "2010-01-02T01:15Z",
>       "status": "KILLED",
>       "logFile": "http://ip-192-168-138-137:11000/oozie?job\u003d0000890-140828065226481-oozie-oozi-W",
>       "cluster": "corp-953ec81e",
>       "startTime": "2014-09-11T09:29:26Z",
>       "endTime": "2014-09-11T09:29:52Z",
>       "details": ""
>     },
>     {
>       "instance": "2010-01-02T01:10Z",
>       "status": "KILLED",
>       "logFile": "http://ip-192-168-138-137:11000/oozie?job\u003d0000888-140828065226481-oozie-oozi-W",
>       "cluster": "corp-953ec81e",
>       "startTime": "2014-09-11T09:29:25Z",
>       "endTime": "2014-09-11T09:29:53Z",
>       "details": ""
>     },
>     {
>       "instance": "2010-01-02T01:05Z",
>       "status": "KILLED",
>       "logFile": "http://ip-192-168-138-137:11000/oozie?job\u003d0000886-140828065226481-oozie-oozi-W",
>       "cluster": "corp-953ec81e",
>       "startTime": "2014-09-11T09:29:24Z",
>       "endTime": "2014-09-11T09:29:56Z",
>       "details": ""
>     },
>     {
>       "instance": "2010-01-02T01:00Z",
>       "status": "KILLED",
>       "logFile": "http://ip-192-168-138-137:11000/oozie?job\u003d0000884-140828065226481-oozie-oozi-W",
>       "cluster": "corp-953ec81e",
>       "startTime": "2014-09-11T09:29:24Z",
>       "endTime": "2014-09-11T09:29:58Z",
>       "details": ""
>     }
>   ]
> }
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message