HBase
  1. HBase
  2. HBASE-458

Shell does not throw an error when you feed it garbage statements.

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Trivial Trivial
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: util
    • Labels:
      None

      Description

      hql > asdfasdf;
      hql > exit;
      

      Should at least print message saying statement invalid.

      1. patch.txt
        0.8 kB
        Edward J. Yoon

        Activity

        Hide
        Edward J. Yoon added a comment -

        bryan, check this and commit.

        Show
        Edward J. Yoon added a comment - bryan, check this and commit.
        Hide
        Bryan Duxbury added a comment -

        The patch works, and passes unit tests. +1

        Any objections to a commit?

        Show
        Bryan Duxbury added a comment - The patch works, and passes unit tests. +1 Any objections to a commit?
        Hide
        Jim Kellerman added a comment -

        Looks ok. Nice to get rid of the 'magic numbers'

        Show
        Jim Kellerman added a comment - Looks ok. Nice to get rid of the 'magic numbers'
        Hide
        Bryan Duxbury added a comment -

        I just committed this.

        Show
        Bryan Duxbury added a comment - I just committed this.

          People

          • Assignee:
            Unassigned
            Reporter:
            Bryan Duxbury
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development