You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@accumulo.apache.org by "Josh Elser (JIRA)" <ji...@apache.org> on 2015/09/21 17:58:04 UTC

[jira] [Commented] (ACCUMULO-4007) Shell "grep" command takes "-pn" option, but it doesn't work

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

Josh Elser commented on ACCUMULO-4007:
--------------------------------------

Had to look it up myself: {{-pn}} is for the "iterator profile name" which is a transient in-memory iterator setting.

This was added recently wasn't it? Can you please add affectsVersion and fixVersion, [~ecn]?

> Shell "grep" command takes "-pn" option, but it doesn't work
> ------------------------------------------------------------
>
>                 Key: ACCUMULO-4007
>                 URL: https://issues.apache.org/jira/browse/ACCUMULO-4007
>             Project: Accumulo
>          Issue Type: Bug
>          Components: shell
>            Reporter: Eric Newton
>              Labels: newbie
>
> I created an iterator to count key values, and it works for scan, but not when using the grep or egrep command.
> {noformat}
> shell> setshelliter -class MyCountingIterator -p 100 -pn count
> shell> scan -pn count
> row1 cf:cq [] 12345
> shell> grep row1 -pn count
> row1 cf:aa [] value
> row1 cf:ab [] value
> row1 cf:cq [] value
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)