Support Questions

Find answers, ask questions, and share your expertise

Unable to move localfile into hdfs

avatar
Contributor

I am trying to move a file from local(windows) to hortonworks sandbox, but I see an urisyntaxexception

I tried both put and copyFromLocal

1621-image.png

1 ACCEPTED SOLUTION

avatar
Master Mentor

@Sai ram

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

View solution in original post

13 REPLIES 13

avatar

@Sai ram try it without the double '\'. For example, C:\Users\praveenkumarg\Desktop\Image.png

avatar
Contributor

avatar
Master Mentor

@Sai ram

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

avatar
Contributor

@Neeraj Sabharwal Is there any way like sharing files between two servers ?

avatar
Master Mentor

@Sai ram

Look into hadoop NFS gateway

avatar
Master Mentor

avatar
Master Mentor

@Sai ram

Stick with file system view in ambari to upload the data from your local desktop

Easiest option 🙂

avatar
Master Mentor

@Sai ram Did it work? Did you try File System view?

avatar
Contributor

@Neeraj Sabharwal I am looking into NFS gateway to use in the Sandbox, working on it