Details
Description
I noticed in apps/beeswax/src/beeswax/db_utils.py, the following lines when it fetches a thrift connection client to the Beeswax java server:
client = thrift_util.get_client(BeeswaxService.Client, conf.BEESWAX_SERVER_HOST.get(), conf.BEESWAX_SERVER_PORT.get(), service_name="Beeswax (Hive UI) Server", kerberos_principal="hue", use_sasl=use_sasl, timeout_seconds=conf.BEESWAX_SERVER_CONN_TIMEOUT.get()) return UnicodeBeeswaxClient(client)
Note the kwarg: kerberos_principal="hue". It is a hard-coded constant which would fail on environments not using the "hue" username as the principal. Ideally, that short name should come from the configuration (extracted from existing princ. configs, ideally).
Attachments
Issue Links
- duplicates
-
HUE-770 [beeswax] Improve secured cluster configuration experience
-
- Resolved
-