Accumulo
  1. Accumulo
  2. ACCUMULO-107

shell's GrepCommand sets options under same flag

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 1.3.5
    • Fix Version/s: 1.4.0
    • Component/s: client
    • Labels:
      None

      Description

      The shell sets two options for GrepCommand (and child class EgrepCommand) - numThreads and table. numThreads uses the flag "t" while table uses an enum which is "t". Not only that, but GrepCommand extends ScanCommand (and also calls the super.getOptions) which also sets the table Option. The strange part is that num-threads takes precedence even though it's sandwiched within calls. This may call for a check of all Shell Commands to make sure this isn't done elsewhere. We may want to create of a master index of Shell options to make sure we don't have this collision space again.

        Activity

        Christopher Tubbs made changes -
        Reporter jv [ jvines ] John Vines [ vines ]
        Gavin made changes -
        Workflow no-reopen-closed, patch-avail [ 12640390 ] patch-available, re-open possible [ 12671499 ]
        Eric Newton made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Keith Turner made changes -
        Fix Version/s 1.4.0 [ 12318441 ]
        Fix Version/s 1.5.0 [ 12318645 ]
        Affects Version/s 1.5.0 [ 12318645 ]
        jv made changes -
        Field Original Value New Value
        Fix Version/s 1.4.0 [ 12318441 ]
        Affects Version/s 1.4.0 [ 12318441 ]
        jv created issue -

          People

          • Assignee:
            Billie Rinaldi
            Reporter:
            John Vines
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development