Support Questions
Find answers, ask questions, and share your expertise
Announcements
Alert: Welcome to the Unified Cloudera Community. Former HCC members be sure to read and learn how to activate your account here.

Cloudbreak Test KDC Connection failed

Highlighted

Cloudbreak Test KDC Connection failed

New Contributor

Hi all,

when we deploy a HDP cluster in Cloudbreak with Kerberos Security enabled using Test KDC everything seems to work fine but when we click on "Test KDC Connection" under Kerberos > Configs it gives an error "Connection failed" but no further details. Is this an issue or can we ignore it?

Thanks!

Alex

4 REPLIES 4

Re: Cloudbreak Test KDC Connection failed

Super Mentor

@Alexander Schätzle

Usually that happens if due to some reason the connection to the KDC server can not be established.

So please check from your Ambari Server host if you are able to connect to the KDC hostname & Port or not?

This is to isolate the Firewall issue or port access issue from ambari server host to KDC.

#  nc -v  $KDC_HOSTNAME  $KDC_PORT
(OR)
# telnet   $KDC_HOSTNAME  $KDC_PORT

.


https://github.com/apache/ambari/blob/release-2.7.3/ambari-server/src/main/java/org/apache/ambari/se...

Re: Cloudbreak Test KDC Connection failed

New Contributor

Actually the KDC gets deployed by Cloudbreak and it is on the same host as the Ambari server, so there is no Firewall involved.

nc -v localhost 88

is successful.

KDC is also running and I can also see that principals are created successfully. Also when resizing the cluster with Cloudbreak this works fine. So eveything seems to be fine, just that we get an error when clicking on "Test KDC connection".

Re: Cloudbreak Test KDC Connection failed

Expert Contributor

Test connection can work only if CB can access that port on the instance. By default kerberos port is not opened to the world so it's normal that this fails.

Re: Cloudbreak Test KDC Connection failed

Community Manager

The above question and the replies below were originally posted in the Community Help track. On Mon May 20 03:50:51 UTC 2019, a member of the HCC moderation staff moved it to the Cloud & Operations track. The Community Help Track is intended for questions about using the HCC site itself.

Bill Brooks, Community Manager
Was your question answered? Make sure to mark the answer as the accepted solution.
If you find a reply useful, say thanks by clicking on the thumbs up button.
Don't have an account?
Coming from Hortonworks? Activate your account here