Support Questions

Find answers, ask questions, and share your expertise

upload file on HDP 2.6

I want to upload file to sandbox HDP2.6.

On HDP 2.4 i used to upload file using FTP and ip of sandbox. But on HDP 2.6 i am not able to connect via FTP.

I tried to change network to "Bridge". Some how VM is not responding to "ifconfig", unable to get IP of sandbox.

3 REPLIES 3

@pratik vagyani

With HDP 2.5+, the sandbox uses Docker, so you will need to specify port "2222". try the below sample command.

Windows host (will require scp client like cygwin):

scp -P 2222 C:/Users/rnkumashi/Downloads/sample.txt root@localhost:/root

Linux/MacOS host:

scp -P 2222 /Users/rnkumashi/Downloads/sample.txt root@localhost:/root

Alternatively, you can use the Ambari Files View to upload the file through the UI

https://docs.hortonworks.com/HDPDocuments/Ambari-2.5.1.0/bk_ambari-views/content/ch_using_files_view...

As always, if you find this post helpful, don't forget to "accept" the answer.

Expert Contributor

@pratik vagyani

Best and easy way is through Ambari File view upload option.

@pratik vagyani

Were you able to resolve this issue? If so, please "accept" an answer or share your findings with the community.

Take a Tour of the Community
Don't have an account?
Your experience may be limited. Sign in to explore more.