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

If TezSession application reopen fails for Timeline service down, default TezSession from SessionPool is closed after a retry

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 4.0.0-alpha-1
    • None
    • None

    Description

      we are closing a default session from TezSessionPool at here.

      https://github.com/apache/hive/blob/master/ql/src/java/org/apache/hadoop/hive/ql/exec/tez/TezTask.java#L589

      If all the sessions in a pool are destroyed, queries wait indefinitely at TezSessionPool.getSession until HS2 restarts after other service recoveries.

      [HiveServer2-Background-Pool: Thread-12345]: tez.TezSessionPoolManager ()) - We are closing a default session because of retry failure.

      It's better if we allow retry & fail than hung.

      Attachments

        1. HIVE-23409.patch
          1 kB
          Naresh P R
        2. HIVE-23409.1.patch
          5 kB
          Naresh P R

        Activity

          People

            nareshpr Naresh P R
            nareshpr Naresh P R
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: