Uploaded image for project: 'Hive'
  1. Hive
  2. HIVE-4617 Asynchronous execution in HiveServer2 to run a query in non-blocking mode
  3. HIVE-5232

Make JDBC use the new HiveServer2 async execution API by default

    XMLWordPrintableJSON

    Details

    • Type: Sub-task
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 0.13.0
    • Fix Version/s: 0.13.0
    • Component/s: HiveServer2
    • Labels:
      None

      Description

      HIVE-4617 provides support for async execution in HS2. There are some proposed improvements in followup JIRAs:
      HIVE-5217
      HIVE-5229
      HIVE-5230
      HIVE-5441

      There is also HIVE-5060 which assumes that execute to be asynchronous by default.

      Once they are in, we can think of using the async API as the default for JDBC. This can enable the server to report back error sooner to the client. It can also be useful in cases where a statement.cancel is done in a different thread - the original thread will now be able to detect the cancel, as opposed to the use of the blocking execute calls, in which statement.cancel will be a no-op.

        Attachments

        1. HIVE-5232.1.patch
          5 kB
          Vaibhav Gumashta
        2. HIVE-5232.2.patch
          16 kB
          Vaibhav Gumashta
        3. HIVE-5232.3.patch
          16 kB
          Vaibhav Gumashta

          Issue Links

            Activity

              People

              • Assignee:
                vgumashta Vaibhav Gumashta
                Reporter:
                vgumashta Vaibhav Gumashta
              • Votes:
                0 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: