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

    • Sub-task
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 0.13.0
    • 0.13.0
    • HiveServer2
    • 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.3.patch
          16 kB
          Vaibhav Gumashta
        2. HIVE-5232.2.patch
          16 kB
          Vaibhav Gumashta
        3. HIVE-5232.1.patch
          5 kB
          Vaibhav Gumashta

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: