Created 06-05-2017 09:39 AM
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.
Created 06-05-2017 02:41 PM
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
As always, if you find this post helpful, don't forget to "accept" the answer.
Created 06-08-2017 01:31 AM
Best and easy way is through Ambari File view upload option.
Created 06-16-2017 03:04 PM
Were you able to resolve this issue? If so, please "accept" an answer or share your findings with the community.