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 2012/10/11 23:37:03 UTC

[jira] [Created] (ACCUMULO-808) Add option to pipe shell commands to a file

Christopher Tubbs created ACCUMULO-808:
------------------------------------------

             Summary: Add option to pipe shell commands to a file
                 Key: ACCUMULO-808
                 URL: https://issues.apache.org/jira/browse/ACCUMULO-808
             Project: Accumulo
          Issue Type: Improvement
          Components: shell
            Reporter: Christopher Tubbs
            Assignee: Billie Rinaldi
             Fix For: 1.5.0


When working in the shell, it would be useful to direct scan output directly to a file for examination outside of the interactive shell.

A simple solution is to add a -o/--output <file> option to scan commands in the shell. Other commands may benefit from such a feature, also.

--
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

[jira] [Updated] (ACCUMULO-808) Add option to pipe shell commands to a file

Posted by "Joe Skora (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/ACCUMULO-808?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Joe Skora updated ACCUMULO-808:
-------------------------------

    Attachment: 0001-Add-output-option-o-to-the-scan-and-config-CLI-comma.patch
    
> Add option to pipe shell commands to a file
> -------------------------------------------
>
>                 Key: ACCUMULO-808
>                 URL: https://issues.apache.org/jira/browse/ACCUMULO-808
>             Project: Accumulo
>          Issue Type: Improvement
>          Components: shell
>    Affects Versions: 1.5.0
>            Reporter: Christopher Tubbs
>            Assignee: Billie Rinaldi
>              Labels: config, file, hackathon, output, save, shell
>             Fix For: 1.5.0
>
>         Attachments: 0001-Add-output-option-o-to-the-scan-and-config-CLI-comma.patch
>
>
> When working in the shell, it would be useful to direct scan output directly to a file for examination outside of the interactive shell.
> A simple solution is to add a -o/--output <file> option to scan commands in the shell. Other commands may benefit from such a feature, also.

--
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

[jira] [Updated] (ACCUMULO-808) Add option to pipe shell commands to a file

Posted by "Joe Skora (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/ACCUMULO-808?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Joe Skora updated ACCUMULO-808:
-------------------------------

    Attachment: 0001-fix-recursion-error-in-scan-command-printRecord.patch

Fix recursion bug in ScanCommand.java.
                
> Add option to pipe shell commands to a file
> -------------------------------------------
>
>                 Key: ACCUMULO-808
>                 URL: https://issues.apache.org/jira/browse/ACCUMULO-808
>             Project: Accumulo
>          Issue Type: Improvement
>          Components: shell
>    Affects Versions: 1.5.0
>            Reporter: Christopher Tubbs
>            Assignee: Joe Skora
>              Labels: config, file, hackathon, output, save, shell
>             Fix For: 1.5.0
>
>         Attachments: 0001-Add-output-option-o-to-the-scan-and-config-CLI-comma.patch, 0001-fix-recursion-error-in-scan-command-printRecord.patch
>
>
> When working in the shell, it would be useful to direct scan output directly to a file for examination outside of the interactive shell.
> A simple solution is to add a -o/--output <file> option to scan commands in the shell. Other commands may benefit from such a feature, also.

--
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

[jira] [Updated] (ACCUMULO-808) Add option to pipe shell commands to a file

Posted by "Joe Skora (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/ACCUMULO-808?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Joe Skora updated ACCUMULO-808:
-------------------------------

               Labels: config file hackathon output save shell  (was: file hackathon output save shell)
    Affects Version/s: 1.5.0
               Status: Patch Available  (was: Open)

Patch to add output to file option to the 'scan' and 'config' commands in the CLI.
                
> Add option to pipe shell commands to a file
> -------------------------------------------
>
>                 Key: ACCUMULO-808
>                 URL: https://issues.apache.org/jira/browse/ACCUMULO-808
>             Project: Accumulo
>          Issue Type: Improvement
>          Components: shell
>    Affects Versions: 1.5.0
>            Reporter: Christopher Tubbs
>            Assignee: Billie Rinaldi
>              Labels: file, hackathon, output, save, shell, config
>             Fix For: 1.5.0
>
>         Attachments: 0001-Add-output-option-o-to-the-scan-and-config-CLI-comma.patch
>
>
> When working in the shell, it would be useful to direct scan output directly to a file for examination outside of the interactive shell.
> A simple solution is to add a -o/--output <file> option to scan commands in the shell. Other commands may benefit from such a feature, also.

--
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

[jira] [Commented] (ACCUMULO-808) Add option to pipe shell commands to a file

Posted by "Christopher Tubbs (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/ACCUMULO-808?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13476978#comment-13476978 ] 

Christopher Tubbs commented on ACCUMULO-808:
--------------------------------------------

Good idea.
                
> Add option to pipe shell commands to a file
> -------------------------------------------
>
>                 Key: ACCUMULO-808
>                 URL: https://issues.apache.org/jira/browse/ACCUMULO-808
>             Project: Accumulo
>          Issue Type: Improvement
>          Components: shell
>    Affects Versions: 1.5.0
>            Reporter: Christopher Tubbs
>            Assignee: Joe Skora
>              Labels: config, file, hackathon, output, save, shell
>             Fix For: 1.5.0
>
>         Attachments: 0001-Add-output-option-o-to-the-scan-and-config-CLI-comma.patch
>
>
> When working in the shell, it would be useful to direct scan output directly to a file for examination outside of the interactive shell.
> A simple solution is to add a -o/--output <file> option to scan commands in the shell. Other commands may benefit from such a feature, also.

--
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

[jira] [Commented] (ACCUMULO-808) Add option to pipe shell commands to a file

Posted by "Hudson (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/ACCUMULO-808?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13481374#comment-13481374 ] 

Hudson commented on ACCUMULO-808:
---------------------------------

Integrated in Accumulo-Trunk #532 (See [https://builds.apache.org/job/Accumulo-Trunk/532/])
    ACCUMULO-808 apply 2nd patch for putting output to a file (Revision 1400869)

     Result = SUCCESS
ecn : 
Files : 
* /accumulo/trunk/core/src/main/java/org/apache/accumulo/core/util/shell/commands/ScanCommand.java

                
> Add option to pipe shell commands to a file
> -------------------------------------------
>
>                 Key: ACCUMULO-808
>                 URL: https://issues.apache.org/jira/browse/ACCUMULO-808
>             Project: Accumulo
>          Issue Type: Improvement
>          Components: shell
>    Affects Versions: 1.5.0
>            Reporter: Christopher Tubbs
>            Assignee: Joe Skora
>              Labels: config, file, hackathon, output, save, shell
>             Fix For: 1.5.0
>
>         Attachments: 0001-Add-output-option-o-to-the-scan-and-config-CLI-comma.patch, 0001-fix-recursion-error-in-scan-command-printRecord.patch
>
>
> When working in the shell, it would be useful to direct scan output directly to a file for examination outside of the interactive shell.
> A simple solution is to add a -o/--output <file> option to scan commands in the shell. Other commands may benefit from such a feature, also.

--
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

[jira] [Resolved] (ACCUMULO-808) Add option to pipe shell commands to a file

Posted by "Eric Newton (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/ACCUMULO-808?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Eric Newton resolved ACCUMULO-808.
----------------------------------

    Resolution: Fixed
    
> Add option to pipe shell commands to a file
> -------------------------------------------
>
>                 Key: ACCUMULO-808
>                 URL: https://issues.apache.org/jira/browse/ACCUMULO-808
>             Project: Accumulo
>          Issue Type: Improvement
>          Components: shell
>    Affects Versions: 1.5.0
>            Reporter: Christopher Tubbs
>            Assignee: Joe Skora
>              Labels: config, file, hackathon, output, save, shell
>             Fix For: 1.5.0
>
>         Attachments: 0001-Add-output-option-o-to-the-scan-and-config-CLI-comma.patch, 0001-fix-recursion-error-in-scan-command-printRecord.patch
>
>
> When working in the shell, it would be useful to direct scan output directly to a file for examination outside of the interactive shell.
> A simple solution is to add a -o/--output <file> option to scan commands in the shell. Other commands may benefit from such a feature, also.

--
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

[jira] [Reopened] (ACCUMULO-808) Add option to pipe shell commands to a file

Posted by "Joe Skora (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/ACCUMULO-808?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Joe Skora reopened ACCUMULO-808:
--------------------------------


There is a bug in the ScanCommand.printRecords().  Scan works in testing but commands that extend ScanCommand, such as GrepCommand and EGrepCommand, end up with recursive calls.
                
> Add option to pipe shell commands to a file
> -------------------------------------------
>
>                 Key: ACCUMULO-808
>                 URL: https://issues.apache.org/jira/browse/ACCUMULO-808
>             Project: Accumulo
>          Issue Type: Improvement
>          Components: shell
>    Affects Versions: 1.5.0
>            Reporter: Christopher Tubbs
>            Assignee: Joe Skora
>              Labels: config, file, hackathon, output, save, shell
>             Fix For: 1.5.0
>
>         Attachments: 0001-Add-output-option-o-to-the-scan-and-config-CLI-comma.patch, 0001-fix-recursion-error-in-scan-command-printRecord.patch
>
>
> When working in the shell, it would be useful to direct scan output directly to a file for examination outside of the interactive shell.
> A simple solution is to add a -o/--output <file> option to scan commands in the shell. Other commands may benefit from such a feature, also.

--
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

[jira] [Updated] (ACCUMULO-808) Add option to pipe shell commands to a file

