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

        Hide
        jv added a comment -

        For 1.5 I think we want to create a master map of Options to use so we can be aware of everything used.

        Show
        jv added a comment - For 1.5 I think we want to create a master map of Options to use so we can be aware of everything used.

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development