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.

HDF 3.0.2 and Port Forwarding

HDF 3.0.2 and Port Forwarding

New Contributor

Hello,

I have installed HDF3.0.2 in VmWare. Do I need to do port forwarding in HDF to produce messages in Kafka running in HDF3.0.2 from outside of the virtual machine?

The tutorial here talks about HDP and not HDF : https://hortonworks.com/tutorial/sandbox-port-forwarding-guide/section/2/

Thanks for your help.

3 REPLIES 3

Re: HDF 3.0.2 and Port Forwarding

Super Mentor

@Hiren Dossani

The instructions to add additional ports will remain almost same for the HDF & HDP Sandbox. Please see the instructions here to know how to add additional ports https://community.hortonworks.com/articles/65914/how-to-add-ports-to-the-hdp-25-virtualbox-sandbox.h...

.

The only difference will be in the way how we login to the HDF Vmware & Docker machine will be slightly different in terms of Port that are being used.

.

Please try this: https://community.hortonworks.com/questions/175297/produce-message-in-kafka-running-in-hdf-302-using...

For Doing SSH to HDF you will need to use a slightly different port. To login to the VM you will need to use 12122 port

# ssh root@127.0.0.1 -p 12122
Enter Password: hadoop

.

In order to login to the Docker Container where the HDF components are actually running you will need to use:

# ssh root@127.0.0.1 -p 12222
Enter Password: hadoop

.

.

Re: HDF 3.0.2 and Port Forwarding

New Contributor

Tried starting VMWare workstation in Network Connection as Bridged, NAT and Host-Only.

The above commands gives either connection timeout or refused error for all the options.

Are there any straight forward, simple steps to produce messages in kakfa in HDF 3.0.2 from outside VmWare ?

Thanks for your time and help.

Re: HDF 3.0.2 and Port Forwarding

New Contributor

If the instructions are same for both HDP and HDF, where to find start_sandbox.sh in HDF ? I don't find it under /root or anywhere using below command :

find / -name "start_sandbox.sh"

Thanks for your help.