Posted by "Drew Farris (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/ACCUMULO-808?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Drew Farris updated ACCUMULO-808:
---------------------------------

    Labels: file hackathon output save shell  (was: file output save shell)
    
> Add option to pipe shell commands to a file
> -------------------------------------------
>
>                 Key: ACCUMULO-808
>                 URL: https://issues.apache.org/jira/browse/ACCUMULO-808
>             Project: Accumulo
>          Issue Type: Improvement
>          Components: shell
>            Reporter: Christopher Tubbs
>            Assignee: Billie Rinaldi
>              Labels: file, hackathon, output, save, shell
>             Fix For: 1.5.0
>
>
> When working in the shell, it would be useful to direct scan output directly to a file for examination outside of the interactive shell.
> A simple solution is to add a -o/--output <file> option to scan commands in the shell. Other commands may benefit from such a feature, also.

--
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

[jira] [Updated] (ACCUMULO-808) Add option to pipe shell commands to a file

Posted by "Christopher Tubbs (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/ACCUMULO-808?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Christopher Tubbs updated ACCUMULO-808:
---------------------------------------

    Resolution: Fixed
      Assignee: Christopher Tubbs  (was: Billie Rinaldi)
        Status: Resolved  (was: Patch Available)

Patch [^0001-Add-output-option-o-to-the-scan-and-config-CLI-comma.patch] applied to trunk in r1398586 after auto-formatting source.
                
> Add option to pipe shell commands to a file
> -------------------------------------------
>
>                 Key: ACCUMULO-808
>                 URL: https://issues.apache.org/jira/browse/ACCUMULO-808
>             Project: Accumulo
>          Issue Type: Improvement
>          Components: shell
>    Affects Versions: 1.5.0
>            Reporter: Christopher Tubbs
>            Assignee: Christopher Tubbs
>              Labels: config, file, hackathon, output, save, shell
>             Fix For: 1.5.0
>
>         Attachments: 0001-Add-output-option-o-to-the-scan-and-config-CLI-comma.patch
>
>
> When working in the shell, it would be useful to direct scan output directly to a file for examination outside of the interactive shell.
> A simple solution is to add a -o/--output <file> option to scan commands in the shell. Other commands may benefit from such a feature, also.

--
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

[jira] [Updated] (ACCUMULO-808) Add option to pipe shell commands to a file

Posted by "Billie Rinaldi (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/ACCUMULO-808?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Billie Rinaldi updated ACCUMULO-808:
------------------------------------

    Assignee: Joe Skora  (was: Christopher Tubbs)

Joe, thanks for the patch.  You've been added to our contributors group in JIRA.  Chris, thanks for applying the patch.  We generally try to assign tickets to the people who submit the patches, so they (and we) can more easily see what they've contributed.  Unfortunately there is no JIRA field that indicates who has submitted a patch.
                
> Add option to pipe shell commands to a file
> -------------------------------------------
>
>                 Key: ACCUMULO-808
>                 URL: https://issues.apache.org/jira/browse/ACCUMULO-808
>             Project: Accumulo
>          Issue Type: Improvement
>          Components: shell
>    Affects Versions: 1.5.0
>            Reporter: Christopher Tubbs
>            Assignee: Joe Skora
>              Labels: config, file, hackathon, output, save, shell
>             Fix For: 1.5.0
>
>         Attachments: 0001-Add-output-option-o-to-the-scan-and-config-CLI-comma.patch
>
>
> When working in the shell, it would be useful to direct scan output directly to a file for examination outside of the interactive shell.
> A simple solution is to add a -o/--output <file> option to scan commands in the shell. Other commands may benefit from such a feature, also.

--
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

[jira] [Commented] (ACCUMULO-808) Add option to pipe shell commands to a file

Posted by "Eric Newton (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/ACCUMULO-808?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13481351#comment-13481351 ] 

Eric Newton commented on ACCUMULO-808:
--------------------------------------

2nd patch applied with r1400869
                
> Add option to pipe shell commands to a file
> -------------------------------------------
>
>                 Key: ACCUMULO-808
>                 URL: https://issues.apache.org/jira/browse/ACCUMULO-808
>             Project: Accumulo
>          Issue Type: Improvement
>          Components: shell
>    Affects Versions: 1.5.0
>            Reporter: Christopher Tubbs
>            Assignee: Joe Skora
>              Labels: config, file, hackathon, output, save, shell
>             Fix For: 1.5.0
>
>         Attachments: 0001-Add-output-option-o-to-the-scan-and-config-CLI-comma.patch, 0001-fix-recursion-error-in-scan-command-printRecord.patch
>
>
> When working in the shell, it would be useful to direct scan output directly to a file for examination outside of the interactive shell.
> A simple solution is to add a -o/--output <file> option to scan commands in the shell. Other commands may benefit from such a feature, also.

--
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