|
@@ -66,16 +66,6 @@ def webhcat():
|
|
|
group=params.user_group,
|
|
|
cd_access="a")
|
|
|
|
|
|
- if params.security_enabled:
|
|
|
- kinit_if_needed = format("{kinit_path_local} -kt {hdfs_user_keytab} {hdfs_principal_name};")
|
|
|
- else:
|
|
|
- kinit_if_needed = ""
|
|
|
-
|
|
|
- if kinit_if_needed:
|
|
|
- Execute(kinit_if_needed,
|
|
|
- user=params.webhcat_user,
|
|
|
- path='/bin'
|
|
|
- )
|
|
|
|
|
|
# Replace _HOST with hostname in relevant principal-related properties
|
|
|
webhcat_site = params.config['configurations']['webhcat-site'].copy()
|