accumulo-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Josh Elser (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (ACCUMULO-1581) Limit length of values printed in listscans by default
Date Mon, 28 Apr 2014 14:50:17 GMT

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

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

Oh, I see. It's fine -- I want to make sure you're clear on what I was suggesting not that
you implement something, attach it here, and have it be the "wrong" work.

Personally, I don't see much worth from making an option to limit the length of those options.
If the truncation length is reasonable, scans with a few options won't be affected at all.
Scans with long options will be truncated by default, and thus we just need to provide an
option to show all of those options if the user actually wants them.

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

Mime
View raw message