Quantcast
Channel: Hortonworks » All Replies
Viewing all articles
Browse latest Browse all 3435

Copy File from Local Windows System to Sandbox

$
0
0

Hi,

I want to copy the file which is there in my local windows driver (say D:\Hadoop\test.txt). I’m using Hortonworks sandbox 2.1 VWware as my 1 cluster hadoop environment. I want to shift “test.txt” file from my local drive to hdfs within my sandbox. Can anybody tells me how to do this?

I tried the following command:

<hadoop fs -copyFromLocal D:\Hadoop\test.txt /user/dir1>

But getting the following error:

<-copyFromLocal: Can not create a path from a null string>

I’ve checked using “-ls” the folder is there in my hdfs system.

Thanks!


Viewing all articles
Browse latest Browse all 3435

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>