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 A92C21922E for ; Thu, 10 Mar 2016 11:25:44 +0000 (UTC) Received: (qmail 83344 invoked by uid 500); 10 Mar 2016 11:25:44 -0000 Delivered-To: apmail-falcon-dev-archive@falcon.apache.org Received: (qmail 83299 invoked by uid 500); 10 Mar 2016 11:25:44 -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 83288 invoked by uid 99); 10 Mar 2016 11:25:44 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd4-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 10 Mar 2016 11:25:44 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd4-us-west.apache.org (ASF Mail Server at spamd4-us-west.apache.org) with ESMTP id 09209C035D for ; Thu, 10 Mar 2016 11:25:44 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd4-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -4.348 X-Spam-Level: X-Spam-Status: No, score=-4.348 tagged_above=-999 required=6.31 tests=[KAM_LAZY_DOMAIN_SECURITY=1, RCVD_IN_DNSWL_HI=-5, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, RP_MATCHES_RCVD=-0.329, WEIRD_PORT=0.001] autolearn=disabled Received: from mx2-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd4-us-west.apache.org [10.40.0.11]) (amavisd-new, port 10024) with ESMTP id 1pCklg0oh55Z for ; Thu, 10 Mar 2016 11:25:42 +0000 (UTC) Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by mx2-lw-eu.apache.org (ASF Mail Server at mx2-lw-eu.apache.org) with SMTP id C40BB5F2C3 for ; Thu, 10 Mar 2016 11:25:41 +0000 (UTC) Received: (qmail 83224 invoked by uid 99); 10 Mar 2016 11:25:40 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 10 Mar 2016 11:25:40 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id CBDCB2C044E for ; Thu, 10 Mar 2016 11:25:40 +0000 (UTC) Date: Thu, 10 Mar 2016 11:25:40 +0000 (UTC) From: "ASF GitHub Bot (JIRA)" To: dev@falcon.incubator.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (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:comment-tabpanel&focusedCommentId=15189160#comment-15189160 ] ASF GitHub Bot commented on FALCON-1743: ---------------------------------------- GitHub user ajayyadava opened a pull request: https://github.com/apache/falcon/pull/65 FALCON-1743 Entity summary does not work via prism. You can merge this pull request into a Git repository by running: $ git pull https://github.com/ajayyadava/falcon 1743 Alternatively you can review and apply these changes as the patch at: https://github.com/apache/falcon/pull/65.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #65 ---- commit 4eff7e6c15588e05c2f6fc27f73d84e8e2007762 Author: Ajay Yadava Date: 2016-01-29T14:54:33Z FALCON-1743 Entity summary does not work via prism. ---- > 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 > > 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)