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

Accumulo "execute command" oddity

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Cannot Reproduce
    • 1.5.0
    • None
    • shell
    • None

    Description

      Roshan Punnoose writes:

      Running Accumulo 1.5, I noticed that the "--execute-command" option does not work for any command with spaces.

      This command works fine:
      accumulo shell -u root -e "tables"

      But this command fails:
      accumulo shell -u root -e "tables -l"

      With: [shell.Shell] ERROR: org.apache.commons.cli.MissingArgumentException: Missing argument for option: l

      Looks like JCommander cannot parse the string? Should I use something other than double quotes?

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: