Return-Path: X-Original-To: apmail-falcon-dev-archive@minotaur.apache.org Delivered-To: apmail-falcon-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id C586418E95 for ; Mon, 11 Jan 2016 13:51:42 +0000 (UTC) Received: (qmail 28778 invoked by uid 500); 11 Jan 2016 13:51:42 -0000 Delivered-To: apmail-falcon-dev-archive@falcon.apache.org Received: (qmail 28740 invoked by uid 500); 11 Jan 2016 13:51:42 -0000 Mailing-List: contact dev-help@falcon.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@falcon.apache.org Delivered-To: mailing list dev@falcon.apache.org Received: (qmail 28729 invoked by uid 99); 11 Jan 2016 13:51:42 -0000 Received: from Unknown (HELO spamd1-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 11 Jan 2016 13:51:42 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd1-us-west.apache.org (ASF Mail Server at spamd1-us-west.apache.org) with ESMTP id 07936C31D7 for ; Mon, 11 Jan 2016 13:51:42 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd1-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 0.98 X-Spam-Level: X-Spam-Status: No, score=0.98 tagged_above=-999 required=6.31 tests=[KAM_LAZY_DOMAIN_SECURITY=1, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, RP_MATCHES_RCVD=-0.001, WEIRD_PORT=0.001] autolearn=disabled Received: from mx1-us-east.apache.org ([10.40.0.8]) by localhost (spamd1-us-west.apache.org [10.40.0.7]) (amavisd-new, port 10024) with ESMTP id kRJPBk_jLIpN for ; Mon, 11 Jan 2016 13:51:41 +0000 (UTC) Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by mx1-us-east.apache.org (ASF Mail Server at mx1-us-east.apache.org) with SMTP id C795943CB0 for ; Mon, 11 Jan 2016 13:51:40 +0000 (UTC) Received: (qmail 28676 invoked by uid 99); 11 Jan 2016 13:51:40 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 11 Jan 2016 13:51:40 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id C44F12C14F7 for ; Mon, 11 Jan 2016 13:51:39 +0000 (UTC) Date: Mon, 11 Jan 2016 13:51:39 +0000 (UTC) From: "Pragya Mittal (JIRA)" To: dev@falcon.incubator.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (FALCON-1743) Entity summary does not work via prism MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ 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 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} was: 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} > 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 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)