- Subscribe to RSS Feed
- Mark Question as New
- Mark Question as Read
- Float this Question for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page
Unable to move localfile into hdfs
- Labels:
-
HDFS
Created on 01-28-2016 02:13 PM - edited 09-16-2022 03:00 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Created 01-28-2016 02:45 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
@Artem Ervits Even after wrapping, I get the same error
Created 01-28-2016 02:50 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
- « Previous
-
- 1
- 2
- Next »