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

Allow DNS CNAME ALIAS Resolution from apache hive beeline JDBC URL to allow for failover

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Resolved
    • Major
    • Resolution: Duplicate
    • 1.2.1
    • None
    • Beeline
    • None
    • Hive JDBC driver is modified to support use of canonical name in environments where CNAME alias is used infront of DR cluster switch. The _HOST part of principal should take care of principal name changes as long as VIP points to Load balancer A Record.

    Description

      Currently, in case of BDR clusters, DNS CNAME alias based connections fail. As _HOST resolves to exact endpoint specified in connection string and that may not be intended SPN for kerberos based on reverse DNS lookup. Consequently this JIRA proposes that client specific setting be used to resolv _HOST from CNAME DNS alias to A record entry on the fly in beeline.

      Attachments

        1. HIVE-13817.3.patch
          3 kB
          Vijay Singh
        2. HIVE-13817.2.patch
          2 kB
          Vijay Singh
        3. HIVE-13817.1.patch
          2 kB
          Vijay Singh

        Issue Links

          Activity

            People

              Unassigned Unassigned
              SINGHVJD Vijay Singh
              Votes:
              1 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - 24h
                  24h
                  Remaining:
                  Remaining Estimate - 24h
                  24h
                  Logged:
                  Time Spent - Not Specified
                  Not Specified