You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@accumulo.apache.org by GitBox <gi...@apache.org> on 2019/04/28 12:37:19 UTC
[GitHub] [accumulo] DonResnik opened a new pull request #1135: Issue 1129
fix grep pn option
DonResnik opened a new pull request #1135: Issue 1129 fix grep pn option
URL: https://github.com/apache/accumulo/pull/1135
Here are the commands I ran to test this:
root@uno> createtable test
root@uno> insert row1 colf colq value
root@uno> insert row1 colf1 colq value
root@uno> insert row2 colf colq value
root@uno> insert row2 colf1 colq value
root@uno test> scan
row1 colf:colq1 [] value
row1 colf1:colq1 [] value
row2 colf:colq1 [] value
row2 colf1:colq1 [] value
root@uno test> setshelliter -class org.apache.accumulo.core.iterators.ColumnFamilyCounter -p 100 -pn testIter
[skipped the name and name-value setting options]
root@uno test> scan -pn testIter
row1 colf: [] 1
row1 colf1: [] 1
row2 colf: [] 1
row2 colf1: [] 1
root@uno test> grep row1 -pn testIter
profileName: testIter
row1 colf: [] 1
row1 colf1: [] 1
root@uno test> egrep .*row1.* -pn testIter
profileName: testIter
row1 colf: [] 1
row1 colf1: []
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services