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 BA37A18214 for ; Fri, 30 Oct 2015 07:40:29 +0000 (UTC) Received: (qmail 13536 invoked by uid 500); 30 Oct 2015 07:40:29 -0000 Delivered-To: apmail-falcon-dev-archive@falcon.apache.org Received: (qmail 13387 invoked by uid 500); 30 Oct 2015 07:40:29 -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 13372 invoked by uid 99); 30 Oct 2015 07:40:29 -0000 Received: from Unknown (HELO spamd3-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 30 Oct 2015 07:40:29 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd3-us-west.apache.org (ASF Mail Server at spamd3-us-west.apache.org) with ESMTP id 32A3E180234 for ; Fri, 30 Oct 2015 07:40:29 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd3-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 1.77 X-Spam-Level: * X-Spam-Status: No, score=1.77 tagged_above=-999 required=6.31 tests=[KAM_ASCII_DIVIDERS=0.8, KAM_LAZY_DOMAIN_SECURITY=1, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, T_RP_MATCHES_RCVD=-0.01] autolearn=disabled Received: from mx1-us-east.apache.org ([10.40.0.8]) by localhost (spamd3-us-west.apache.org [10.40.0.10]) (amavisd-new, port 10024) with ESMTP id QVUgO8VO4TUm for ; Fri, 30 Oct 2015 07:40:28 +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 2D017439C5 for ; Fri, 30 Oct 2015 07:40:28 +0000 (UTC) Received: (qmail 13350 invoked by uid 99); 30 Oct 2015 07:40:27 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 30 Oct 2015 07:40:27 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id AB2102C1F56 for ; Fri, 30 Oct 2015 07:40:27 +0000 (UTC) Date: Fri, 30 Oct 2015 07:40:27 +0000 (UTC) From: "Pragya Mittal (JIRA)" To: dev@falcon.incubator.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (FALCON-1575) Non-intuitive message from SLA API if start date is after currentTime 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-1575?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Pragya Mittal updated FALCON-1575: ---------------------------------- Description: If sla start time is after current time then response says start is after end. {noformat} dataqa@lda01:~$ date Fri Oct 30 07:35:25 GMT 2015 dataqa@lda01:~$ falcon entity -type feed -start 2015-10-30T10:00Z -slaAlert ERROR: Bad Request;start can not be after end {noformat} Instead it should say something like start date can not be in future. was: {noformat} dataqa@lda01:~$ date Fri Oct 30 07:35:25 GMT 2015 dataqa@lda01:~$ falcon entity -type feed -start 2015-10-30T10:00Z -slaAlert ERROR: Bad Request;start can not be after end dataqa@lda01:~$ {noformat} > Non-intuitive message from SLA API if start date is after currentTime > --------------------------------------------------------------------- > > Key: FALCON-1575 > URL: https://issues.apache.org/jira/browse/FALCON-1575 > Project: Falcon > Issue Type: Bug > Components: feed, prism > Affects Versions: trunk > Environment: QA > Reporter: Pragya Mittal > Labels: newbie > Fix For: trunk > > > If sla start time is after current time then response says start is after end. > {noformat} > dataqa@lda01:~$ date > Fri Oct 30 07:35:25 GMT 2015 > dataqa@lda01:~$ falcon entity -type feed -start 2015-10-30T10:00Z -slaAlert > ERROR: Bad Request;start can not be after end > {noformat} > Instead it should say something like start date can not be in future. -- This message was sent by Atlassian JIRA (v6.3.4#6332)