Skip to main content
Hadoop16
Gold ⭐️
July 16, 2024
Question

Configure knoxsso hdfs ui redirection to different domain

I have configure knox in host knox111.abc.hadoop.dc.corp.com and namenodes in nn01.abc.hadoop.dc.corp.com, nn02.abc.hadoop.dc.corp.com.

The knoxsso redirection works fine when directly configuring NN with individual Knox host but when using VIP that is configured as knox-hadoop-def.corp.com the redirection to NN doesn't work.

I have configured below whitelist setting but still redirection fails. VIP is configured with CA certs and individual knox hosts are configured with self-signed.

gateway.dispatch.whitelist = .*

knoxsso.redirect.whitelist.regex = .* 

knoxsso.redirect.whitelist.regex = corp.com

Any help is appreciated!

1 reply

Scharan
Gold ⭐️
Gold ⭐️
August 2, 2024

@Hadoop16 Can you share the stack trace of the error from knox gateway logs

Translate