Kerberos Driver Collection

  • Last update: July 03, 2025
  • Overview

    For Kerberos authentication, you need to change the database driver and the URL as described in this document.

    Driver

    Database DriverURL FormatDriver Package DownloadNote

    Transwarp Inceptor

    jdbc:hive2://IP address:Port number/Database name;principal=hive/Host name@Uppercase realm name;authentication=kerberos;kuser=Principal;keytab=Keytab file path

    Transwarp Inceptor

    Principal in the URL:

    The value of Principal is composed of three parts in the format of xxx/xxx@xxx.

    The value of Host name is not an IP address, but the machine name.

    The value of Principal needs to meet the rules in the hive-site.xml file.

    Hive (single node)

    jdbc:hive2://IP address:Port number/Database name;principal=hive/Host name@Uppercase realm name

    Universal Hive version: hive

    Hive 2.version: hive2.x

    Hive 3.version: hive3.x

    Hive (with ZooKeeper, commonly used for clusters)

    jdbc:hive2://IP address of ZooKeeper node 1:Port number/ ,IP address of ZooKeeper node 2:Port number/ ,IP address of ZooKeeper node 3:Port number/ ;serviceDiscoveryMode=zooKeeper; zooKeeperNamespace=ZooKeeper namespace; principal=hive/Virtual host name@Uppercase realm name

    ZooKeeper

    Confirm that Zookeeper requires Kerberos authentication by checking the version of its core JAR packages.

    Ensure that the used ZooKeeper JAR package is a database built-in one.

    Check the relevant configuration of ZooKeeper.

    Apache Impala

    jdbc:impala://IP address:Port number/Database name;AuthMech=1;KrbHostFQDN=quickstart.cloudera;KrbServiceName=impala

    Impala

    Ensure that the principal concatenated by values of KrbHostFQDN and KrbServiceName can pass Kerberos authentication.

    附件列表


    主题: Data Source Configuration
    Previous
    Next
    • Helpful
    • Not helpful
    • Only read

    滑鼠選中內容,快速回饋問題

    滑鼠選中存在疑惑的內容,即可快速回饋問題,我們將會跟進處理。

    不再提示

    10s後關閉

    Get
    Help
    Online Support
    Professional technical support is provided to quickly help you solve problems.
    Online support is available from 9:00-12:00 and 13:30-17:30 on weekdays.
    Page Feedback
    You can provide suggestions and feedback for the current web page.
    Pre-Sales Consultation
    Business Consultation
    Business: international@fanruan.com
    Support: support@fanruan.com
    Page Feedback
    *Problem Type
    Cannot be empty
    Problem Description
    0/1000
    Cannot be empty

    Submitted successfully

    Network busy