Details

    • Type: Sub-task
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.1.0
    • Fix Version/s: 2.1.0
    • Component/s: HiveServer2
    • Labels:
      None

      Description

      HIVE-12790 fixes the HMS connection leaking. But seems there is one more connection from CLIService.

      The init() function in CLIService will get info from DB but we never close the HMS connection for this service main thread.

          // creates connection to HMS and thus *must* occur after kerberos login above
          try {
            applyAuthorizationConfigPolicy(hiveConf);
          } catch (Exception e) {
            throw new RuntimeException("Error applying authorization policy on hive configuration: "
                + e.getMessage(), e);
      

        Attachments

        1. HIVE-13129.patch
          0.7 kB
          Aihua Xu
        2. HIVE-13129.2.patch
          0.5 kB
          Aihua Xu

          Activity

            People

            • Assignee:
              aihuaxu Aihua Xu
              Reporter:
              aihuaxu Aihua Xu
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: