You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@accumulo.apache.org by "Christopher Tubbs (JIRA)" <ji...@apache.org> on 2013/05/05 00:48:16 UTC

[jira] [Commented] (ACCUMULO-1348) Accumulo Shell does not respect 'exit' when executing file

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

Christopher Tubbs commented on ACCUMULO-1348:
---------------------------------------------

The patch was applied to the 1.5 branch and the trunk (1.6). However, depending on whether 1.5.0-RC1 becomes 1.5.0 or not (it probably won't), the fixVersion on this ticket may be 1.5.0 or 1.5.1; So, I'm leaving this ticket open until we know for sure, so it can be marked accordingly.
                
> 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