|
|
@@ -103,6 +103,9 @@ class HbaseApi(object):
|
|
|
kerberos_principal_short_name = None
|
|
|
use_sasl = get_server_authentication() == 'KERBEROS'
|
|
|
|
|
|
+ if use_sasl and kerberos_principal_short_name is None:
|
|
|
+ raise PopupException(_("The kerberos principal name is missing from the hbase-site.xml configuration file."))
|
|
|
+
|
|
|
return {
|
|
|
'kerberos_principal_short_name': kerberos_principal_short_name,
|
|
|
'use_sasl': use_sasl,
|