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.

Kerberos installation on HDP 2.5 sandbox - Issues

Solved Go to solution
Highlighted

Kerberos installation on HDP 2.5 sandbox - Issues

Expert Contributor

Hi, i'm trying to enable Kerberos on HDP 2.5 sandbox, and running into issues.

https://docs.hortonworks.com/HDPDocuments/Ambari-2.2.1.1/bk_Ambari_Security_Guide/content/_optional_...

When i run the command -

> yum install krb5-server krb5-libs krb5-workstation

I get the following error ->

[root@sandbox ambari]# yum -y install krb5-server krb5-libs krb5-workstation Loaded plugins: fastestmirror, ovl, priorities Setting up Install Process Loading mirror speeds from cached hostfile Error: Cannot retrieve metalink for repository: epel. Please verify its path and try again

Any ideas on this ?

Appreciate your help on this.

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted

Re: Kerberos installation on HDP 2.5 sandbox - Issues

Expert Contributor

Hi @Mushtaq Rizvi,

Thanks for the response .. i was able to fix this .. the issue was that the SandBox does not have access to servers used to download the installable, so i put entries into /etc/hosts to enable entry.

Any idea how to give the SandBox access to all external urls ?

View solution in original post

7 REPLIES 7
Highlighted

Re: Kerberos installation on HDP 2.5 sandbox - Issues

Super Collaborator

Hi @Karan Alang,

can you please restart your VM from VirtualBox?

Highlighted

Re: Kerberos installation on HDP 2.5 sandbox - Issues

Expert Contributor

Hi @Mushtaq Rizvi,

Thanks for the response .. i was able to fix this .. the issue was that the SandBox does not have access to servers used to download the installable, so i put entries into /etc/hosts to enable entry.

Any idea how to give the SandBox access to all external urls ?

View solution in original post

Highlighted

Re: Kerberos installation on HDP 2.5 sandbox - Issues

Super Collaborator

@Karan Alang , Sandbox has open internet, you can access all external urls using wget, curl or ping.

Highlighted

Re: Kerberos installation on HDP 2.5 sandbox - Issues

Expert Contributor
Highlighted

Re: Kerberos installation on HDP 2.5 sandbox - Issues

Explorer

Hi @Karan Alang - this could be an issue with the DNS server setup. You might want to check your /etc/resolv.conf file and point it to an external DNS server, such as 8.8.8.8, and try again.

Highlighted

Re: Kerberos installation on HDP 2.5 sandbox - Issues

Expert Contributor

@eddie johnson,

i changed the entry in

/etc/resolv.conf file to ->

192.168.1.1, and it is able to access the external websites now !

Thanks for your help on this.

Highlighted

Re: Kerberos installation on HDP 2.5 sandbox - Issues

Expert Contributor

@eddie johnson,

This is what i see in the /etc/resolv.conf

[root@sandbox ~]# cat /etc/resolv.conf

nameserver 8.8.8.8

[root@sandbox ~]# ping yahoo.com ping: unknown host yahoo.com

[root@sandbox ~]# ping www.yahoo.com ping: unknown host www.yahoo.com

[root@sandbox ~]# ping http://www.yahoo.com

ping: unknown host http://www.yahoo.com

So, seems like i'm not able to access the external websites from HDP Sandbox,

what so i need to change here ?

Don't have an account?
Coming from Hortonworks? Activate your account here