Uploaded image for project: 'Hive'
  1. Hive
  2. HIVE-19180

beeline: user interrupt should halt execution

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Beeline
    • Labels:
      None

      Description

      I'm running a queryfile with --force enabled.

      By interrupting the program (CTRL+C) I can only abort the execution of the actual query; but the queryFile execution is continued regardless that I wanted to abort.

      for example, for the following query file; I'm able to interrupt all inserts; but even the select is executed...and I think the exit code should be non-zero as well.

      drop table if exists ll1;
      create table ll1( a integer);
      insert into ll1 values (1);
      insert into ll1 values (2);
      insert into ll1 values (3);
      select * from ll1;
      

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              kgyrtkirk Zoltan Haindrich
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated: