You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@accumulo.apache.org by "Michael Ridley (JIRA)" <ji...@apache.org> on 2014/04/28 01:52:15 UTC

[jira] [Commented] (ACCUMULO-1581) Limit length of values printed in listscans by default

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

Michael Ridley commented on ACCUMULO-1581:
------------------------------------------

Going to take a look at this but should it be limited by default?  The JIRA references the behavior of the scan command which limits the output based on the showFewOpt and the default is not limited.  For CLI consistency I would think we would want listscans to match the behavior of scan.

> Limit length of values printed in listscans by default
> ------------------------------------------------------
>
>                 Key: ACCUMULO-1581
>                 URL: https://issues.apache.org/jira/browse/ACCUMULO-1581
>             Project: Accumulo
>          Issue Type: Improvement
>          Components: shell
>            Reporter: Josh Elser
>              Labels: newbie
>             Fix For: 1.7.0
>
>
> Listscans currently print out the entire options map provided to a ScanSession. If these large option values are printed, it makes the output rather difficult to read/parse.
> We should add an upper limit to the length of the key-values printed out from said option map, including a "<TRUNCATED>" to match what is done for large Keys when scanning a table. We could also add an option to override the truncation for when people really want to see the complete option map.



--
This message was sent by Atlassian JIRA
(v6.2#6252)