Return-Path: X-Original-To: apmail-accumulo-notifications-archive@minotaur.apache.org Delivered-To: apmail-accumulo-notifications-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 6A0001728A for ; Mon, 21 Sep 2015 18:21:04 +0000 (UTC) Received: (qmail 27242 invoked by uid 500); 21 Sep 2015 18:21:04 -0000 Delivered-To: apmail-accumulo-notifications-archive@accumulo.apache.org Received: (qmail 27197 invoked by uid 500); 21 Sep 2015 18:21:04 -0000 Mailing-List: contact notifications-help@accumulo.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: jira@apache.org Delivered-To: mailing list notifications@accumulo.apache.org Received: (qmail 27181 invoked by uid 99); 21 Sep 2015 18:21:04 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 21 Sep 2015 18:21:04 +0000 Date: Mon, 21 Sep 2015 18:21:04 +0000 (UTC) From: "Eric Newton (JIRA)" To: notifications@accumulo.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (ACCUMULO-4007) Shell "grep" command takes "-pn" option, but it doesn't work MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/ACCUMULO-4007?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Eric Newton updated ACCUMULO-4007: ---------------------------------- Affects Version/s: 1.5.3 1.5.4 1.6.0 1.6.1 1.6.2 1.6.3 1.7.0 > 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 > Affects Versions: 1.5.3, 1.5.4, 1.6.0, 1.6.1, 1.6.2, 1.6.3, 1.7.0 > 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)