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

        Transition Time In Source Status Execution Times Last Executer Last Execution Date
        Open Open Patch Available Patch Available
        3d 7h 26m 1 Edward J. Yoon 22/Feb/08 06:03
        Patch Available Patch Available Resolved Resolved
        1d 19h 59m 1 Bryan Duxbury 24/Feb/08 02:02
        Resolved Resolved Closed Closed
        180d 19h 32m 1 Jim Kellerman 22/Aug/08 22:35
        stack made changes -
        Component/s util [ 12312144 ]
        Component/s hql [ 12312134 ]
        Jim Kellerman made changes -
        Status Resolved [ 5 ] Closed [ 6 ]
        Bryan Duxbury made changes -
        Resolution Fixed [ 1 ]
        Status Patch Available [ 10002 ] Resolved [ 5 ]
        Hide
        Bryan Duxbury added a comment -

        I just committed this.

        Show
        Bryan Duxbury added a comment - I just committed this.
        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 -

        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?
        Edward J. Yoon made changes -
        Status Open [ 1 ] Patch Available [ 10002 ]
        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 -
        Field Original Value New Value
        Attachment patch.txt [ 12376184 ]
        Bryan Duxbury created issue -

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development