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

Pragya Mittal updated FALCON-1172:
----------------------------------
    Description: 
While rerunning a succeeded instance without using force option, the response 
shows the instance in running mode but instead of running it just increments 
the run count. It would be helpful if user gets to know that the instance 
didn't go in running mode actually.

{code}
dataqa@ip-192-168-138-200:/mnt/git/falcon-0.6/falconPrism/bin$ ./falcon 
instance -type process -name FETL-ImpressionRC-Conversion-New-d867fa04 -start 
2015-04-20T05:00Z -end 2015-04-20T05:01Z -rerun 
Consolidated Status: SUCCEEDED

Instances:
Instance                Cluster         SourceCluster           Status          
Start           End             Details                                 Log
-----------------------------------------------------------------------------------------------
2015-04-20T05:00Z       ua2-staging-52b87fd6    -       RUNNING 
2015-04-23T06:24Z       2015-04-23T06:25Z       -       
http://ip-192-168-138-200:11000/oozie?job=0000003-150423062205770-oozie-oozi-W

Additional Information:
Response: ua1/RERUN
Request Id: ua1/495467263@qtp-1147580192-2 - 
3187e863-050d-440b-a4a5-770b8c4c5132
{code}

The status of instance didn't change after rerun is applied
{code}
dataqa@ip-192-168-138-200:/mnt/git/falcon-0.6/falconPrism/bin$ ./falcon 
instance -type process -name FETL-ImpressionRC-Conversion-New-d867fa04 -start 
2015-04-20T05:00Z -end 2015-04-20T05:01Z -status
Consolidated Status: SUCCEEDED

Instances:
Instance                Cluster         SourceCluster           Status          
Start           End             Details                                 Log
-----------------------------------------------------------------------------------------------
2015-04-20T05:00Z       ua2-staging-52b87fd6    -       SUCCEEDED       
2015-04-23T06:30Z       2015-04-23T06:30Z       
-http://ip-192-168-138-200:11000/oozie?job=0000003-150423062205770-oozie-oozi-W
actions:
 impressionrc-conversion-store  SUCCEEDED       
http://ip-192-168-138-200:8088/proxy/application_1429342671418_0741/

Additional Information:
Response: ua1/STATUS
Request Id: ua1/495467263@qtp-1147580192-2 - 
ba07f33a-fb70-4e71-8065-30ec50d4080f

{code}

  was:
While rerunning a succeeded instance without using force option, the response 
shows the instance in running mode but instead of running it just increments 
the run count. It would be helpful if user gets to know that the instance 
didn't go in running mode actually.



> Better response while rerunning succeeded instnaces
> ---------------------------------------------------
>
>                 Key: FALCON-1172
>                 URL: https://issues.apache.org/jira/browse/FALCON-1172
>             Project: Falcon
>          Issue Type: Improvement
>          Components: process
>    Affects Versions: trunk
>            Reporter: Pragya Mittal
>
> While rerunning a succeeded instance without using force option, the response 
> shows the instance in running mode but instead of running it just increments 
> the run count. It would be helpful if user gets to know that the instance 
> didn't go in running mode actually.
> {code}
> dataqa@ip-192-168-138-200:/mnt/git/falcon-0.6/falconPrism/bin$ ./falcon 
> instance -type process -name FETL-ImpressionRC-Conversion-New-d867fa04 -start 
> 2015-04-20T05:00Z -end 2015-04-20T05:01Z -rerun 
> Consolidated Status: SUCCEEDED
> Instances:
> Instance              Cluster         SourceCluster           Status          
> Start           End             Details                                 Log
> -----------------------------------------------------------------------------------------------
> 2015-04-20T05:00Z     ua2-staging-52b87fd6    -       RUNNING 
> 2015-04-23T06:24Z       2015-04-23T06:25Z       -       
> http://ip-192-168-138-200:11000/oozie?job=0000003-150423062205770-oozie-oozi-W
> Additional Information:
> Response: ua1/RERUN
> Request Id: ua1/495467263@qtp-1147580192-2 - 
> 3187e863-050d-440b-a4a5-770b8c4c5132
> {code}
> The status of instance didn't change after rerun is applied
> {code}
> dataqa@ip-192-168-138-200:/mnt/git/falcon-0.6/falconPrism/bin$ ./falcon 
> instance -type process -name FETL-ImpressionRC-Conversion-New-d867fa04 -start 
> 2015-04-20T05:00Z -end 2015-04-20T05:01Z -status
> Consolidated Status: SUCCEEDED
> Instances:
> Instance              Cluster         SourceCluster           Status          
> Start           End             Details                                 Log
> -----------------------------------------------------------------------------------------------
> 2015-04-20T05:00Z     ua2-staging-52b87fd6    -       SUCCEEDED       
> 2015-04-23T06:30Z       2015-04-23T06:30Z       
> -http://ip-192-168-138-200:11000/oozie?job=0000003-150423062205770-oozie-oozi-W
> actions:
>  impressionrc-conversion-store        SUCCEEDED       
> http://ip-192-168-138-200:8088/proxy/application_1429342671418_0741/
> Additional Information:
> Response: ua1/STATUS
> Request Id: ua1/495467263@qtp-1147580192-2 - 
> ba07f33a-fb70-4e71-8065-30ec50d4080f
> {code}



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

Reply via email to