Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
CalvinKirs committed Sep 27, 2024
1 parent 3bf400b commit 40763a5
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,6 @@ suite("test_single_hive_kerberos", "p0,external,kerberos,external_docker,externa
if (enabled != null && enabled.equalsIgnoreCase("true")) {
String hms_catalog_name = "test_single_hive_kerberos"
sql """drop catalog if exists hms_kerberos;"""
println 'check hadoop-master:88 dns'
def hadoopMaster88Dnsresult = "nslookup hadoop-master:88".execute().text
println hadoopMaster88Dnsresult
sql """
CREATE CATALOG IF NOT EXISTS hms_kerberos
PROPERTIES (
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,6 @@ suite("test_two_hive_kerberos", "p0,external,kerberos,external_docker,external_d
if (enabled != null && enabled.equalsIgnoreCase("true")) {
String hms_catalog_name = "test_two_hive_kerberos"
sql """drop catalog if exists ${hms_catalog_name};"""
println 'check hadoop-master:88 dns'
def hadoopMaster88DnsCheckresult = "nslookup hadoop-master:88".execute().text
println hadoopMaster88DnsCheckresult
sql """
CREATE CATALOG IF NOT EXISTS ${hms_catalog_name}
PROPERTIES (
Expand All @@ -38,7 +35,11 @@ suite("test_two_hive_kerberos", "p0,external,kerberos,external_docker,external_d
"hadoop.kerberos.principal"="hive/[email protected]",
"hadoop.kerberos.keytab" = "/keytabs/hive-presto-master.keytab",
"hive.metastore.sasl.enabled " = "true",
"hive.metastore.kerberos.principal" = "hive/[email protected]"
"hive.metastore.kerberos.principal" = "hive/[email protected]",
"hadoop.security.auth_to_local" = "RULE:[2:\$1@\$0](.*@LABS.TERADATA.COM)s/@.*//
RULE:[2:\$1@\$0](.*@OTHERLABS.TERADATA.COM)s/@.*//
RULE:[2:\$1@\$0](.*@OTHERREALM.COM)s/@.*//
DEFAULT",
);
"""

Expand Down

0 comments on commit 40763a5

Please sign in to comment.