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

HiveStatement thread safety issues

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Duplicate
    • None
    • None
    • None
    • None

    Description

      BeeLine, and Commands classes shares one HiveStatement between multiple threads for querying the logs, and running the queries.

      We can not make the HiveStatement thread safe, but we should at least make sure that calling getQueryLog will not cause problems if it is called parallel with any of the followings: cancel, close, execute, executeAsync, executeQuery, executeUpdate, getUpdateCount and more interestingly for the HiveQueryResultSet.next too.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              pvary Peter Vary
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: