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

Avoid creating extra pool of threads within LLAP

    XMLWordPrintableJSON

Details

    • Task
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 3.0.0
    • Druid integration
    • None
    • Kerberos Cluster

    Description

      The current Druid-Kerberos-Http client is using an external single threaded pool to handle retry auth calls (eg when a cookie expire or other transient auth issues). 

      First, this is not buying us anything since all the Druid Task is executed as one synchronous task.

      Second, this can cause a major issue if an exception occurs that leads to shutting down the LLAP main thread with an exception like:

       org.apache.hadoop.hive.llap.daemon.impl.LlapDaemon: Thread Thread[KerberosHttpClient... threw an Exception. Shutting down now...

       Thus to fix this we should avoid using an external thread pool and handle retrying in a synchronous way.

      Attachments

        1. HIVE-18959.patch
          7 kB
          Slim Bouguerra

        Issue Links

          Activity

            People

              bslim Slim Bouguerra
              bslim Slim Bouguerra
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: