Hive
  1. Hive
  2. HIVE-3636

Catch the NPe when using ^D to exit from CLI

    Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 0.9.0
    • Fix Version/s: 0.10.0
    • Component/s: CLI
    • Labels:
      None

      Description

      The exit patch is just a quick hack to catch the NPE in order to allow ^D to exit hive without a stacktrace.

      1. HIVE-3636.patch
        0.5 kB
        Alexander Alten-Lorenz

        Activity

        Transition Time In Source Status Execution Times Last Executer Last Execution Date
        Open Open Patch Available Patch Available
        16s 1 Alexander Alten-Lorenz 29/Oct/12 07:19
        Patch Available Patch Available Resolved Resolved
        22h 20m 1 Alexander Alten-Lorenz 30/Oct/12 05:39
        Resolved Resolved Closed Closed
        72d 14h 13m 1 Ashutosh Chauhan 10/Jan/13 19:52
        Ashutosh Chauhan made changes -
        Status Resolved [ 5 ] Closed [ 6 ]
        Hide
        Ashutosh Chauhan added a comment -

        This issue is fixed and released as part of 0.10.0 release. If you find an issue which seems to be related to this one, please create a new jira and link this one with new jira.

        Show
        Ashutosh Chauhan added a comment - This issue is fixed and released as part of 0.10.0 release. If you find an issue which seems to be related to this one, please create a new jira and link this one with new jira.
        Hide
        Alexander Alten-Lorenz added a comment -

        Thanks, set to Fixed

        Show
        Alexander Alten-Lorenz added a comment - Thanks, set to Fixed
        Alexander Alten-Lorenz made changes -
        Description The exit patch is just a quick hack to catch the NPE in order to allow ^D to exit hive without a stacktrace. Originally created by Frank Fejes. The exit patch is just a quick hack to catch the NPE in order to allow ^D to exit hive without a stacktrace.
        Alexander Alten-Lorenz made changes -
        Status Patch Available [ 10002 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Hide
        Shreepadma Venugopalan added a comment -

        Yup, this is not a problem on the latest trunk.

        Show
        Shreepadma Venugopalan added a comment - Yup, this is not a problem on the latest trunk.
        Hide
        Harsh J added a comment -

        This is no longer a problem on Hive trunk/recent releases. Was resolved (in a different manner) quite a while ago after a CLI refactor I think.

        Show
        Harsh J added a comment - This is no longer a problem on Hive trunk/recent releases. Was resolved (in a different manner) quite a while ago after a CLI refactor I think.
        Show
        Alexander Alten-Lorenz added a comment - https://reviews.apache.org/r/7760/
        Alexander Alten-Lorenz made changes -
        Attachment HIVE-3636.patch [ 12551166 ]
        Alexander Alten-Lorenz made changes -
        Field Original Value New Value
        Status Open [ 1 ] Patch Available [ 10002 ]
        Affects Version/s 0.9.0 [ 12317742 ]
        Fix Version/s 0.10.0 [ 12320745 ]
        Alexander Alten-Lorenz created issue -

          People

          • Assignee:
            Alexander Alten-Lorenz
            Reporter:
            Alexander Alten-Lorenz
          • Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development