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.

How can I add a new port?

Highlighted

How can I add a new port?

New Contributor

Hello,

I have HDP sandbox v- 2.6.5 using Virtualbox and I'm not using Docker.

I'm trying to install Apache Kylin v 2.4.0 and I need to add the port 7070 to the hortonworks sandbox. The instructions says that I have to edit the file in the root folder: 'sandbox-start.sh'. But when I look into this folder there isn´t that file.

If anyone knows how add the port or where is that file I will appreciate it.

3 REPLIES 3

Re: How can I add a new port?

Super Mentor

@Teresa Tavernelli

HDP Sandbox will internally create a docker instance.
So please try this Login to the Virtualbox VM on port 22

# ssh root@127.0.0.1
Enter Password: hadoop

NOTE: If you use the standard "ssh -p 2222 root@localhost", you will actually login to the sandbox container, not the sandbox VM

Now search for a file like following and then add the ports to it as mentioned in the below article :

# ls -l /root/start_scripts/start_sandbox.sh
https://community.hortonworks.com/articles/65914/how-to-add-ports-to-the-hdp-25-virtualbox-sandbox.h...

Re: How can I add a new port?

New Contributor

@Jay Kumar SenSharma

When I go to root there isn't the start_scripts folder.


captura-de-pantalla-de-2018-08-17-15-05-37.png

Re: How can I add a new port?

Expert Contributor

@Jay Kumar SenSharma

I have same issue and not able to solve it. I have raised the question. Please help me.