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

Pragya Mittal updated FALCON-1743:
----------------------------------
    Description: 
1. Entity summary is supposed to show N most recent instances of entity of 
given cluster. But that is not the case. It shows output based on the cluster 
name irrespective of what the entity name is.

For prism :
{noformat}
dataqa@lda01:~$ falcon entity -type process -cluster 
ProcessMultipleClustersTest-corp-3aae3ae9 -summary -url 
http://192.168.138.236:16000
Consolidated Status: SUCCEEDED

Entity Summary Result :

Additional Information:
Response: Entity Summary ResultRequest Id: 878228784@qtp-477289012-155 - 
c29758fa-10a4-4d22-b5ee-1946f11d7ac1

{noformat}

2. Giving cluster with start and end parameter on prism fails with the 
following error.
{noformat}
dataqa@lda01:~$ falcon entity -type process -cluster 
ProcessMultipleClustersTest-corp-54289831 -summary -start 2016-01-08T12:38Z 
-end 2016-01-08T14:18Z
ERROR: Bad Request;Current colo (default) is not ua1
{noformat}

Prism logs stack trace :
{noformat}
2016-01-11 13:46:48,568 INFO  - [878228784@qtp-477289012-155 - 
7a9795a5-db9b-4b7c-8344-43db3368fe95:dataqa:GET//entities/summary/process] ~ 
Request from authenticated user: dataqa, 
URL=/api/entities/summary/process?cluster=ProcessMultipleClustersTest-corp-54289831&start=2016-01-08T12:38Z&end=2016-01-08T14:18Z&offset=0&numInstances=7,
 doAs user: null (FalconAuthenticationFilter:185)
2016-01-11 13:46:48,569 ERROR - [878228784@qtp-477289012-155 - 
7a9795a5-db9b-4b7c-8344-43db3368fe95:dataqa:GET//entities/summary/process] ~ 
Action failed: Bad Request
Error: Current colo (default) is not ua1 (FalconWebException:81)

{noformat}

  was:
Entity summary is supposed to show N most recent instances of entity of given 
cluster. But that is not the case. It shows output based on the cluster name 
irrespective of what teh entity name is.

For prism :
{noformat}
dataqa@lda01:~$ falcon entity -type process -cluster 
ProcessMultipleClustersTest-corp-3aae3ae9 -summary -url 
http://192.168.138.236:16000
Consolidated Status: SUCCEEDED

Entity Summary Result :

Additional Information:
Response: Entity Summary ResultRequest Id: 878228784@qtp-477289012-155 - 
c29758fa-10a4-4d22-b5ee-1946f11d7ac1

{noformat}


> Entity summary does not work via prism
> --------------------------------------
>
>                 Key: FALCON-1743
>                 URL: https://issues.apache.org/jira/browse/FALCON-1743
>             Project: Falcon
>          Issue Type: Bug
>          Components: client
>    Affects Versions: 0.9
>            Reporter: Pragya Mittal
>
> 1. Entity summary is supposed to show N most recent instances of entity of 
> given cluster. But that is not the case. It shows output based on the cluster 
> name irrespective of what the entity name is.
> For prism :
> {noformat}
> dataqa@lda01:~$ falcon entity -type process -cluster 
> ProcessMultipleClustersTest-corp-3aae3ae9 -summary -url 
> http://192.168.138.236:16000
> Consolidated Status: SUCCEEDED
> Entity Summary Result :
> Additional Information:
> Response: Entity Summary ResultRequest Id: 878228784@qtp-477289012-155 - 
> c29758fa-10a4-4d22-b5ee-1946f11d7ac1
> {noformat}
> 2. Giving cluster with start and end parameter on prism fails with the 
> following error.
> {noformat}
> dataqa@lda01:~$ falcon entity -type process -cluster 
> ProcessMultipleClustersTest-corp-54289831 -summary -start 2016-01-08T12:38Z 
> -end 2016-01-08T14:18Z
> ERROR: Bad Request;Current colo (default) is not ua1
> {noformat}
> Prism logs stack trace :
> {noformat}
> 2016-01-11 13:46:48,568 INFO  - [878228784@qtp-477289012-155 - 
> 7a9795a5-db9b-4b7c-8344-43db3368fe95:dataqa:GET//entities/summary/process] ~ 
> Request from authenticated user: dataqa, 
> URL=/api/entities/summary/process?cluster=ProcessMultipleClustersTest-corp-54289831&start=2016-01-08T12:38Z&end=2016-01-08T14:18Z&offset=0&numInstances=7,
>  doAs user: null (FalconAuthenticationFilter:185)
> 2016-01-11 13:46:48,569 ERROR - [878228784@qtp-477289012-155 - 
> 7a9795a5-db9b-4b7c-8344-43db3368fe95:dataqa:GET//entities/summary/process] ~ 
> Action failed: Bad Request
> Error: Current colo (default) is not ua1 (FalconWebException:81)
> {noformat}



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

Reply via email to