Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 4D11F200CC9 for ; Mon, 17 Jul 2017 10:18:57 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 4BAE7163ACB; Mon, 17 Jul 2017 08:18:57 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 9B1C1163AC7 for ; Mon, 17 Jul 2017 10:18:56 +0200 (CEST) Received: (qmail 94773 invoked by uid 500); 17 Jul 2017 08:18:48 -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 93591 invoked by uid 99); 17 Jul 2017 08:18:47 -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; Mon, 17 Jul 2017 08:18:47 +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 C104FC0415 for ; Mon, 17 Jul 2017 08:08:04 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd4-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -100.002 X-Spam-Level: X-Spam-Status: No, score=-100.002 tagged_above=-999 required=6.31 tests=[RP_MATCHES_RCVD=-0.001, SPF_PASS=-0.001, USER_IN_WHITELIST=-100] autolearn=disabled Received: from mx1-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 G23fetiagtpU for ; Mon, 17 Jul 2017 08:08:04 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTP id ABCB361AE8 for ; Mon, 17 Jul 2017 08:08:02 +0000 (UTC) Received: from jira-lw-us.apache.org (unknown [207.244.88.139]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id 2A04EE0E2E for ; Mon, 17 Jul 2017 08:08:01 +0000 (UTC) Received: from jira-lw-us.apache.org (localhost [127.0.0.1]) by jira-lw-us.apache.org (ASF Mail Server at jira-lw-us.apache.org) with ESMTP id 3971424774 for ; Mon, 17 Jul 2017 08:08:00 +0000 (UTC) Date: Mon, 17 Jul 2017 08:08:00 +0000 (UTC) From: "Denes Bodo (JIRA)" To: dev@falcon.incubator.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (FALCON-1685) CLI does not honour extra attributes passed via client MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Mon, 17 Jul 2017 08:18:57 -0000 [ https://issues.apache.org/jira/browse/FALCON-1685?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Denes Bodo updated FALCON-1685: ------------------------------- Attachment: 0001-FALCON-1685-CLI-does-not-honour-extra-attributes-pas.patch Sorry for the late proposal I haven't had much time. Honestly I can understand why this ticket is open for more than one and a half year. I examined more alternatives and I think Falcon CLI commands are too complicated to use pleasant code. Can you please comment on this change? If it is OK than I will continue implementing it. Positive and negative comments are also welcome. > CLI does not honour extra attributes passed via client > ------------------------------------------------------ > > Key: FALCON-1685 > URL: https://issues.apache.org/jira/browse/FALCON-1685 > Project: Falcon > Issue Type: Bug > Components: client > Reporter: Pragya Mittal > Assignee: Denes Bodo > Attachments: 0001-FALCON-1685-CLI-does-not-honour-extra-attributes-pas.patch, 0001-FALCON-1685-CLI-does-not-honour-extra-attributes-pas.patch > > > Falcon client takes in extra parameters passed to it by user and shows results, although these properties are filtered before passing to api. > Instead CLI should throw error in such cases. > One use case is : > list operation does not use native scheduler property, but if I give the following command it gives expected result : > {noformat} > falcon entity -type process -list -properties falcon.scheduler:native > 1 > (PROCESS) native-1 > {noformat} > In such cases user assume that scheduler is able to handle list operation too. > The same behaviour was shown by other falcon CLI operations. -- This message was sent by Atlassian JIRA (v6.4.14#64029)