Skip to main content
DataMo
Bronze III
Jan 26, 2022 9:29 AM UTC
Solved

Kudu Metrics - SPENGO Authentication (kerberized Kudu)

When trying to access the kudu metrics from a master or worker node, in the browser, Kerberos authentication is needed.

In the browser thats no problem, after navigating to

https://<kudu_master>:8050/metrics

 

Im asked for my credentials via pop-up, after entering them and then it shows me the metrics.

 

I'd like to connect the KUDU API via NIFI and use a InvokeHTTP processor to access the metrics. Of course i get the error that authentication is needed. entering username and pw in the GET request header did not help.

 

How do I make acquire the metrics via a GET request?

mszurap
mszurapAnswer
Platinum ⭐️
Jan 27, 2022 12:57 PM UTC

Hi @DataMo , 

I'm not an expert on this area, however the "Kerberos authentication" through a browser (SPNEGO) is a bit more complex than sending a username/password pair (HTTP Basic authentication). 

As I see

https://issues.apache.org/jira/browse/NIFI-6250 - "Add Kerberos authentication support to InvokeHTTP Processor" is still open.

1 reply

mszurap
Platinum ⭐️
mszurapAnswer
Platinum ⭐️
Jan 27, 2022 12:57 PM UTC

Hi @DataMo , 

I'm not an expert on this area, however the "Kerberos authentication" through a browser (SPNEGO) is a bit more complex than sending a username/password pair (HTTP Basic authentication). 

As I see

https://issues.apache.org/jira/browse/NIFI-6250 - "Add Kerberos authentication support to InvokeHTTP Processor" is still open.

Translate