accumulo-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (ACCUMULO-1348) Accumulo Shell does not respect 'exit' when executing file
Date Tue, 07 May 2013 02:55:19 GMT

    [ https://issues.apache.org/jira/browse/ACCUMULO-1348?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13650438#comment-13650438
] 

Hudson commented on ACCUMULO-1348:
----------------------------------

Integrated in Accumulo-1.5 #98 (See [https://builds.apache.org/job/Accumulo-1.5/98/])
    ACCUMULO-1348 Applied patch from Mike Drob to 1.5 branch (Revision 1479204)

     Result = SUCCESS
ctubbsii : 
Files : 
* /accumulo/branches/1.5/core/pom.xml
* /accumulo/branches/1.5/core/src/main/java/org/apache/accumulo/core/client/mock/MockShell.java
* /accumulo/branches/1.5/core/src/main/java/org/apache/accumulo/core/util/shell/Shell.java
* /accumulo/branches/1.5/core/src/test/java/org/apache/accumulo/core/util/shell/ShellTest.java
* /accumulo/branches/1.5/core/src/test/resources/shelltest.txt

                
> 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

Mime
View raw message