You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@accumulo.apache.org by "Keith Turner (JIRA)" <ji...@apache.org> on 2012/10/15 22:29:04 UTC

[jira] [Created] (ACCUMULO-814) show few option in shell does not work with grep and does not use user formatter

Keith Turner created ACCUMULO-814:
-------------------------------------

             Summary: show few option in shell does not work with grep and does not use user formatter
                 Key: ACCUMULO-814
                 URL: https://issues.apache.org/jira/browse/ACCUMULO-814
             Project: Accumulo
          Issue Type: Bug
    Affects Versions: 1.4.1
            Reporter: Keith Turner
             Fix For: 1.5.0


There is a scan option called show few.  Commands that extend the scan commmand have this option, but it does not work.  

Also when the show few option is used, the users formatter is not used.  If formatters had a set limit option, then user formatters could be used with this option.

--
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-814) show few option in shell does not work with grep and does not use user formatter

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

Billie Rinaldi commented on ACCUMULO-814:
-----------------------------------------

The idea appears to be that show few displays no more than N characters _each_ for row, colf, colq, and value.  Does that sound right?  It only uses the BinaryFormatter because to implement the truncation the desired length is passed to the formatter via the method getlength.  Would it make sense to have this be a required method for all formatters, or should we try to implement something different, e.g. truncating a line after the whole line has been constructed by a formatter?  Or should we get rid of the show few option?
                
> show few option in shell does not work with grep and does not use user formatter
> --------------------------------------------------------------------------------
>
>                 Key: ACCUMULO-814
>                 URL: https://issues.apache.org/jira/browse/ACCUMULO-814
>             Project: Accumulo
>          Issue Type: Bug
>    Affects Versions: 1.4.1
>            Reporter: Keith Turner
>             Fix For: 1.5.0
>
>
> There is a scan option called show few.  Commands that extend the scan commmand have this option, but it does not work.  
> Also when the show few option is used, the users formatter is not used.  If formatters had a set limit option, then user formatters could be used with this option.

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