Return-Path: X-Original-To: apmail-accumulo-notifications-archive@minotaur.apache.org Delivered-To: apmail-accumulo-notifications-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 11AA3F14C for ; Sat, 4 May 2013 17:18:16 +0000 (UTC) Received: (qmail 21539 invoked by uid 500); 4 May 2013 17:18:16 -0000 Delivered-To: apmail-accumulo-notifications-archive@accumulo.apache.org Received: (qmail 21509 invoked by uid 500); 4 May 2013 17:18:16 -0000 Mailing-List: contact notifications-help@accumulo.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: jira@apache.org Delivered-To: mailing list notifications@accumulo.apache.org Received: (qmail 21500 invoked by uid 99); 4 May 2013 17:18:15 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 04 May 2013 17:18:15 +0000 Date: Sat, 4 May 2013 17:18:15 +0000 (UTC) From: "Mike Drob (JIRA)" To: notifications@accumulo.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (ACCUMULO-1348) Accumulo Shell does not respect 'exit' when executing file 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/ACCUMULO-1348?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Mike Drob updated ACCUMULO-1348: -------------------------------- Attachment: ACCUMULO-1348.v3.patch Added exit check to MockShell; no relevant integration changes. > Accumulo Shell does not respect 'exit' when executing file > ---------------------------------------------------------- > > Key: ACCUMULO-1348 > URL: https://issues.apache.org/jira/browse/ACCUMULO-1348 > Project: Accumulo > Issue Type: Bug > Components: shell > Affects Versions: 1.4.2 > Reporter: Mike Drob > Assignee: Mike Drob > Fix For: 1.5.0 > > Attachments: ACCUMULO-1348.v1.patch, ACCUMULO-1348.v2.patch, ACCUMULO-1348.v3.patch > > > If there is an {{exit}} statement in the file given via {{accumulo shell -f file}}, the execution seems to skip it and go on to the next command instead of terminating. > To recreate: > {noformat} > [mike@home ~] cat bug.accumulo > exit > scan -np -t !METADATA > [mike@home ~] bin/accumulo shell -f /home/mike/bug.accumulo > {noformat} > Expected output: None > Actual output: A full scan of the !METADATA -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira