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 EB09BF73C for ; Tue, 30 Apr 2013 06:00:20 +0000 (UTC) Received: (qmail 91172 invoked by uid 500); 30 Apr 2013 06:00:20 -0000 Delivered-To: apmail-accumulo-notifications-archive@accumulo.apache.org Received: (qmail 91128 invoked by uid 500); 30 Apr 2013 06:00:20 -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 91113 invoked by uid 99); 30 Apr 2013 06:00:20 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 30 Apr 2013 06:00:20 +0000 Date: Tue, 30 Apr 2013 06:00:20 +0000 (UTC) From: "Christopher Tubbs (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 ] Christopher Tubbs updated ACCUMULO-1348: ---------------------------------------- Status: Open (was: Patch Available) Problems with patch: # needs consistent (unix) newlines # should be a patch for the top of the branch to patch # the test resource file needs a license file exception for the rat plugin in the core/pom.xml # patch doesn't specify the branch to which it should be applied Also, if fix is intended prior to 1.6 (trunk), provide patch against earliest branch to fix, and I'll merge it forward to the newer branches. > 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: Christopher Tubbs > Fix For: 1.6.0 > > Attachments: ACCUMULO-1348.v1.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