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

Accumulo Shell does not respect 'exit' when executing file

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.4.2
    • 1.5.0
    • shell
    • None

    Description

      If there is an exit statement in the file given via accumulo shell -f file, the execution seems to skip it and go on to the next command instead of terminating.

      To recreate:

      [mike@home ~] cat bug.accumulo
      exit
      scan -np -t !METADATA
      [mike@home ~] bin/accumulo shell -f /home/mike/bug.accumulo
      

      Expected output: None
      Actual output: A full scan of the !METADATA

      Attachments

        1. ACCUMULO-1348.v1.patch
          2 kB
          Mike Drob
        2. ACCUMULO-1348.v2.patch
          3 kB
          Mike Drob
        3. ACCUMULO-1348.v3.patch
          4 kB
          Mike Drob

        Activity

          People

            mdrob Mike Drob
            mdrob Mike Drob
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: