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

Josh Elser commented on ACCUMULO-1581:
--------------------------------------

The showFew option is not what I suggested here. The intent here is not to 
limit the number of scans shown in the shell by {{listscans}}, but the length 
of each result from {{listscans}}. As I said in the description, it is 
equivalent to what is done in {{Key.toString}}, not the showFew option.

Let me know if this isn't clear.

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

Reply via email to