Member since
05-18-2016
1
Post
0
Kudos Received
0
Solutions
05-31-2016
08:08 AM
Using the Cloudera Manager, I am trying to configure Hive. The Hive Server 2 is running on ip-172-31-36-45.ec2.internal. The beeline.properties contains: ConnectionURL=jdbc:hive2://ip-172-31-36-45.ec2.internal:1000/default;principal=hive/ip-172-31-36-45.ec2.internal@DEV.TSS ConnectionDriverName=org.apache.hive.jdbc.HiveDriver ConnectionUserName=. ConnectionPassword=. Beeline gets "Error: Could not open client transport with JDBC Uri: jdbc:hive2://ip-172-31-36-45.ec2.internal:1000/default;principal=hive/ip-172-31-36-45.ec2.internal@DEV.TSS: java.net.ConnectException: Connection refused (state=08S01,code=0)." The krb5.conf contains the following: [libdefaults] default_realm = DEV.TSS dns_lookup_kdc = false dns_lookup_realm = false ticket_lifetime = 86400 renew_lifetime = 604800 forwardable = true default_tgs_enctypes = rc4-hmac default_tkt_enctypes = rc4-hmac permitted_enctypes = rc4-hmac udp_preference_limit = 1 kdc_timeout = 3000 [realms] DEV.TSS = { kdc = win-tl14iapii4l.dev.tss admin_server = win-tl14iapii4l.dev.tss } [domain_realm] .ec2.internal=DEV.TSS ec2.internal=DEV.TSS Active Directory is being used as the KDC for the Keberos Domain DEV.TSS.
... View more
Labels:
- Labels:
-
Apache Hive
-
Cloudera Manager
-
Kerberos