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

Avoid creating extra pool of threads within LLAP

Log workAgile BoardRank to TopRank to BottomBulk Copy AttachmentsBulk Move AttachmentsVotersWatch issueWatchersCreate sub-taskConvert to sub-taskMoveLinkCloneLabelsUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    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

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

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

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment