Uploaded image for project: 'Accumulo'
  1. Accumulo
  2. ACCUMULO-4007

Shell "grep" command takes "-pn" option, but it doesn't work

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Duplicate
    • 1.5.3, 1.5.4, 1.6.0, 1.6.1, 1.6.2, 1.6.3, 1.7.0
    • None
    • shell

    Description

      I created an iterator to count key values, and it works for scan, but not when using the grep or egrep command.

      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
      

      Attachments

        Activity

          People

            Unassigned Unassigned
            ecn Eric C. Newton
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: