[ 
https://issues.apache.org/jira/browse/FALCON-1809?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15148192#comment-15148192
 ] 

Praveen Adlakha commented on FALCON-1809:
-----------------------------------------

This one should get addressed in FALCON-1811.I have already submitted the 
patch.Please see the output if this is what [~pragya.mittal] / you are 
expecting to see.

{code}
$ bin/falcon instance -type process -name process1 -start 2016-01-10T14:00Z 
-status 
Consolidated Status: SUCCEEDED

Instances:
Instance                Cluster         SourceCluster           Status          
Start           End             Details                                 Log
-----------------------------------------------------------------------------------------------
2016-01-11T01:00Z       local   -       SUSPENDED       2016-02-11T10:24Z       
-       -       
http://falcon-server:11000/oozie?job=0000034-151229192519233-oozie-oozi-W
actions:
 mr-node        null    null
 failed-post-processing null    null
2016-01-12T01:00Z       local   -       KILLED  2016-02-11T10:23Z       
2016-02-11T10:23Z       -       
http://falcon-server:11000/oozie?job=0000032-151229192519233-oozie-oozi-W
actions:
 mr-node        null    null
 failed-post-processing FAILED/KILLED   
http://falcon-server:8088/proxy/application_1451227881601_0015/
2016-01-13T01:00Z       local   -       WAITING -       -       
hdfs://falcon-server:8020/user/dataqa/testEffective/2016/01/12/23/00    -
2016-01-14T01:00Z       local   -       WAITING -       -       
hdfs://falcon-server:8020/user/dataqa/testEffective/2016/01/13/23/00    -
2016-01-15T01:00Z       local   -       WAITING -       -       
hdfs://falcon-server:8020/user/dataqa/testEffective/2016/01/14/23/00    -
2016-01-16T01:00Z       local   -       WAITING -       -       
hdfs://falcon-server:8020/user/dataqa/testEffective/2016/01/15/23/00    -
2016-01-17T01:00Z       local   -       WAITING -       -       
hdfs://falcon-server:8020/user/dataqa/testEffective/2016/01/16/23/00    -
2016-01-18T01:00Z       local   -       WAITING -       -       
hdfs://falcon-server:8020/user/dataqa/testEffective/2016/01/17/23/00    -
2016-01-19T01:00Z       local   -       WAITING -       -       
hdfs://falcon-server:8020/user/dataqa/testEffective/2016/01/18/23/00    -
2016-01-20T01:00Z       local   -       WAITING -       -       
hdfs://falcon-server:8020/user/dataqa/testEffective/2016/01/19/23/00    -
{code} 

> Default numResults preferred over given time range
> --------------------------------------------------
>
>                 Key: FALCON-1809
>                 URL: https://issues.apache.org/jira/browse/FALCON-1809
>             Project: Falcon
>          Issue Type: Improvement
>          Components: client
>    Affects Versions: trunk
>            Reporter: Pragya Mittal
>            Assignee: Praveen Adlakha
>
> In case of status API ,
> {noformat}
> dataqa@lda01:~$ falcon instance -type process -name processMerlinOozie 
> -status -start 2016-02-02T10:43Z -colo ua1 -end 2016-02-02T10:58Z
> Consolidated Status: SUCCEEDED
> Instances:
> Instance              Cluster         SourceCluster           Status          
> Start           End             Details                                 Log
> -----------------------------------------------------------------------------------------------
> 2016-02-02T10:57Z     ProcessMultipleClustersTest-corp-ec3c7235       -       
> WAITING -       -       -       -
> 2016-02-02T10:56Z             ProcessMultipleClustersTest-corp-ec3c7235       
> -       WAITING -       -       -       -
> 2016-02-02T10:55Z     ProcessMultipleClustersTest-corp-ec3c7235       -       
> WAITING -       -       -       -
> 2016-02-02T10:54Z     ProcessMultipleClustersTest-corp-ec3c7235       -       
> WAITING -       -       -       -
> 2016-02-02T10:53Z     ProcessMultipleClustersTest-corp-ec3c7235       -       
> WAITING -       -       -       -
> 2016-02-02T10:52Z     ProcessMultipleClustersTest-corp-ec3c7235       -       
> WAITING -       -       -       -
> 2016-02-02T10:51Z     ProcessMultipleClustersTest-corp-ec3c7235       -       
> WAITING -       -       -       -
> 2016-02-02T10:50Z     ProcessMultipleClustersTest-corp-ec3c7235       -       
> WAITING -       -       -       -
> 2016-02-02T10:49Z     ProcessMultipleClustersTest-corp-ec3c7235       -       
> WAITING -       -       -       -
> 2016-02-02T10:48Z             ProcessMultipleClustersTest-corp-ec3c7235       
> -       WAITING -       -       -       -
> Additional Information:
> Response: ua1/STATUS
> Request Id: ua1/567001458@qtp-824208363-15 - 
> 5ce0d97b-984d-4a1b-ae75-2cc367e552b6
> {noformat}
> It shows 10 results(defualt numResults), irrespective of given time range 
> which is not very intuitive.



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

Reply via email to