Created on 01-28-2016 02:13 PM - edited 09-16-2022 03:00 AM
I am trying to move a file from local(windows) to hortonworks sandbox, but I see an urisyntaxexception
I tried both put and copyFromLocal
Created 01-28-2016 02:35 PM
You can use file system view to upload file from your laptop
The above approach won't work because you are in sandbox and trying to read laptop local drive
Created 01-29-2016 02:53 AM
Created 01-28-2016 02:45 PM
You need to share the host directory to guest. Only then you can browse host filesystem. Refer to virtualbox docs for guest sharing. @Sai ram
Created 01-28-2016 02:47 PM
@Artem Ervits Even after wrapping, I get the same error
Created 01-28-2016 02:50 PM
Fastest way is to scp the file to sandbox and then copyfromlocal but guest sharing will let you drop files to sandbox with drag and drop. To scp you'd use
scp -P 2222 file root@127.0.0.1:
Then you can find your file in /root @Sai ram