[
https://issues.apache.org/jira/browse/FALCON-1743?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15193022#comment-15193022
]
ASF GitHub Bot commented on FALCON-1743:
----------------------------------------
Github user asfgit closed the pull request at:
https://github.com/apache/falcon/pull/65
> 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.8, 0.9
> Reporter: Pragya Mittal
> Assignee: Ajay Yadava
> Fix For: 0.10
>
>
> 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 only if query is
> fired via server. Null object is returned in case of prism.
> 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)