Support Questions

Find answers, ask questions, and share your expertise
Announcements
Celebrating as our community reaches 100,000 members! Thank you!

Copy file from my Windows to Sandbox

avatar

Hi,

I am completely new to Hadoop and Sandbox. I am using my Sandbox in my Oracle Virtual Toolkit. Help regarding the following points will be highly useful for me.

1. How to copy a file from my Windows 10laptop to the Sandbox. Tried the following, but getting error

scp -P 2222 F:/BigData/SampleData/movies.txt root@127.0.0.1:/root/kbk

Error: Could not resolve host name F: Name or service not known

I went through some posts and also tried the following

scp 1xx.1xx.xx.x:F:/BigData/SampleData/movies.txt root@127.0.0.1:/root/kbk

For the above I am getting timeout error

kbk - is a test directory I created once I logged into Sandbox.

2. Is it possible to "Drag and Drop" from Windows to Sandbox. There is an option which I have enabled in the virtual box, but that does not seem to work.

3. Tried the above scp by using WinSCP also. But that also didnt work.

IP : 127.0.0.1

Username : root

Password :

hadoop Port : 2222

4. Is it possible to copy or paste from the Sandbox using mouse. In normal putty terminals "select" will copy the content and the same can be pasted. We can also use SHFT+iNSERT keys to copy the selected data. Is there any such shortcut here.

Request help on the above.

Thank you.

1 ACCEPTED SOLUTION

avatar
hide-solution

This problem has been solved!

Want to get a detailed solution you have to login/registered on the community

Register/Login
6 REPLIES 6

avatar
hide-solution

This problem has been solved!

Want to get a detailed solution you have to login/registered on the community

Register/Login

avatar
New Contributor

Thanks a lot, your guidance solve my issue

avatar

Hi slachterman,

My sincere thanks for the help. I did the following steps and am able to transfer the files from local system to Sandbox.

Edit the hosts entry :

C:\Windows\System32\Drivers\etc : hosts file and added the IP 172.16.0.6 sandbox.hortonworks.com sandbox.

Then specified the following details in WinScp

File protocol :SCP

IP : 172.16.0.6 Port : 22 , User : root. Password : Sandbox password.

avatar

@slachterman

Thanks for the support and clarification !!!

avatar
Explorer

NOT WORKING... 😞


capturedasds.pngcaptureszddzd.png

avatar
New Contributor

@Rakshith Gowda

Please try with different setting:

C:\Windows\System32\Drivers\etc\hosts file and add this line

127.0.0.1 sandbox.hortonworks.com

Then specify the following details in WinSCP

File protocol :SCP

IP : 127.0.0.1 Port : 2222

User : root

Password : Sandbox password.