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

        Bryan Duxbury created issue -
        Edward J. Yoon made changes -
        Field Original Value New Value
        Attachment patch.txt [ 12376184 ]
        Hide
        Edward J. Yoon added a comment -

        bryan, check this and commit.

        Show
        Edward J. Yoon added a comment - bryan, check this and commit.
        Edward J. Yoon made changes -
        Status Open [ 1 ] Patch Available [ 10002 ]
        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.
        Bryan Duxbury made changes -
        Resolution Fixed [ 1 ]
        Status Patch Available [ 10002 ] Resolved [ 5 ]
        Jim Kellerman made changes -
        Status Resolved [ 5 ] Closed [ 6 ]
        stack made changes -
        Component/s util [ 12312144 ]
        Component/s hql [ 12312134 ]

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development